4 years agoAdd 1.27.3 to RELEASE-NOTES
Reedy [Sun, 27 Aug 2017 23:11:09 +0000 (00:11 +0100)]
Add 1.27.3 to RELEASE-NOTES

Change-Id: I56fddd375352ad42a315bc078e33edde50bdae66

4 years agoMerge "importDump.php: Declare uploadCount property"
jenkins-bot [Sat, 26 Aug 2017 20:11:32 +0000 (20:11 +0000)]
Merge "importDump.php: Declare uploadCount property"

4 years agoimportDump.php: Declare uploadCount property
Mark A. Hershberger [Sat, 26 Aug 2017 15:28:01 +0000 (11:28 -0400)]
importDump.php: Declare uploadCount property

Bug: T174255
Change-Id: Ic5014821a8f10ab29b729104cd7d4e434085e2f2

4 years agoInstaller: Fix "Array to string conversion" notice
Mark A. Hershberger [Sat, 26 Aug 2017 16:53:44 +0000 (12:53 -0400)]
Installer: Fix "Array to string conversion" notice

PHP Notice: Array to string conversion in .../includes/installer/Installer.php on line 1392

Follows-up fd8d75c1fd26e.

Bug: T174258
Change-Id: I6f8497a74a83aec183684bcb441191c32c67ccde

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 26 Aug 2017 06:16:29 +0000 (08:16 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia6cbcd04a82a4dc499bed0f9e94502631d4820db

4 years agoMerge "Fix old regression in HTMLCacheUpdate de-duplication"
jenkins-bot [Fri, 25 Aug 2017 23:29:02 +0000 (23:29 +0000)]
Merge "Fix old regression in HTMLCacheUpdate de-duplication"

4 years agoMerge "Avoid preemptive DB replication waits for farm cross-wiki redirects"
jenkins-bot [Fri, 25 Aug 2017 23:13:52 +0000 (23:13 +0000)]
Merge "Avoid preemptive DB replication waits for farm cross-wiki redirects"

4 years agoFix old regression in HTMLCacheUpdate de-duplication
Aaron Schulz [Fri, 25 Aug 2017 22:47:01 +0000 (15:47 -0700)]
Fix old regression in HTMLCacheUpdate de-duplication

* The condition timestamp should be the root job timestamp,
  as the comments imply, though that was not the case. Only
  the SET timestamp should be the current timestamp. As it
  was, jobs effectively did not "see" each other since each
  one would be expecting newer than the ones that ran prior.
  The page_touched condition for the UPDATE query was mostly
  useless, since it was always the current timestamp.
* This problem was a regression from f598ca81e3f40166.

Change-Id: I1398366e87c959be1c98e4db959c41309b0ac1b8

4 years agoMerge "WLFilters: Fix seen/unseen filters"
jenkins-bot [Fri, 25 Aug 2017 19:56:52 +0000 (19:56 +0000)]
Merge "WLFilters: Fix seen/unseen filters"

4 years agoMerge "Improve some timeout docs"
jenkins-bot [Fri, 25 Aug 2017 19:56:48 +0000 (19:56 +0000)]
Merge "Improve some timeout docs"

4 years agoMerge "Ignore npm-debug.log"
jenkins-bot [Fri, 25 Aug 2017 19:44:34 +0000 (19:44 +0000)]
Merge "Ignore npm-debug.log"

4 years agoMerge "SpecialPageLanguage: Show current page language in the dropdown"
jenkins-bot [Fri, 25 Aug 2017 19:34:10 +0000 (19:34 +0000)]
Merge "SpecialPageLanguage: Show current page language in the dropdown"

4 years agoIgnore npm-debug.log
Arlo Breault [Fri, 25 Aug 2017 19:21:44 +0000 (15:21 -0400)]
Ignore npm-debug.log

Change-Id: Ia984f7baa2aa94e00b7be712d5dc4846d29ede85

4 years agoMerge "WLFilters: avoid querying the DB when filters are in conflict"
jenkins-bot [Fri, 25 Aug 2017 17:24:46 +0000 (17:24 +0000)]
Merge "WLFilters: avoid querying the DB when filters are in conflict"

4 years agoWLFilters: Fix seen/unseen filters
Stephane Bisson [Fri, 25 Aug 2017 12:59:26 +0000 (08:59 -0400)]
WLFilters: Fix seen/unseen filters

Handle the fact that wl_notificationtimestamp
can be null.

Always join with 'page' table to support highlight.

Bug: T171127
Change-Id: I150a41b131d64163e06bfa56bddbd762bb636655

4 years agoImprove some timeout docs
addshore [Fri, 25 Aug 2017 10:02:04 +0000 (13:02 +0300)]
Improve some timeout docs

Change-Id: I799ea1e647d4d67a3c7d0e8dfddff893aef32736

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 25 Aug 2017 06:44:10 +0000 (08:44 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I9e46d4a2a740433b768ef2d07139829de8bd587f

4 years agoMerge "widgets.TitleWidget: Use mediawiki.mixins `.box-sizing()`"
jenkins-bot [Fri, 25 Aug 2017 00:49:26 +0000 (00:49 +0000)]
Merge "widgets.TitleWidget: Use mediawiki.mixins `.box-sizing()`"

4 years agoMerge "widgets.StashedFileWidget: Simplify and reduce LESS code"
jenkins-bot [Fri, 25 Aug 2017 00:29:53 +0000 (00:29 +0000)]
Merge "widgets.StashedFileWidget: Simplify and reduce LESS code"

4 years agowidgets.TitleWidget: Use mediawiki.mixins `.box-sizing()`
Volker E [Fri, 25 Aug 2017 00:27:07 +0000 (17:27 -0700)]
widgets.TitleWidget: Use mediawiki.mixins `.box-sizing()`

Using general `box-sizing()` mixin from mediawiki.mixins instead of
decentral vendor prefixes.

Change-Id: I844dc28a627dc984540e9a013dae188187c4f151

4 years agowidgets.StashedFileWidget: Simplify and reduce LESS code
Volker E [Fri, 25 Aug 2017 00:13:22 +0000 (17:13 -0700)]
widgets.StashedFileWidget: Simplify and reduce LESS code

Simplifying and reducing LESS code where applicable.

Change-Id: Ic0f138d33064b4c8f2bb6253a20012a3b577372b

4 years agoAdd sslCAFile option to DatabaseMysqli
Aaron Schulz [Thu, 24 Aug 2017 23:54:19 +0000 (16:54 -0700)]
Add sslCAFile option to DatabaseMysqli

This makes all arguments to the mysqli::set_ssl() call be controllable.

Change-Id: I67ed742add633a77e97d08b812e420a73cd83a52

4 years agoMerge "Disable rebound CDN purges for backlinks in HTMLCacheUpdateJob"
jenkins-bot [Thu, 24 Aug 2017 22:37:16 +0000 (22:37 +0000)]
Merge "Disable rebound CDN purges for backlinks in HTMLCacheUpdateJob"

4 years agoMerge "RCFilters: Align remaining outdated greys to WikimediaUI palette ones"
jenkins-bot [Thu, 24 Aug 2017 22:32:32 +0000 (22:32 +0000)]
Merge "RCFilters: Align remaining outdated greys to WikimediaUI palette ones"

4 years agoMerge "RCFilters: Enable 'View newest'"
jenkins-bot [Thu, 24 Aug 2017 22:29:22 +0000 (22:29 +0000)]
Merge "RCFilters: Enable 'View newest'"

4 years agoDisable rebound CDN purges for backlinks in HTMLCacheUpdateJob
Aaron Schulz [Thu, 24 Aug 2017 22:10:19 +0000 (15:10 -0700)]
Disable rebound CDN purges for backlinks in HTMLCacheUpdateJob

These are there to handle regeneration race conditions due to
replication lag. If there happens to already be a huge amount
of purges, the cost of this can be too high. Also, if the queue
is backlogged, then it is already delayed, so extra delayed jobs
do not help and just add to the backlog in that scenario.

Bug: T173710
Change-Id: Ida0bf44233072e1356a9fe63866d522e4bb2d0ca

4 years agoRCFilters: Align remaining outdated greys to WikimediaUI palette ones
Volker E [Thu, 24 Aug 2017 19:42:56 +0000 (12:42 -0700)]
RCFilters: Align remaining outdated greys to WikimediaUI palette ones

Replacing abandoned grey colors with appropriate colors from WikimediaUI
color palette.

Additional changes:
* Also simplified selector specificity in one case as OOUI code has already

Bug: T172850
Change-Id: I01e84d9a4d03ba894cbb67114821036b0ffe1ddb

4 years agoRCFilters: Enable 'View newest'
Stephane Bisson [Thu, 24 Aug 2017 19:47:15 +0000 (15:47 -0400)]
RCFilters: Enable 'View newest'

Keep the feature flag for 'live update'
but enable 'view newest' by default on RC.

Bug: T163426
Change-Id: I733cf99bbeb6d90d3aa21e87507c513354b81791

4 years agoMerge "Prevent editing textarea from jumping when toolbar is loaded"
jenkins-bot [Thu, 24 Aug 2017 17:52:34 +0000 (17:52 +0000)]
Merge "Prevent editing textarea from jumping when toolbar is loaded"

4 years agoMerge "IP: Remove unused static member $proxyIpSet"
jenkins-bot [Thu, 24 Aug 2017 16:29:50 +0000 (16:29 +0000)]
Merge "IP: Remove unused static member $proxyIpSet"

4 years agoMerge "RCFilters: Truncate long saved query titles"
jenkins-bot [Thu, 24 Aug 2017 15:53:26 +0000 (15:53 +0000)]
Merge "RCFilters: Truncate long saved query titles"

4 years agoMerge "Skin: Remove more use of QuickTemplate::setRef()"
jenkins-bot [Thu, 24 Aug 2017 14:53:00 +0000 (14:53 +0000)]
Merge "Skin: Remove more use of QuickTemplate::setRef()"

4 years agoMerge "Make API multivalue limits configurable"
jenkins-bot [Thu, 24 Aug 2017 14:04:24 +0000 (14:04 +0000)]
Merge "Make API multivalue limits configurable"

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 24 Aug 2017 06:34:16 +0000 (08:34 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4336d8b1d77bbdc7b169ec5fa0fdfe2518392b41

4 years agoMake API multivalue limits configurable
Gergő Tisza [Fri, 28 Jul 2017 17:41:13 +0000 (17:41 +0000)]
Make API multivalue limits configurable

Adds two new parameter settings, ApiBase::PARAM_ISMULTI_LIMIT1
and PARAM_ISMULTI_LIMIT2 for configuring the maximum number of values
that can be contained in a multivalue field (for unprivileged and
apihighlimits users, respectively). When present, these replace the
default 50/500.

Change-Id: Ic1b1bcc7ff556b7762c8d2375d910cc4fcb43087

4 years agoMerge "mediawiki.skinning: Vertical align inline media in Parsoid output"
jenkins-bot [Thu, 24 Aug 2017 01:55:10 +0000 (01:55 +0000)]
Merge "mediawiki.skinning: Vertical align inline media in Parsoid output"

4 years agomediawiki.skinning: Vertical align inline media in Parsoid output
Arlo Breault [Thu, 17 Aug 2017 16:01:33 +0000 (12:01 -0400)]
mediawiki.skinning: Vertical align inline media in Parsoid output

Change-Id: I56df80a25b43f9084e8cb5e537836ac773732259

4 years agoMerge "RCFilters: Adjust pushpin 'default' icon behavior and style"
jenkins-bot [Thu, 24 Aug 2017 00:23:47 +0000 (00:23 +0000)]
Merge "RCFilters: Adjust pushpin 'default' icon behavior and style"

4 years agoPrevent editing textarea from jumping when toolbar is loaded
Kaldari [Thu, 24 Aug 2017 00:16:32 +0000 (17:16 -0700)]
Prevent editing textarea from jumping when toolbar is loaded

If you're using the "classic" editor (not the WikiEditor editor),
the editing textarea jumps down when the toolbar loads, which can
take a few seconds on a slow connection. This can cause editors to
accidently click the toolbar instead of the editing textarea and
accidently insert markup into the article that they didn't mean to.

This rule has been on English Wikipedia's Common.css since 2007.

Change-Id: Ie4ac15c95554608c838ef0e112924fc6381a6f66

4 years agoRCFilters: Adjust pushpin 'default' icon behavior and style
Moriel Schottlender [Wed, 23 Aug 2017 23:10:23 +0000 (16:10 -0700)]
RCFilters: Adjust pushpin 'default' icon behavior and style

Bug: T173264
Change-Id: I8d977bb97e91a19c24527c66120f142738135730

4 years agoRCFilters: Hide saved queries from anonymous users
Moriel Schottlender [Wed, 23 Aug 2017 23:35:10 +0000 (16:35 -0700)]
RCFilters: Hide saved queries from anonymous users

Bug: T173992
Change-Id: I5acb9ca4dd20de83da5db42c7c9053fccb091da0

4 years agoMerge "Unit tests for CollationFa (0bfcbd724)"
jenkins-bot [Wed, 23 Aug 2017 22:46:40 +0000 (22:46 +0000)]
Merge "Unit tests for CollationFa (0bfcbd724)"

4 years agoAvoid preemptive DB replication waits for farm cross-wiki redirects
Aaron Schulz [Tue, 22 Aug 2017 21:36:15 +0000 (14:36 -0700)]
Avoid preemptive DB replication waits for farm cross-wiki redirects

This previously only worked if $wgLocalVirtualHosts was set, which
was too specific to check and not used by WMF. Use the more generic
WikiMap class.

Two methods have been added there to do the work of enumerating
canonical wiki farm URLs and checking them against a given URL.

Bug: T172357
Change-Id: Id2415bab5d7f5a08b9f536858c32d329138384a2

4 years agoSpecialPageLanguage: Show current page language in the dropdown
Bartosz Dziewoński [Wed, 23 Aug 2017 21:17:53 +0000 (23:17 +0200)]
SpecialPageLanguage: Show current page language in the dropdown

Also show canonical page title form while we're at it.

Bug: T74966
Change-Id: I52c19a0a018d76a4282c61c009b40b2f7e56b3d2

4 years agoMerge "RCFilters: Minimize vertical space"
jenkins-bot [Wed, 23 Aug 2017 21:07:23 +0000 (21:07 +0000)]
Merge "RCFilters: Minimize vertical space"

4 years agoMerge "mw.widgets.SelectWithInputWidget: Invisible invalid fields should not block...
jenkins-bot [Wed, 23 Aug 2017 20:54:02 +0000 (20:54 +0000)]
Merge "mw.widgets.SelectWithInputWidget: Invisible invalid fields should not block form submission"

4 years agoSkin: Remove more use of QuickTemplate::setRef()
Timo Tijhof [Wed, 23 Aug 2017 19:30:01 +0000 (20:30 +0100)]
Skin: Remove more use of QuickTemplate::setRef()

Follows-up 2c01147c13be.

* language_links: The local array variable is only used once to
  obtain the value from Skin::getLanguages(), and then never passed
  elsewhere or otherwise potentially changed, so this reference
  doesn't seem useful.
  The getLanguages() method itself also creates a new array every
  time it is called, so the reference from there can't change either.

* Same for content_navigation and content_actions. These are never
  modified, and the method that returns the array creates a new one
  on each call.
  Follows-up r3014 (f4755755daed1f8).

* Same for bodytext.

Presumably these were only set as references to save memory.

Bug: T140664
Change-Id: I1224a7a89c1d7ad05c73132ff73299fd78ade7fb

4 years agomw.widgets.SelectWithInputWidget: Invisible invalid fields should not block form...
Bartosz Dziewoński [Wed, 23 Aug 2017 18:55:20 +0000 (20:55 +0200)]
mw.widgets.SelectWithInputWidget: Invisible invalid fields should not block form submission

Same logic as in resources/src/mediawiki/htmlform/hide-if.js,
explanatory comment is copy-pasted from there.

Bug: T173839
Change-Id: I87603936d23165926d2ef4c64f3a61dca2062caf

4 years agoRCFilters: Minimize vertical space
Moriel Schottlender [Tue, 22 Aug 2017 23:24:58 +0000 (16:24 -0700)]
RCFilters: Minimize vertical space

Bug: T173265
Change-Id: I38821571450c59b18c753c8b20ad9f19f01b6276

4 years agoMake workItemCount() smarter for htmlCacheUpdate/refreshLinks
Aaron Schulz [Wed, 23 Aug 2017 17:35:04 +0000 (10:35 -0700)]
Make workItemCount() smarter for htmlCacheUpdate/refreshLinks

Do not count jobs that just make subdivide as having any
"work items". This makes $wgJobBackoffThrottling less
overzealous when used to limit these type of jobs.

The main reason to limit htmlCacheUpdate would be for
CDN purge rate limiting. For refreshLinks, it would
mostly be lag, though that is already handled for
leaf jobs and JobRunner itself.

Bug: T173710
Change-Id: Ide831b555e51e3111410929a598efb6c0afc0989

4 years agoMerge "Set line height to 1 for sup and sub elements in print"
jenkins-bot [Wed, 23 Aug 2017 16:52:17 +0000 (16:52 +0000)]
Merge "Set line height to 1 for sup and sub elements in print"

4 years agoSet line height to 1 for sup and sub elements in print
jdlrobson [Wed, 23 Aug 2017 15:59:44 +0000 (10:59 -0500)]
Set line height to 1 for sup and sub elements in print

It is already set in screen styles (shared.css).

Bug: T172501
Change-Id: I5a90e21f6eac300c57b6daddada0ae94fe579294

4 years agoMerge "mediawiki.skinning: Vertical alignment for traditional galleries in Parsoid...
jenkins-bot [Wed, 23 Aug 2017 16:40:07 +0000 (16:40 +0000)]
Merge "mediawiki.skinning: Vertical alignment for traditional galleries in Parsoid output"

4 years agoMerge "MediawikiUI: Introduce mw-ui-icon-large"
jenkins-bot [Wed, 23 Aug 2017 16:22:31 +0000 (16:22 +0000)]
Merge "MediawikiUI: Introduce mw-ui-icon-large"

4 years agomediawiki.skinning: Vertical alignment for traditional galleries in Parsoid output
Arlo Breault [Thu, 17 Aug 2017 18:03:39 +0000 (14:03 -0400)]
mediawiki.skinning: Vertical alignment for traditional galleries in Parsoid output

 * Note that this just an extraction of inline styles that are
   already present in the output.

Change-Id: I718f16dfbb2c4122ac9fb4a714b607da3e62d5a0

4 years agoMediawikiUI: Introduce mw-ui-icon-large
jdlrobson [Thu, 17 Aug 2017 15:30:51 +0000 (10:30 -0500)]
MediawikiUI: Introduce mw-ui-icon-large

This will allow MobileFrontend and Minerva to share rules for icons

See Ib29736dc80ac2f84747e920c5b5c30918df12978

Bug: T143264
Change-Id: I456714086d2548b2e10cceb2a05f7a0fadf94a3b

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 23 Aug 2017 06:29:09 +0000 (08:29 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6d08864f2cf81b605438d16d5ce272b77a4fb8b2

4 years agoMerge "Split common pre-setup code out of WebStart/doMaintenance"
jenkins-bot [Wed, 23 Aug 2017 05:35:27 +0000 (05:35 +0000)]
Merge "Split common pre-setup code out of WebStart/doMaintenance"

4 years agoSplit common pre-setup code out of WebStart/doMaintenance
Tim Starling [Wed, 23 Aug 2017 02:21:14 +0000 (12:21 +1000)]
Split common pre-setup code out of WebStart/doMaintenance

Introduce PreConfigSetup.php, which is common file-scope code run before

I'm not maintaining autoload.ide.php since it supports closed source
software which I don't have, and it apparently needs significant work to
make it not be weird and hacky.

Change-Id: I44ac69b6b00a51d015546b9766d89d1c59749334

4 years agoMerge "Remove two deprecated functions and one depreciated variable in a function...
jenkins-bot [Tue, 22 Aug 2017 23:25:57 +0000 (23:25 +0000)]
Merge "Remove two deprecated functions and one depreciated variable in a function call within Parser.php"

4 years agoMerge "Update OOjs UI to v0.22.5"
jenkins-bot [Tue, 22 Aug 2017 23:22:19 +0000 (23:22 +0000)]
Merge "Update OOjs UI to v0.22.5"

4 years agoRCFilters: Truncate long saved query titles
Moriel Schottlender [Tue, 22 Aug 2017 23:14:14 +0000 (16:14 -0700)]
RCFilters: Truncate long saved query titles

Bug: T171901
Change-Id: Ibb03d3aafe4b3b083a5da064f2a2e809ecd108ad

4 years agoRemove two deprecated functions and one depreciated variable in a function call withi...
Matthew Bowker [Wed, 16 Aug 2017 08:28:59 +0000 (02:28 -0600)]
Remove two deprecated functions and one depreciated variable in a function call within Parser.php

* Parser::getRandomString() (deprecated in 1.26) was removed.
* Parser::uniqPrefix() (deprecated in 1.26) was removed.
* Parser::extractTagsAndParams() now only accepts three arguments.  The fourth, $uniq_prefix was deprecated in 1.26 and has now been removed.

Bug: T61113
Change-Id: I7333fff4eb8b9a754b4596992f2a69bbdaac664d

4 years agoUpdate OOjs UI to v0.22.5
Volker E [Tue, 22 Aug 2017 22:50:49 +0000 (15:50 -0700)]
Update OOjs UI to v0.22.5

Release notes:

Depends-On: Icf08f8c12d91b74425df319e69df22330c7088a9
Change-Id: Ia3ba4989c573de8b458c209560f6658b8324b548

4 years agoMerge "EditPage: Remove legacy non-OOUI render mode"
jenkins-bot [Tue, 22 Aug 2017 22:54:26 +0000 (22:54 +0000)]
Merge "EditPage: Remove legacy non-OOUI render mode"

4 years agoMerge "resources: Provide the WikimediaUI LESS config vars for all OOjs UI users"
jenkins-bot [Tue, 22 Aug 2017 21:36:07 +0000 (21:36 +0000)]
Merge "resources: Provide the WikimediaUI LESS config vars for all OOjs UI users"

4 years agoMerge "resources: Consolidate on the WikimediaUI “erroneous” color value"
jenkins-bot [Tue, 22 Aug 2017 21:18:27 +0000 (21:18 +0000)]
Merge "resources: Consolidate on the WikimediaUI “erroneous” color value"

4 years agoresources: Consolidate on the WikimediaUI “erroneous” color value
Volker E [Tue, 22 Aug 2017 00:38:33 +0000 (17:38 -0700)]
resources: Consolidate on the WikimediaUI “erroneous” color value

“Erroneous” color was updated to `#d33` in WikimediaUI color palette to
ensure WCAG 2.0 level AA conformance with both white and black.

Replacing all occurences of `#f00` and `#c00` to reflect color palette
change with the following caveats and exceptions:

- MW config styles are not amended, as it is out of scope and all
  boundaries and applications of WikimediaUI are yet to be defined;

- oldshared.css is excluded, as WikimediaUI isn't touching old skins; &

- errorbox with its current background is getting a lowered textual
  contrast but we still provide enough contrast for text size and bolded
  font, and this needs to be seen as intermediate standardization step.

Bug: T152025
Change-Id: Iba3362abaa1702599f0d68860f579aea2114801c

4 years agoMerge "Revert "registration: Only allow one extension to set a specific config setting""
jenkins-bot [Tue, 22 Aug 2017 20:52:29 +0000 (20:52 +0000)]
Merge "Revert "registration: Only allow one extension to set a specific config setting""

4 years agoRevert "registration: Only allow one extension to set a specific config setting"
Thcipriani [Tue, 22 Aug 2017 20:40:15 +0000 (20:40 +0000)]
Revert "registration: Only allow one extension to set a specific config setting"

Breaks mergeMessageFileList which means scap can't run in beta.

This reverts commit 50d7546057c1089228a2a6d7d4a49d78d72887e3.

Change-Id: Idb65f1098abce28d49ebbcc8254c0976b6861c59

4 years agoEditPage: Remove legacy non-OOUI render mode
Kunal Mehta [Mon, 21 Aug 2017 23:56:33 +0000 (16:56 -0700)]
EditPage: Remove legacy non-OOUI render mode

Mostly remove it at least. Some things from the transition are still
left around:

* EditPage::isOouiEnabled() will now always return true and is soft
  deprecated as some extensions are using it to detect whether in OOUI
* EditPage::getCheckboxes() is left around since getCheckboxesOOUI()
  calls it. Someone else will need to disentangle that.
* The "mw-editform-ooui" class is kept as some on-wiki JavaScript uses
  it to detect whether running in the OOUI mode.
* CSS is still using the .mw-editform-ooui class. It should be
  transitioned to use .mw-editform in a follow-up.

Other cleanup:
* mediawiki.action.edit now directly depends upon oojs-ui-core instead
  of transitively via mediawiki.widgets.visibleByteLimit. As a result, the
  mw.loader.using call was removed from the JavaScript file.

Bug: T172315
Change-Id: I2b468c8b846db015b5a1e3d2500abb8ea252c442

4 years agoMerge "registration: Only allow one extension to set a specific config setting"
jenkins-bot [Tue, 22 Aug 2017 19:35:26 +0000 (19:35 +0000)]
Merge "registration: Only allow one extension to set a specific config setting"

4 years agoMerge "Fix link prefix/suffixes around Category and Language links."
jenkins-bot [Tue, 22 Aug 2017 17:57:42 +0000 (17:57 +0000)]
Merge "Fix link prefix/suffixes around Category and Language links."

4 years agoMerge "rdbms: Avoid selectDB() call in LoadMonitor new connections"
jenkins-bot [Tue, 22 Aug 2017 16:52:45 +0000 (16:52 +0000)]
Merge "rdbms: Avoid selectDB() call in LoadMonitor new connections"

4 years agordbms: Avoid selectDB() call in LoadMonitor new connections
Aaron Schulz [Sat, 19 Aug 2017 17:48:45 +0000 (10:48 -0700)]
rdbms: Avoid selectDB() call in LoadMonitor new connections

This is not really necessary and can cause problems if the local
wiki has no tables on the given database.

Bug: T172559
Change-Id: I77c1238bb59b9c060bdec22aa2f7f758e07b748c

4 years agoMerge "Remove MemcachedClient compat class names"
jenkins-bot [Tue, 22 Aug 2017 15:16:13 +0000 (15:16 +0000)]
Merge "Remove MemcachedClient compat class names"

4 years agoMerge "Remove RunningStat compat class"
jenkins-bot [Tue, 22 Aug 2017 15:16:08 +0000 (15:16 +0000)]
Merge "Remove RunningStat compat class"

4 years agoMerge "Remove IPSet compat classes"
jenkins-bot [Tue, 22 Aug 2017 15:07:22 +0000 (15:07 +0000)]
Merge "Remove IPSet compat classes"

4 years agoMerge "Remove Cdb compat class names"
jenkins-bot [Tue, 22 Aug 2017 15:07:05 +0000 (15:07 +0000)]
Merge "Remove Cdb compat class names"

4 years agoMerge "PHPVersionCheck: Use HTTPS download URL for downloading PHP"
jenkins-bot [Tue, 22 Aug 2017 15:06:10 +0000 (15:06 +0000)]
Merge "PHPVersionCheck: Use HTTPS download URL for downloading PHP"

4 years agoWLFilters: avoid querying the DB when filters are in conflict
Stephane Bisson [Tue, 22 Aug 2017 13:03:42 +0000 (09:03 -0400)]
WLFilters: avoid querying the DB when filters are in conflict

Bug: T171132
Change-Id: I53843471e3cffb892ca954338983e77a66a46dbb

4 years agoMerge "RCFilters: Ignore sticky filters when emptying all filters"
jenkins-bot [Tue, 22 Aug 2017 13:02:33 +0000 (13:02 +0000)]
Merge "RCFilters: Ignore sticky filters when emptying all filters"

4 years agoMerge "Soft deprecation of DatabaseMysql"
jenkins-bot [Tue, 22 Aug 2017 10:51:24 +0000 (10:51 +0000)]
Merge "Soft deprecation of DatabaseMysql"

4 years agoMerge "jquery.migrate: Instrument with mw.track()"
jenkins-bot [Tue, 22 Aug 2017 10:20:11 +0000 (10:20 +0000)]
Merge "jquery.migrate: Instrument with mw.track()"

4 years agoregistration: Only allow one extension to set a specific config setting
Florian Schmidt [Mon, 17 Apr 2017 20:36:30 +0000 (22:36 +0200)]
registration: Only allow one extension to set a specific config setting

ExtensionProcessor would previously just blindly overwrite duplicate
config settings, which ends up depending upon load order.

It's relatively hard to debug since it is silently overwritten. This now
throws exceptions in case of duplicate config settings.

This will also have some side-effects of catching people putting things
like "ResourceModules" in their "config" section when it should be a
top-level item.

Bug: T152929
Change-Id: Iaef32efab397e82ff70ddca8ac79c545c5b7d2bb

4 years agoMerge "LocalisationCache: Remove unused "use" statements"
jenkins-bot [Tue, 22 Aug 2017 06:33:07 +0000 (06:33 +0000)]
Merge "LocalisationCache: Remove unused "use" statements"

4 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 22 Aug 2017 06:07:43 +0000 (08:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I69daeb5e4ae27d6dbef1f8b1766053724cb02499

4 years agoPHPVersionCheck: Use HTTPS download URL for downloading PHP
Kunal Mehta [Tue, 22 Aug 2017 05:45:04 +0000 (22:45 -0700)]
PHPVersionCheck: Use HTTPS download URL for downloading PHP

Change-Id: Iaf8e012b91888233703577e2de4ec522f39428e7

4 years agoRemove MemcachedClient compat class names
Kunal Mehta [Tue, 22 Aug 2017 04:50:31 +0000 (21:50 -0700)]
Remove MemcachedClient compat class names

Deprecated since 1.27, and unused in Wikimedia Git.

Change-Id: I1d73efac2fddb771124bcd31b3d40769e751410c

4 years agoRemove RunningStat compat class
Kunal Mehta [Tue, 22 Aug 2017 04:38:16 +0000 (21:38 -0700)]
Remove RunningStat compat class

Deprecated since 1.27, unused in Wikimedia Git.

Change-Id: I0086c1cd945865b10a1e7fcc34c08642db2474af

4 years agoRemove IPSet compat classes
Kunal Mehta [Tue, 22 Aug 2017 04:34:50 +0000 (21:34 -0700)]
Remove IPSet compat classes

Deprecated in 1.26, unused in Wikimedia Git.

Change-Id: I7719a204160ddd0ba71a1a5d8f7088f7d552acbd

4 years agoIP: Remove unused static member $proxyIpSet
Kunal Mehta [Tue, 22 Aug 2017 04:31:44 +0000 (21:31 -0700)]
IP: Remove unused static member $proxyIpSet

Change-Id: Ia48ec2eb1281d955bc28f5c78a1501f3d46826c0

4 years agoRemove Cdb compat class names
Kunal Mehta [Tue, 22 Aug 2017 04:29:00 +0000 (21:29 -0700)]
Remove Cdb compat class names

Deprecated since 1.25, and unused in Wikimedia Git.

Change-Id: I05bdefe2e2bf5ffcadb9846651af7367e8e7a814

4 years agoLocalisationCache: Remove unused "use" statements
Kunal Mehta [Tue, 22 Aug 2017 03:40:52 +0000 (20:40 -0700)]
LocalisationCache: Remove unused "use" statements

Change-Id: Ie1cdd52d87deffa251b7af0554370ba9a4edce73

4 years agoMerge "Delete maintenance/deleteRevision.php"
jenkins-bot [Tue, 22 Aug 2017 01:56:17 +0000 (01:56 +0000)]
Merge "Delete maintenance/deleteRevision.php"

4 years agoresources: Provide the WikimediaUI LESS config vars for all OOjs UI users
James D. Forrester [Mon, 21 Aug 2017 23:53:26 +0000 (16:53 -0700)]
resources: Provide the WikimediaUI LESS config vars for all OOjs UI users

Bug: T123359
Change-Id: I11677b9bacdbba9e17574891ca30428051b13606

4 years agobuild: Bump eslint-config-wikimedia from 0.4.0 to 0.5.0
James D. Forrester [Tue, 22 Aug 2017 00:06:02 +0000 (17:06 -0700)]
build: Bump eslint-config-wikimedia from 0.4.0 to 0.5.0

Change-Id: I06010cd6367c1884b5536e7929d3345feba7f305

4 years agoMerge "Don't hard-code Preferences page name"
jenkins-bot [Mon, 21 Aug 2017 22:41:17 +0000 (22:41 +0000)]
Merge "Don't hard-code Preferences page name"

4 years agoDon't hard-code Preferences page name
Sam Wilson [Mon, 21 Aug 2017 02:08:32 +0000 (10:08 +0800)]
Don't hard-code Preferences page name

This fixes the restore-prefs link by switching to use whatever
the current title of the PreferencesForm is.

Bug: T173682
Change-Id: I67a13269a63f719a011a2d59a07493d9eb6b653b

4 years agoRCFilters: Ignore sticky filters when emptying all filters
Moriel Schottlender [Mon, 21 Aug 2017 21:03:29 +0000 (14:03 -0700)]
RCFilters: Ignore sticky filters when emptying all filters

Also, as a bonus, actually connect the 'update' event to the already
existing method that was supposed to respond to an update event on
the 'enhanced' filter.

Bug: T172580
Change-Id: I4db5689d1d2ef627bbb5ec34f8af772157d1ff09