lhc/web/wiklou.git
4 years agoCreate new table to be used for querying IP ranges.
MusikAnimal [Wed, 9 Aug 2017 21:34:09 +0000 (17:34 -0400)]
Create new table to be used for querying IP ranges.

When revisions by logged out users are created, they will get copied
to this table. We can then JOIN it with revision when querying for
ranges at Special:Contributions.

DBA approval for this table can be found at T156318

Bug: T163562

Change-Id: I6593eb13701128faa782691a6b25ec01869c827d

4 years agoMerge "Fix minor issues found with phan"
jenkins-bot [Wed, 9 Aug 2017 21:06:57 +0000 (21:06 +0000)]
Merge "Fix minor issues found with phan"

4 years agoMerge "Live Preview: Cope with the edit summary being an OOjs UI widget"
jenkins-bot [Wed, 9 Aug 2017 20:55:58 +0000 (20:55 +0000)]
Merge "Live Preview: Cope with the edit summary being an OOjs UI widget"

4 years agoFix minor issues found with phan
WMDE-Fisch [Mon, 7 Aug 2017 14:55:20 +0000 (16:55 +0200)]
Fix minor issues found with phan

- fixed PHPDoc
- replaced deprecated function

Bug: T153252
Change-Id: I072a1c1201bd19eafe7c50bbbf32a71fa4a92a46

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 9 Aug 2017 19:56:18 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3739aeab3e581196211409b1e155944ec52dc04d

4 years agoLive Preview: Cope with the edit summary being an OOjs UI widget
James D. Forrester [Thu, 20 Jul 2017 15:18:26 +0000 (08:18 -0700)]
Live Preview: Cope with the edit summary being an OOjs UI widget

Bug: T171156
Change-Id: Idb9118421ffbd438dd7b018a8dbf8bb991036232

4 years agoComposer fix changes
Margaret Epps [Wed, 9 Aug 2017 18:50:47 +0000 (14:50 -0400)]
Composer fix changes

Bug: T172933
Change-Id: I6e4688dcf08c4a98ebc71b2940772dfc20a5c139

4 years agoMerge "FileRepo: create output buffer and set ob_implicit_flush for file streaming"
jenkins-bot [Wed, 9 Aug 2017 18:15:43 +0000 (18:15 +0000)]
Merge "FileRepo: create output buffer and set ob_implicit_flush for file streaming"

4 years agoMerge "Make sure that mw-ui checkboxes have pointer cursor"
jenkins-bot [Wed, 9 Aug 2017 17:19:14 +0000 (17:19 +0000)]
Merge "Make sure that mw-ui checkboxes have pointer cursor"

4 years agoMake sure that mw-ui checkboxes have pointer cursor
Derk-Jan Hartman [Wed, 9 Aug 2017 16:15:30 +0000 (12:15 -0400)]
Make sure that mw-ui checkboxes have pointer cursor

Bug: T145493
Change-Id: I7700ee57969fa34b569bc1349156460f7248a9e6

4 years agoMerge "MimeAnalyzer: Add testcases for mp3 detection"
jenkins-bot [Wed, 9 Aug 2017 16:36:22 +0000 (16:36 +0000)]
Merge "MimeAnalyzer: Add testcases for mp3 detection"

4 years agoMerge "mediawiki.skinning: Add magnify links to Parsoid output"
jenkins-bot [Wed, 9 Aug 2017 16:29:44 +0000 (16:29 +0000)]
Merge "mediawiki.skinning: Add magnify links to Parsoid output"

4 years agoMerge "mediawiki.skinning: Show border-bottom when figcaption is absent on Parsoid"
jenkins-bot [Wed, 9 Aug 2017 16:25:51 +0000 (16:25 +0000)]
Merge "mediawiki.skinning: Show border-bottom when figcaption is absent on Parsoid"

4 years agoMerge "Align contentSub to WikimediaUI color palette"
jenkins-bot [Wed, 9 Aug 2017 15:42:38 +0000 (15:42 +0000)]
Merge "Align contentSub to WikimediaUI color palette"

4 years agooojs-ui-local.css: Remove old browser fallback for rem
Roan Kattouw [Wed, 9 Aug 2017 15:15:45 +0000 (11:15 -0400)]
oojs-ui-local.css: Remove old browser fallback for rem

rem is supported by all Grade A browsers, and WindowManager
styling is only relevant in those browsers (since other browsers
don't execute JS).

Change-Id: Ic8995b3fc74a395918288cec013c8787c6974f58

4 years agoMerge "mediawiki.ui: Use WikimediaUI color for `@colorTextLight`"
jenkins-bot [Wed, 9 Aug 2017 10:29:05 +0000 (10:29 +0000)]
Merge "mediawiki.ui: Use WikimediaUI color for `@colorTextLight`"

4 years agoFileRepo: create output buffer and set ob_implicit_flush for file streaming
Zhuyifei1999 [Wed, 9 Aug 2017 09:51:41 +0000 (09:51 +0000)]
FileRepo: create output buffer and set ob_implicit_flush for file streaming

HHVM does not flush automatically until the output is done, unless
flush() is called. We create an output buffer so that PHP is aware
of the amount of data in the output buffer; we set ob_implicit_flush
so that, when output buffer is full and being flushed, it flushes
HHVM's buffer as well, emptying the OOM culprit.

Bug: T172851
Change-Id: I34dd1034590779ab51f197762177ad03291e3581

4 years agoMerge "jobqueue: Add job_type to PSR logging context"
jenkins-bot [Wed, 9 Aug 2017 00:07:03 +0000 (00:07 +0000)]
Merge "jobqueue: Add job_type to PSR logging context"

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 8 Aug 2017 19:54:22 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I967912e9c2d7fa6423e504531d655dc3057a86af

4 years agojobqueue: Add job_type to PSR logging context
Antoine Musso [Fri, 30 Sep 2016 21:34:33 +0000 (23:34 +0200)]
jobqueue: Add job_type to PSR logging context

The mediawiki.runJobs errors are collected in Logstash but the whole job
description and errors are a single field message. That is challenging
to split logs per job type, get the longest running jobs ...

That can be worked around on the log receiving side by parsing
MediaWiki messages eg https://gerrit.wikimedia.org/r/#/c/312504/

Bryan Davis suggested a better long term solution is to use the PSR3
logger with structured log messages.

Culprit: 'type' is a reverved word. Hence prefix all context variables
with 'job_'.

Bug: T146469
Change-Id: Ib6a771c7d3f83bd75b2994bfab9bbebfd1f5aa6c

4 years agoMerge "Show protection log on creation-protected pages"
jenkins-bot [Mon, 7 Aug 2017 22:12:44 +0000 (22:12 +0000)]
Merge "Show protection log on creation-protected pages"

4 years agoShow protection log on creation-protected pages
Étienne Beaulé [Sat, 22 Jul 2017 16:46:36 +0000 (13:46 -0300)]
Show protection log on creation-protected pages

This change would add the message 'titleprotectedwarning'
to pages that have been protected against creation, just
like how deleted pages have their log visible beforere-creation.
It is visible to everyone, whether or not they are allowed to
recreate the page.

Bug: T171338
Change-Id: I5acf1bee9cea056b20b77fd386bc9df65033cded

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 7 Aug 2017 19:53:51 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I67dc3e23a15b91c2eb6594570aacd6bb6755cbc6

4 years agoMerge "Fix some PHPDoc type hints in DatabaseMysqli"
jenkins-bot [Mon, 7 Aug 2017 18:53:26 +0000 (18:53 +0000)]
Merge "Fix some PHPDoc type hints in DatabaseMysqli"

4 years agoMerge "resourceloader: Add support for modules sending preload headers"
jenkins-bot [Mon, 7 Aug 2017 16:33:02 +0000 (16:33 +0000)]
Merge "resourceloader: Add support for modules sending preload headers"

4 years agomediawiki.ui: Use WikimediaUI color for `@colorTextLight`
Volker E [Mon, 7 Aug 2017 15:28:24 +0000 (17:28 +0200)]
mediawiki.ui: Use WikimediaUI color for `@colorTextLight`

Making use of slightly higher contrast `#54595d` WikimediaUI base
color for `@colorTextLight` instead of `#666` to address minor
accessibility concerns and consolidate colors further.
`@colorTextLight` is currently used mainly in Flow and in one instance –
`.mixin-mw-ui-anchor-styles-quiet()` in mediawiki.ui.
Both are only impacted positively from exemplatory visual diff testing.

Bug: T149768
Bug: T152025
Change-Id: I40a4b2600772c9ca874361f17480f6b46b140823

4 years agoMerge "Split ConfiguredReadOnlyMode into own file"
jenkins-bot [Mon, 7 Aug 2017 11:00:47 +0000 (11:00 +0000)]
Merge "Split ConfiguredReadOnlyMode into own file"

4 years agoMerge "Make Block.php protected members private"
jenkins-bot [Mon, 7 Aug 2017 10:59:54 +0000 (10:59 +0000)]
Merge "Make Block.php protected members private"

4 years agoMerge "Add @since tag to TrackingCategories class"
jenkins-bot [Mon, 7 Aug 2017 10:59:14 +0000 (10:59 +0000)]
Merge "Add @since tag to TrackingCategories class"

4 years agoMerge "Use HTML::hidden to create input fields"
jenkins-bot [Mon, 7 Aug 2017 10:07:07 +0000 (10:07 +0000)]
Merge "Use HTML::hidden to create input fields"

4 years agoMake Block.php protected members private
addshore [Fri, 4 Aug 2017 14:57:27 +0000 (15:57 +0100)]
Make Block.php protected members private

Change-Id: I236b4d4ab124155fcf9d92393139470312361e04

4 years agoSplit ConfiguredReadOnlyMode into own file
addshore [Fri, 4 Aug 2017 15:03:20 +0000 (16:03 +0100)]
Split ConfiguredReadOnlyMode into own file

Change-Id: I7c12a571bb5ce76c132a738b48b2b82d763a8860

4 years agoAdd @since tag to TrackingCategories class
addshore [Fri, 4 Aug 2017 15:05:26 +0000 (16:05 +0100)]
Add @since tag to TrackingCategories class

Change-Id: I30f5004db3d53a87fc7c442675140b7f33fded08

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 6 Aug 2017 19:57:21 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id226baddee0b5f5737c1555995da1aa8527558b2

4 years agoAlign contentSub to WikimediaUI color palette
Volker E [Sun, 6 Aug 2017 18:55:19 +0000 (20:55 +0200)]
Align contentSub to WikimediaUI color palette

While the other base grey values already have been changed already,
`#contentSub` &`#contentSub2` color remained so far.
Changing over to Base20 color of Wikimedia color palette, only
minimal difference.

Change-Id: Ib5e4e540f8878f08602119382f25bb7a8fb2c1e6

4 years agoMerge "Fix and make some types in PHPDoc and JSDoc tags more specific"
jenkins-bot [Sat, 5 Aug 2017 22:07:59 +0000 (22:07 +0000)]
Merge "Fix and make some types in PHPDoc and JSDoc tags more specific"

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 5 Aug 2017 19:57:31 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iaf71189ac54c3c2d01e67375f2430f22c643b8c9

4 years agoFix and make some types in PHPDoc and JSDoc tags more specific
Thiemo Mättig [Fri, 21 Jul 2017 10:22:12 +0000 (12:22 +0200)]
Fix and make some types in PHPDoc and JSDoc tags more specific

Change-Id: I7c109067579f570ecccaabc75b0b4db7eac4e6c2

4 years agoFix return hint type in DatabaseSqlite::makeUpdateOptionsArray
Reedy [Fri, 4 Aug 2017 17:59:46 +0000 (18:59 +0100)]
Fix return hint type in DatabaseSqlite::makeUpdateOptionsArray

Change-Id: Id45ddcef9212dfa8fd9545b70aff67cd29dda1d9

4 years agoFix type hints for parameter documentation
Reedy [Fri, 4 Aug 2017 16:44:54 +0000 (17:44 +0100)]
Fix type hints for parameter documentation

Fix double space

Change-Id: Ied34a05b2043a3354ff0629d8bb47a1176d8a74e

4 years agoUpdate .mailmap file
Bae Junehyeon [Sat, 5 Aug 2017 05:28:10 +0000 (14:28 +0900)]
Update .mailmap file

Fix cases and orders in my name
Also updates CREDITS by running maintenance/updateCredits.php

Change-Id: I230208132e3fc89286d7184b2cc5876d6c8fdc30

4 years agoReplace remaining uses of deprecated DB_SLAVE with DB_REPLICA
Bartosz Dziewoński [Fri, 4 Aug 2017 18:53:34 +0000 (20:53 +0200)]
Replace remaining uses of deprecated DB_SLAVE with DB_REPLICA

Change 950cf6016c10953213e5f985dfc18a32d8673197 took care of the most,
but a few remain, either outside of includes/ and maintenance/
directories (which that change was limited to), or in code introduced
afterwards.

Change-Id: I9c363d0219ea7e71cde520faba39406949a36d27

4 years agoMerge "Don't declare ApiQueryLinks::$titlesParam dynamically"
jenkins-bot [Sat, 5 Aug 2017 00:34:53 +0000 (00:34 +0000)]
Merge "Don't declare ApiQueryLinks::$titlesParam dynamically"

4 years agoMerge "SpecialWatchlist: Always apply a LIMIT"
jenkins-bot [Sat, 5 Aug 2017 00:11:44 +0000 (00:11 +0000)]
Merge "SpecialWatchlist: Always apply a LIMIT"

4 years agoMerge "Set a min and max on the rclimit preference"
jenkins-bot [Sat, 5 Aug 2017 00:11:36 +0000 (00:11 +0000)]
Merge "Set a min and max on the rclimit preference"

4 years agoMerge "SpecialDoubleRedirects: Use more descriptive aliases in the query"
jenkins-bot [Sat, 5 Aug 2017 00:05:31 +0000 (00:05 +0000)]
Merge "SpecialDoubleRedirects: Use more descriptive aliases in the query"

4 years agoSpecialWatchlist: Always apply a LIMIT
Roan Kattouw [Fri, 4 Aug 2017 23:42:46 +0000 (16:42 -0700)]
SpecialWatchlist: Always apply a LIMIT

In non-extended mode, the query that SpecialWatchlist ran
was unlimited, which is a very bad idea, since some users
have tens of thousands of pages on their watchlist.
There are broader performance issues with large watchlists,
but this doesn't help.

With this patch the wllimit preference is used to limit
the number of results both in expanded and in non-expanded mode.

Bug: T171027
Change-Id: Ifcefe6f77fa4adeca2e50714813004018819aee8

4 years agoSet a min and max on the rclimit preference
Roan Kattouw [Fri, 4 Aug 2017 23:44:49 +0000 (16:44 -0700)]
Set a min and max on the rclimit preference

The same values as wllimit.

Change-Id: I1fbc063455799f7d886d26c7030662f431feb627

4 years agoDefaultSettings: Update wgLocalVirtualHosts documentation
Timo Tijhof [Thu, 3 Aug 2017 02:11:27 +0000 (19:11 -0700)]
DefaultSettings: Update wgLocalVirtualHosts documentation

Change-Id: I4fb4724b78a1270df951e59c58c7482f0fb5ff34

4 years agoMerge "WANCacheReapUpdate: Handle special pages without exception"
jenkins-bot [Fri, 4 Aug 2017 22:55:08 +0000 (22:55 +0000)]
Merge "WANCacheReapUpdate: Handle special pages without exception"

4 years agoWANCacheReapUpdate: Handle special pages without exception
Matthew Flaschen [Fri, 4 Aug 2017 22:39:38 +0000 (18:39 -0400)]
WANCacheReapUpdate: Handle special pages without exception

Bug: T172560
Change-Id: I95a6da2c5303e5fc4e931734e39974825d4c3c53

4 years agoMerge "RCFilters: Bring back old vs new marker in live update"
jenkins-bot [Fri, 4 Aug 2017 22:00:17 +0000 (22:00 +0000)]
Merge "RCFilters: Bring back old vs new marker in live update"

4 years agoVarious Block.php @since tags
addshore [Fri, 4 Aug 2017 14:51:21 +0000 (15:51 +0100)]
Various Block.php @since tags

Followup to: I697e3eec2520792e98c193200c2b1c28c35bf382

Change-Id: I25a72f5f27023ec66939f1cd68fdd606658eac27

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 4 Aug 2017 20:45:42 +0000 (22:45 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I7db074c26fdb26d538c56e4eb21db39b281aa9b3

4 years agoMerge "Record user login timing"
jenkins-bot [Fri, 4 Aug 2017 20:03:24 +0000 (20:03 +0000)]
Merge "Record user login timing"

4 years agoDon't declare ApiQueryLinks::$titlesParam dynamically
Reedy [Fri, 4 Aug 2017 19:03:46 +0000 (20:03 +0100)]
Don't declare ApiQueryLinks::$titlesParam dynamically

Change-Id: Ie7b553b2d368766df2c3989d58e42f1b6d3d6779

4 years agoRCFilters: Bring back old vs new marker in live update
Stephane Bisson [Fri, 4 Aug 2017 19:09:57 +0000 (15:09 -0400)]
RCFilters: Bring back old vs new marker in live update

Bug: T163426
Change-Id: If019e07b100ca47927ee251513631ecb65156d3b

4 years agoMerge "Show redirect fragments on Special:ListRedirects"
jenkins-bot [Fri, 4 Aug 2017 16:37:00 +0000 (16:37 +0000)]
Merge "Show redirect fragments on Special:ListRedirects"

4 years agoMerge "Show redirect fragments on Special:BrokenRedirects"
jenkins-bot [Fri, 4 Aug 2017 16:36:39 +0000 (16:36 +0000)]
Merge "Show redirect fragments on Special:BrokenRedirects"

4 years agoMerge "RCFilters: Show "from" link when live update is not available"
jenkins-bot [Fri, 4 Aug 2017 16:25:06 +0000 (16:25 +0000)]
Merge "RCFilters: Show "from" link when live update is not available"

4 years agoMerge "Add @since tag for Title::getTalkPageIfDefined"
jenkins-bot [Fri, 4 Aug 2017 15:57:59 +0000 (15:57 +0000)]
Merge "Add @since tag for Title::getTalkPageIfDefined"

4 years agoMerge "ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode"
jenkins-bot [Fri, 4 Aug 2017 15:33:36 +0000 (15:33 +0000)]
Merge "ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode"

4 years agoAdd @since tag to $wgShortPagesNamespaceBlacklist
addshore [Fri, 4 Aug 2017 14:42:08 +0000 (15:42 +0100)]
Add @since tag to $wgShortPagesNamespaceBlacklist

Followup for: I10b4849a5d7f3f8af75ccc6cfba230d03725c898

Change-Id: Ib970bfa266424204251d1b747c79a31c03b39308

4 years agoAdd @since tag for Title::getTalkPageIfDefined
addshore [Fri, 4 Aug 2017 14:40:24 +0000 (15:40 +0100)]
Add @since tag for Title::getTalkPageIfDefined

Folow up to: I6d2613d8f7105048022f8093186dc57f1f8173ab

Change-Id: Ie9c478532b40f067f1cc6d6a6c2a3c328984473f

4 years agoResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode
Bartosz Dziewoński [Fri, 4 Aug 2017 13:18:52 +0000 (15:18 +0200)]
ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode

Since this subclasses ResourceLoaderFileModule, in debug mode
it was loaded  by embedding the .js files directly, which caused
the 'wgFragmentMode' config variable to not be set (since the
code to do it was not sent to the client). Disallow this.

Bug: T172512
Change-Id: I1af944e4f4946023519e3453295b04a6cbca9fa3

4 years agoRCFilters: Show "from" link when live update is not available
Stephane Bisson [Fri, 4 Aug 2017 11:41:15 +0000 (07:41 -0400)]
RCFilters: Show "from" link when live update is not available

Also introduce a place for feature flags.

Change-Id: Id118b85c727a865745283ee8fabda7050f317ce1

4 years agoMerge "Show anchor in redirect target on Special:DoubleRedirects"
jenkins-bot [Fri, 4 Aug 2017 03:04:09 +0000 (03:04 +0000)]
Merge "Show anchor in redirect target on Special:DoubleRedirects"

4 years agoSpecialDoubleRedirects: Use more descriptive aliases in the query
Timo Tijhof [Fri, 4 Aug 2017 02:58:29 +0000 (19:58 -0700)]
SpecialDoubleRedirects: Use more descriptive aliases in the query

Change-Id: I88e579be8452da30b474d36cf7a9fba3ffdbf78a

4 years agoMerge "OOjs UI: Bring forward upstream fix for WikimediaUI colour issue"
jenkins-bot [Fri, 4 Aug 2017 01:55:25 +0000 (01:55 +0000)]
Merge "OOjs UI: Bring forward upstream fix for WikimediaUI colour issue"

4 years agoMerge "Special:Contribs: Ensure 'start' and 'end' are never undefined"
jenkins-bot [Fri, 4 Aug 2017 00:50:52 +0000 (00:50 +0000)]
Merge "Special:Contribs: Ensure 'start' and 'end' are never undefined"

4 years agoMerge "RCFilters: Allow non-sticky filters to be excluded from saved queries"
jenkins-bot [Fri, 4 Aug 2017 00:50:47 +0000 (00:50 +0000)]
Merge "RCFilters: Allow non-sticky filters to be excluded from saved queries"

4 years agoMerge "Fix not parsed message on Special:Import"
jenkins-bot [Fri, 4 Aug 2017 00:40:34 +0000 (00:40 +0000)]
Merge "Fix not parsed message on Special:Import"

4 years agoRecord user login timing
Max Semenik [Thu, 27 Jul 2017 21:31:42 +0000 (14:31 -0700)]
Record user login timing

Not using existing Timing class because it makes sense only if
request start time is needed, otherwise it just introduces
unneeded complexity and dependency.

Bug: T171882
Change-Id: I984c9223a4481685a7bcb659a68002c8ec4d122a

4 years agoRCFilters: Allow non-sticky filters to be excluded from saved queries
Moriel Schottlender [Thu, 3 Aug 2017 19:42:43 +0000 (12:42 -0700)]
RCFilters: Allow non-sticky filters to be excluded from saved queries

Bug: T172427
Change-Id: Ifda2ea617a8232a4c30261b6fce90f0b1217bdb4

4 years agoSpecial:Contribs: Ensure 'start' and 'end' are never undefined
Matthew Flaschen [Thu, 3 Aug 2017 21:44:49 +0000 (17:44 -0400)]
Special:Contribs: Ensure 'start' and 'end' are never undefined

Bug: T172438
Change-Id: I7359fd489134cb2fff9715af9e675f8cbb706b7a

4 years agoMerge "Gruntfile.js: Remove obsolete eslint omissions"
jenkins-bot [Thu, 3 Aug 2017 20:16:18 +0000 (20:16 +0000)]
Merge "Gruntfile.js: Remove obsolete eslint omissions"

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 3 Aug 2017 20:08:30 +0000 (22:08 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6cf48725421e6667086e4e7ebdbaf4b7036d092e

4 years agoGruntfile.js: Remove obsolete eslint omissions
Arlo Breault [Thu, 3 Aug 2017 20:01:27 +0000 (16:01 -0400)]
Gruntfile.js: Remove obsolete eslint omissions

 * Should have been part of,
   I4488402686c8b9fefa0af5fed3c9a4b83cbff798
   I95400637d1b85d2c607cd91bcb39ce21733295c8

Change-Id: I0546ba007d0a328504e359ade6a1e660387a0645

4 years agoOOjs UI: Bring forward upstream fix for WikimediaUI colour issue
James D. Forrester [Thu, 3 Aug 2017 19:39:42 +0000 (12:39 -0700)]
OOjs UI: Bring forward upstream fix for WikimediaUI colour issue

4412e21bef698d76ad73b98c33a177cf4b9e7466
  WikimediaUI theme: Fix regression on disabled border

Bug: T172402
Change-Id: Ibf1335313505af2abb9ba69314c427cffc79e266

4 years agoMerge "RCFilters: Correct label for "View newest changes" button"
jenkins-bot [Thu, 3 Aug 2017 18:38:16 +0000 (18:38 +0000)]
Merge "RCFilters: Correct label for "View newest changes" button"

4 years agoRCFilters: Correct label for "View newest changes" button
Stephane Bisson [Thu, 3 Aug 2017 17:38:31 +0000 (13:38 -0400)]
RCFilters: Correct label for "View newest changes" button

Bug: T163426
Change-Id: I7cdc307e6276844305f3696356363fb77a4e2611

4 years agoMerge "RCFilters: Add vendor prefixes to loading animation"
jenkins-bot [Thu, 3 Aug 2017 17:35:47 +0000 (17:35 +0000)]
Merge "RCFilters: Add vendor prefixes to loading animation"

4 years agoMerge "RCFilters: Remove new changes visual cue for Live Update feature"
jenkins-bot [Thu, 3 Aug 2017 17:21:49 +0000 (17:21 +0000)]
Merge "RCFilters: Remove new changes visual cue for Live Update feature"

4 years agoShow anchor in redirect target on Special:DoubleRedirects
Huji Lee [Tue, 1 Aug 2017 00:20:08 +0000 (20:20 -0400)]
Show anchor in redirect target on Special:DoubleRedirects

Bug: T17147
Change-Id: I0d0eba51ca675b18f1fbed2eb0db7cc15ba1ecc7

4 years agostylelint: fix a warning
Stephane Bisson [Thu, 3 Aug 2017 13:53:45 +0000 (09:53 -0400)]
stylelint: fix a warning

One warning isn't much, but zero is SO much better.

Change-Id: I7c23e558beb77cae0c349edb38f7d62380da847e

4 years agoRCFilters: Remove new changes visual cue for Live Update feature
Stephane Bisson [Thu, 3 Aug 2017 13:25:59 +0000 (09:25 -0400)]
RCFilters: Remove new changes visual cue for Live Update feature

Bug: T167743
Change-Id: I3863a302926bd6eb682b0cfa8f142c20a2786b9e

4 years agoMerge "RCFilters: Prevent live update fetch if model is in conflict"
jenkins-bot [Thu, 3 Aug 2017 11:01:12 +0000 (11:01 +0000)]
Merge "RCFilters: Prevent live update fetch if model is in conflict"

4 years agoFix overzealous addQuotes for rc_source field in rebuildrecentchanges.php
Jesús Martínez Novo [Tue, 1 Aug 2017 17:55:11 +0000 (19:55 +0200)]
Fix overzealous addQuotes for rc_source field in rebuildrecentchanges.php

Those quotes aren't needed since those constants are being used as an array
value and the database methods already quotes them. It caused the field to
be double-quoted and being inserted with quotes on the database.

Bug: T172205
Change-Id: I050f8d477600ee44794b7525a119b3d4451e5a28

4 years agoresourceloader: Add support for modules sending preload headers
Timo Tijhof [Tue, 18 Jul 2017 02:36:01 +0000 (21:36 -0500)]
resourceloader: Add support for modules sending preload headers

ResourceLoaderModule objects gain a new method getPreloadLinks() which
returns an array with the meta data required to build a Link rel=preload
header according to the current draft for W3C Preload.
<https://w3c.github.io/preload/>

Another implementation of this is already in use in OutputPage for
preloading the logo image.

This array is formatted by the ResourceLoaderModule::getHeaders method,
which is implemented as "final" at this time, thus restricting use to
the Link rel=preload header.

Headers are exposed and process-cached, like all other content
(scripts, styles, etc.), through ResourceLoaderModule::getModuleContent,
and aggregated by ResoureLoader::makeModuleResponse.

I had hoped for the getPreloadLinks to be stateless (not vary on $context).
Whether something should be preloaded and what, should not vary on the
skin or language. However, while that conceptually holds true, the exact
url for any given resource may still vary. Even the main use case for this
feature (T164299, preloading base modules request) require $context to pass
down skin and lang to the load.php url.

Add full test coverage and example documentation.

Bug: T164299
Change-Id: I2bfe0796ceaa0c82579c501f5b10e931f2175681

4 years agoRCFilters: Prevent live update fetch if model is in conflict
Moriel Schottlender [Thu, 3 Aug 2017 02:30:48 +0000 (19:30 -0700)]
RCFilters: Prevent live update fetch if model is in conflict

Change-Id: I52df598036a33fe203d6411fa9cfb6a485a8504d

4 years agoMerge "RCFilters: Adjust server default variable names for limit/days"
jenkins-bot [Thu, 3 Aug 2017 00:07:36 +0000 (00:07 +0000)]
Merge "RCFilters: Adjust server default variable names for limit/days"

4 years agoMerge "RCFilters: Adjust styling of 'other review tools' button"
jenkins-bot [Thu, 3 Aug 2017 00:06:06 +0000 (00:06 +0000)]
Merge "RCFilters: Adjust styling of 'other review tools' button"

4 years agoRCFilters: Adjust styling of 'other review tools' button
Moriel Schottlender [Wed, 2 Aug 2017 23:24:16 +0000 (16:24 -0700)]
RCFilters: Adjust styling of 'other review tools' button

Bug: T172237
Bug: T166919
Change-Id: Id13414274d099c2f9bb151b0b793eff172209929

4 years agoRCFilters: Normalize 'limit' to minimum 0, like the backend does
Moriel Schottlender [Wed, 2 Aug 2017 23:11:11 +0000 (16:11 -0700)]
RCFilters: Normalize 'limit' to minimum 0, like the backend does

Bug: T172026
Change-Id: I7b5b0d7ef34b0702a55572591da2a11942e8c5d9

4 years agoMerge "RCFilters: Normalize user-generated default values"
jenkins-bot [Wed, 2 Aug 2017 21:19:51 +0000 (21:19 +0000)]
Merge "RCFilters: Normalize user-generated default values"

4 years agoRCFilters: Adjust server default variable names for limit/days
Moriel Schottlender [Wed, 2 Aug 2017 21:13:37 +0000 (14:13 -0700)]
RCFilters: Adjust server default variable names for limit/days

Change-Id: I4a204e1a61516cff505e6e0a71aa702034cea4dc

4 years agoRCFilters: Normalize user-generated default values
Moriel Schottlender [Wed, 2 Aug 2017 20:44:11 +0000 (13:44 -0700)]
RCFilters: Normalize user-generated default values

Bug: T172026
Change-Id: Id75116cf22a31f8b762801fc0a6aee554a9ca6b2

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 2 Aug 2017 21:01:42 +0000 (23:01 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib48461504793301094af9ad70faeb7e6255b7567

4 years agoMerge "Remove composer.json from .gitignore"
jenkins-bot [Wed, 2 Aug 2017 20:10:53 +0000 (20:10 +0000)]
Merge "Remove composer.json from .gitignore"

4 years agoRemove composer.json from .gitignore
Arlo Breault [Wed, 2 Aug 2017 19:49:20 +0000 (15:49 -0400)]
Remove composer.json from .gitignore

Change-Id: Ie9e5bab9f9c20c9512dbdda2019643fa35feac2c