lhc/web/wiklou.git
5 years agoMerge "build: Upgrade eslint to 5.x"
jenkins-bot [Fri, 6 Jul 2018 18:13:39 +0000 (18:13 +0000)]
Merge "build: Upgrade eslint to 5.x"

5 years agoMerge "Use consistent caching strategy in Revision storage classes"
jenkins-bot [Fri, 6 Jul 2018 18:09:13 +0000 (18:09 +0000)]
Merge "Use consistent caching strategy in Revision storage classes"

5 years agoMerge "rdbms: add resolveDomainID() method to LBFactory/LoadBalancer"
jenkins-bot [Fri, 6 Jul 2018 17:54:01 +0000 (17:54 +0000)]
Merge "rdbms: add resolveDomainID() method to LBFactory/LoadBalancer"

5 years agoMerge "Allow extra slots in write-both/read-new mode."
jenkins-bot [Fri, 6 Jul 2018 17:53:55 +0000 (17:53 +0000)]
Merge "Allow extra slots in write-both/read-new mode."

5 years agoMerge "Introduce new schema flags and use them in RevisionStore."
jenkins-bot [Fri, 6 Jul 2018 17:53:44 +0000 (17:53 +0000)]
Merge "Introduce new schema flags and use them in RevisionStore."

5 years agoMerge "Document return of void in Maintenance::execute"
jenkins-bot [Fri, 6 Jul 2018 16:45:09 +0000 (16:45 +0000)]
Merge "Document return of void in Maintenance::execute"

5 years agobuild: Upgrade eslint to 5.x
James D. Forrester [Tue, 3 Jul 2018 22:22:32 +0000 (15:22 -0700)]
build: Upgrade eslint to 5.x

Add two exceptions for max-len and no-prototype-builtins.

Change-Id: I5d3f7a3e282a237fb5de9f0eb29b579a08c32652

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 5 Jul 2018 19:53:52 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I75564eab47b421513de065554c8351feb02c92fa

5 years agoMerge "Changing the default for $wgPageCreationLog to true"
jenkins-bot [Thu, 5 Jul 2018 19:11:12 +0000 (19:11 +0000)]
Merge "Changing the default for $wgPageCreationLog to true"

5 years agoMerge "Remove $wgBrowserBlacklist setting (deprecated, no-op)"
jenkins-bot [Thu, 5 Jul 2018 16:08:47 +0000 (16:08 +0000)]
Merge "Remove $wgBrowserBlacklist setting (deprecated, no-op)"

5 years agoUse consistent caching strategy in Revision storage classes
daniel [Tue, 3 Jul 2018 15:46:30 +0000 (17:46 +0200)]
Use consistent caching strategy in Revision storage classes

DEPLOYMENT: This changes the cache key for revision
content blobs. Expect a brief rise in ExternalStore hits.

Bug: T198704
Change-Id: Icc2d16bc5a1e27ba4caea49a784ba7aeac15042a

5 years agoMerge "Append new line character to output of populateChangeTagDef.php"
jenkins-bot [Thu, 5 Jul 2018 15:27:02 +0000 (15:27 +0000)]
Merge "Append new line character to output of populateChangeTagDef.php"

5 years agoMerge "Release note for getLaggedSlaveMode() removal"
jenkins-bot [Thu, 5 Jul 2018 15:11:57 +0000 (15:11 +0000)]
Merge "Release note for getLaggedSlaveMode() removal"

5 years agoAppend new line character to output of populateChangeTagDef.php
Amir Sarabadani [Thu, 5 Jul 2018 15:11:29 +0000 (17:11 +0200)]
Append new line character to output of populateChangeTagDef.php

Right now, I run it in prod and it's basically useless

Change-Id: Ieb11884c3e9243df3058118cf2d581e715892595

5 years agoMerge "Revert "Introduce RevisionStoreFactory & Tests""
jenkins-bot [Thu, 5 Jul 2018 15:08:36 +0000 (15:08 +0000)]
Merge "Revert "Introduce RevisionStoreFactory & Tests""

5 years agoRelease note for getLaggedSlaveMode() removal
Antoine Musso [Thu, 5 Jul 2018 14:44:33 +0000 (16:44 +0200)]
Release note for getLaggedSlaveMode() removal

Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode() has been removed by
19b71ac216b33e4864f8e912817ace022b179bac  it has been deprecated since
1.28.

Add a release note entry for 1.32.

Change-Id: Ifd7190ac65da5a3c613a514d2380ee62fda733e7

5 years agordbms: add resolveDomainID() method to LBFactory/LoadBalancer
Aaron Schulz [Thu, 5 Jul 2018 12:50:57 +0000 (13:50 +0100)]
rdbms: add resolveDomainID() method to LBFactory/LoadBalancer

Also add LBFactory::getLocalDomainID to match the one in LoadBalancer

Change-Id: Ia31f0800bd3b692194c08b1eab9cfb2f43679c7a

5 years agoMerge "Add support for extra database connections in unit tests."
jenkins-bot [Thu, 5 Jul 2018 11:05:12 +0000 (11:05 +0000)]
Merge "Add support for extra database connections in unit tests."

5 years agoMerge "Remove outdated transition code"
jenkins-bot [Thu, 5 Jul 2018 11:05:07 +0000 (11:05 +0000)]
Merge "Remove outdated transition code"

5 years agoRemove outdated transition code
Adam Wight [Wed, 4 Jul 2018 22:45:09 +0000 (00:45 +0200)]
Remove outdated transition code

This was a soft transition left over from when "edittime" was the last
form parameter. It has been replaced with an explicit "ultimate" param.

Change-Id: I28767fdf8fab512830fe6e24cacabb598d7cca90

5 years agoMerge "Limit the number of cached languages in MessageCache via MapCacheLRU"
jenkins-bot [Wed, 4 Jul 2018 22:18:08 +0000 (22:18 +0000)]
Merge "Limit the number of cached languages in MessageCache via MapCacheLRU"

5 years agoRemove $wgBrowserBlacklist setting (deprecated, no-op)
Timo Tijhof [Wed, 4 Jul 2018 02:36:13 +0000 (19:36 -0700)]
Remove $wgBrowserBlacklist setting (deprecated, no-op)

Not used in Wikimedia Git nor elsewhere in Codesearch.

Is a deprecated no-op since 1.30.

Change-Id: If796e77e49cd42f66aa401c6d256b9e4a9826fbd

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 4 Jul 2018 19:53:37 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie56758895fb4a1d83a0dc372463df7907f07b08c

5 years agoAdd support for extra database connections in unit tests.
daniel [Wed, 4 Jul 2018 15:20:31 +0000 (17:20 +0200)]
Add support for extra database connections in unit tests.

This adds a way to take any connection to the wiki database and
allow it to be used for unit tests.

This is needed to test code that requires two independent DB
connections, to the same database or to a different wiki's database.

Change-Id: I0b84a0c4d174cbde830786028ee7568c4ea9fb5d

5 years agoFix CONCAT assertions in some MCR tests
Aaron Schulz [Wed, 4 Jul 2018 07:20:53 +0000 (08:20 +0100)]
Fix CONCAT assertions in some MCR tests

Change-Id: I9507ae60751f8e9cc5e6205148cf2e37f67f42c5

5 years agoMerge "mw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars"
jenkins-bot [Wed, 4 Jul 2018 02:00:58 +0000 (02:00 +0000)]
Merge "mw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars"

5 years agoMerge "Add missing use statements"
jenkins-bot [Wed, 4 Jul 2018 00:44:28 +0000 (00:44 +0000)]
Merge "Add missing use statements"

5 years agomw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars
Bartosz Dziewoński [Mon, 2 Jul 2018 23:20:47 +0000 (01:20 +0200)]
mw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars

Change-Id: Ie3b246fcb064a04bc90fec06f6285306a013a819

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 3 Jul 2018 19:54:37 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3aa4ab1da349c15c6fb33c323324119aa352eff8

5 years agoSync up with Parsoid parserTests.txt
Arlo Breault [Tue, 3 Jul 2018 19:02:26 +0000 (15:02 -0400)]
Sync up with Parsoid parserTests.txt

This now aligns with Parsoid commit bbc56abd8fcc245876fc340723ed3431565b61d1

Change-Id: I463401aa3d2dd290d5ba6813e8e869f713682dd3

5 years agoMerge "Fix error in various deprecated selectFields() methods"
jenkins-bot [Tue, 3 Jul 2018 17:20:34 +0000 (17:20 +0000)]
Merge "Fix error in various deprecated selectFields() methods"

5 years agoMerge "Remove deprecated CONN_TRX_AUTO alias"
jenkins-bot [Tue, 3 Jul 2018 17:08:02 +0000 (17:08 +0000)]
Merge "Remove deprecated CONN_TRX_AUTO alias"

5 years agoMerge "Hard deprecate wfBCP47, which was soft deprecated in 1.31"
jenkins-bot [Tue, 3 Jul 2018 16:29:57 +0000 (16:29 +0000)]
Merge "Hard deprecate wfBCP47, which was soft deprecated in 1.31"

5 years agoFix error in various deprecated selectFields() methods
Brad Jorsch [Tue, 3 Jul 2018 15:59:18 +0000 (11:59 -0400)]
Fix error in various deprecated selectFields() methods

When aliasing a field to null, it has to be aliased to the string 'NULL'
rather than PHP null.

Bug: T198687
Change-Id: I6096f306b97022da781eaabeb15e502f391673a9

5 years agoMerge "build: Set Travis conf to "allow failure" for long-failing builds"
jenkins-bot [Tue, 3 Jul 2018 15:37:45 +0000 (15:37 +0000)]
Merge "build: Set Travis conf to "allow failure" for long-failing builds"

5 years agoMerge "Use CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias"
jenkins-bot [Tue, 3 Jul 2018 15:01:03 +0000 (15:01 +0000)]
Merge "Use CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias"

5 years agoHard deprecate wfBCP47, which was soft deprecated in 1.31
C. Scott Ananian [Tue, 26 Jun 2018 18:11:59 +0000 (14:11 -0400)]
Hard deprecate wfBCP47, which was soft deprecated in 1.31

Change-Id: I8632f08a8cb22641b5d16d955f3164dc45843520

5 years agoRevert "Introduce RevisionStoreFactory & Tests"
Addshore [Tue, 3 Jul 2018 11:49:24 +0000 (11:49 +0000)]
Revert "Introduce RevisionStoreFactory & Tests"

This needs more work, I'll file some tickets with TODOs

This reverts commit eb39d5f945245d65c0f5e44466c6d616b62577f5.

Change-Id: I0678d0c4e4e7496a67dfe826b00246723e9c7d54

5 years agoMerge "mw.widgets.TitleWidget: Don't mark optional fields as invalid when empty"
jenkins-bot [Tue, 3 Jul 2018 13:06:35 +0000 (13:06 +0000)]
Merge "mw.widgets.TitleWidget: Don't mark optional fields as invalid when empty"

5 years agoRemove deprecated CONN_TRX_AUTO alias
Aaron Schulz [Tue, 3 Jul 2018 12:03:55 +0000 (13:03 +0100)]
Remove deprecated CONN_TRX_AUTO alias

Change-Id: I0bc9b89e998cd3b324f9c72507d40a473bfb6118

5 years agoUse CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias
Aaron Schulz [Tue, 3 Jul 2018 12:03:44 +0000 (13:03 +0100)]
Use CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias

Change-Id: I23dc7052bd1ca9a9c8fec2409f3067304745043a

5 years agoMerge "RESTBagOStuff: improve timeouts and logging"
jenkins-bot [Tue, 3 Jul 2018 11:18:43 +0000 (11:18 +0000)]
Merge "RESTBagOStuff: improve timeouts and logging"

5 years agoMerge "resourceloader: Simplify ResourceLoader::isFileModule()"
jenkins-bot [Tue, 3 Jul 2018 11:12:11 +0000 (11:12 +0000)]
Merge "resourceloader: Simplify ResourceLoader::isFileModule()"

5 years agoLimit the number of cached languages in MessageCache via MapCacheLRU
Aaron Schulz [Mon, 25 Jun 2018 09:45:55 +0000 (10:45 +0100)]
Limit the number of cached languages in MessageCache via MapCacheLRU

Change-Id: I37a128cfc553e0edaab524098461776cec3fe08a

5 years agoMerge "Add MediaWikiService::getPerDbNameStatsdDataFactory"
jenkins-bot [Tue, 3 Jul 2018 07:58:40 +0000 (07:58 +0000)]
Merge "Add MediaWikiService::getPerDbNameStatsdDataFactory"

5 years agoMerge "rdbms: fix Sqlite::tableExists() method to avoid STATUS_TRX_ERROR"
jenkins-bot [Tue, 3 Jul 2018 05:40:03 +0000 (05:40 +0000)]
Merge "rdbms: fix Sqlite::tableExists() method to avoid STATUS_TRX_ERROR"

5 years agobuild: Set Travis conf to "allow failure" for long-failing builds
Timo Tijhof [Tue, 3 Jul 2018 01:08:02 +0000 (18:08 -0700)]
build: Set Travis conf to "allow failure" for long-failing builds

Specifically, PHP 7.2, postgres and all HHVM builds have been
failing for at least a month or more. In order for notifications
to become useful, whitelist these for now, so that next time
the main MySQL/PHP 7.0 or PHP 7.1 build failes, we'll notice
sooner.

Also move the notifs back to #wikimedia-dev and make it match
the configuration of other repos that use Travis via GitHub
(such as CSSJanus), specifically, to use a message template
that spans only a single line, instead of the default which
spans several lines.

Change-Id: I3abbff51414d33cde34cca26896724e8999c32db

5 years agoresourceloader: Simplify ResourceLoader::isFileModule()
Timo Tijhof [Tue, 3 Jul 2018 01:04:31 +0000 (18:04 -0700)]
resourceloader: Simplify ResourceLoader::isFileModule()

Method already has 100% test coverage.

Change-Id: I695e0ecca7a749e1721e489007f3b9f99358a96b

5 years agoMerge "RC Filters: Avoid unnecessary update events when clearing highlight"
jenkins-bot [Mon, 2 Jul 2018 22:36:47 +0000 (22:36 +0000)]
Merge "RC Filters: Avoid unnecessary update events when clearing highlight"

5 years agoMerge "RC Filters: Lazy build menu on model initialization"
jenkins-bot [Mon, 2 Jul 2018 22:33:30 +0000 (22:33 +0000)]
Merge "RC Filters: Lazy build menu on model initialization"

5 years agoshell: Note that ::isDisabled() should be called before ::command()
Kunal Mehta [Sun, 24 Jun 2018 21:09:32 +0000 (00:09 +0300)]
shell: Note that ::isDisabled() should be called before ::command()

And check it in the FirejailCommandTest (integration) for completeness,
even though it will make no practical difference.

Change-Id: Ieb130a888ef8a8162cb0a049ab9c20eac3f58217

5 years agoMaintenance: Don't try shelling out if it's disabled
Kunal Mehta [Sun, 24 Jun 2018 21:07:42 +0000 (00:07 +0300)]
Maintenance: Don't try shelling out if it's disabled

Change-Id: Ib30c55aa9e048960f8fa66a41f7e2aa2fa03b253

5 years agoMerge "Prevent fatal error when {{#translation:}} is placed on subpage named code"
jenkins-bot [Mon, 2 Jul 2018 21:53:10 +0000 (21:53 +0000)]
Merge "Prevent fatal error when {{#translation:}} is placed on subpage named code"

5 years agoMerge "Special:Preferences: Replace OOUI preferences CSS by LESS file"
jenkins-bot [Mon, 2 Jul 2018 21:49:46 +0000 (21:49 +0000)]
Merge "Special:Preferences: Replace OOUI preferences CSS by LESS file"

5 years agoMerge "Special:Preferences: Improve section grouping"
jenkins-bot [Mon, 2 Jul 2018 21:47:58 +0000 (21:47 +0000)]
Merge "Special:Preferences: Improve section grouping"

5 years agoDeprecate string type for $lang of DifferenceEngine::setTextLanguage
Fomafix [Tue, 19 Jun 2018 19:37:17 +0000 (21:37 +0200)]
Deprecate string type for $lang of DifferenceEngine::setTextLanguage

Also move the comment about the default value from the setter to the
getter.

Change-Id: I2e1bd29db986dfa92d41a876340a6aa59ac6670d
Depends-On: I8b573866c2de9b21d3849f02269c1b9ca4f62aba

5 years agoRC Filters: Lazy build menu on model initialization
Kosta Harlan [Sat, 30 Jun 2018 16:30:23 +0000 (12:30 -0400)]
RC Filters: Lazy build menu on model initialization

Use setTimeout() on model initialization to build the menu as part of the
page load process to remove the perceptible delay on the first click of the
menu.

Bug: T198535
Change-Id: Icaf0a37444786e80536b680fa37d04d095091377

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 2 Jul 2018 19:54:08 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I8dd1dd52e3e29ae52591624bff32b8a0375afc3a

5 years agoMerge "RC Filters: Prevent updateIfHeightChanged on tag multiselect widget"
jenkins-bot [Mon, 2 Jul 2018 19:47:18 +0000 (19:47 +0000)]
Merge "RC Filters: Prevent updateIfHeightChanged on tag multiselect widget"

5 years agoChanging the default for $wgPageCreationLog to true
Kaldari [Sun, 1 Jul 2018 04:36:11 +0000 (21:36 -0700)]
Changing the default for $wgPageCreationLog to true

It's already been turned on for all WMF wikis except Commons and
Wikidata, which are explicitly set to false in the configs.

Bug: T196400
Change-Id: Ib98ed68165837db8f53473052d5edec4af3736d9

5 years agoAllow extra slots in write-both/read-new mode.
daniel [Thu, 28 Jun 2018 18:32:03 +0000 (20:32 +0200)]
Allow extra slots in write-both/read-new mode.

Bug: T198413
Change-Id: I3125d5c7ef8d12936d4332cd1602f2eaab2482b2

5 years agoAdd MediaWikiService::getPerDbNameStatsdDataFactory
addshore [Mon, 2 Jul 2018 17:01:45 +0000 (18:01 +0100)]
Add MediaWikiService::getPerDbNameStatsdDataFactory

Bug: T196609
Change-Id: I08a4909e2855e33569641166b77be5d8bf4e2c34

5 years agoMerge "Use array_merge to merge indexed arrays in categoryChangesAsRdf.php."
jenkins-bot [Mon, 2 Jul 2018 17:23:04 +0000 (17:23 +0000)]
Merge "Use array_merge to merge indexed arrays in categoryChangesAsRdf.php."

5 years agoRC Filters: Avoid unnecessary update events when clearing highlight
Kosta Harlan [Fri, 29 Jun 2018 18:58:03 +0000 (14:58 -0400)]
RC Filters: Avoid unnecessary update events when clearing highlight

The strict equality check just below the lines added in this commit will fail
if the Item's highlightColor is null/undefined, and if the incoming parameter
is null. This situation happens when
mw.rcfilters.dm.ItemModel.prototype.clearHighlightColor is called when updating
the state from the query parameters. By returning early we can avoid emitting
update events for every filter item.

Bug: T198359
Change-Id: Ia3e5f333964545c7f33777be915389728c03eace

5 years agoUse array_merge to merge indexed arrays in categoryChangesAsRdf.php.
daniel [Mon, 2 Jul 2018 15:43:41 +0000 (17:43 +0200)]
Use array_merge to merge indexed arrays in categoryChangesAsRdf.php.

Bug: T198356
Change-Id: Ic29568ecfc26da7e6d8c9a875232bfa4e0f9f380

5 years agoIntroduce new schema flags and use them in RevisionStore.
daniel [Tue, 26 Jun 2018 17:26:33 +0000 (19:26 +0200)]
Introduce new schema flags and use them in RevisionStore.

NOTE: this changes the numeric values of the MIGRATION_XXX constants!
Order is preserved.

Bug: T197619
Change-Id: I16db7dd5799ab98c1cb12e7cd1e0b2da83b366fc

5 years agoPrevent fatal error when {{#translation:}} is placed on subpage named code
Niklas Laxström [Mon, 2 Jul 2018 09:30:52 +0000 (11:30 +0200)]
Prevent fatal error when {{#translation:}} is placed on subpage named code

Bug: T198518
Change-Id: Ia202e78adc53a54f95597b8701304c7f3832bf9c

5 years agoFix incorrect arguments to prepareContent() call in WikiPage
Aaron Schulz [Mon, 2 Jul 2018 11:54:41 +0000 (12:54 +0100)]
Fix incorrect arguments to prepareContent() call in WikiPage

Bug: T198483
Change-Id: I7115a9f8c7d5a6d84b77149fda266ad05ff3274d

5 years agoUpdate parser tests for translation change
Gergő Tisza [Mon, 2 Jul 2018 14:20:34 +0000 (16:20 +0200)]
Update parser tests for translation change

Bug: T198625
Change-Id: I1f52288be319f7d429a8536987cf5efc357d78c6

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 1 Jul 2018 19:52:47 +0000 (21:52 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I1175766566835e0f1aa5d23b5fd74a23db9659de

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 30 Jun 2018 19:55:47 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If06de066ea51f0418a4241c33a4b7e9593a3e392

5 years agoSpecial:Preferences: Replace OOUI preferences CSS by LESS file
Volker E [Sat, 30 Jun 2018 13:26:12 +0000 (15:26 +0200)]
Special:Preferences: Replace OOUI preferences CSS by LESS file

Also use 'mediawiki.mixins' and structure file in LESS way.

Change-Id: I3de02eb3996c1ebe9536067df593d3096a5f1eaa

5 years agoRC Filters: Prevent updateIfHeightChanged on tag multiselect widget
Kosta Harlan [Sat, 30 Jun 2018 11:39:51 +0000 (07:39 -0400)]
RC Filters: Prevent updateIfHeightChanged on tag multiselect widget

If not overridden, TagMultiselectWidget's updateIfHeightChange is invoked on
page load which triggers a resize event.

Bug: T198399
Change-Id: I47bbb54b53c2b0899fb4bfbfb36bbc012654fd8e

5 years agoMerge "WikiPage: Do not set "undid revision ID" for rollbacks"
jenkins-bot [Fri, 29 Jun 2018 23:53:29 +0000 (23:53 +0000)]
Merge "WikiPage: Do not set "undid revision ID" for rollbacks"

5 years agomw.widgets.TitleWidget: Don't mark optional fields as invalid when empty
Bartosz Dziewoński [Fri, 29 Jun 2018 22:49:08 +0000 (00:49 +0200)]
mw.widgets.TitleWidget: Don't mark optional fields as invalid when empty

Bug: T198402
Change-Id: I0e69f2015894ddf5ad53190740255f1c073fd76a

5 years agoMerge "Allow MediaWikiTestCase::insertPage to use given User"
jenkins-bot [Fri, 29 Jun 2018 22:38:45 +0000 (22:38 +0000)]
Merge "Allow MediaWikiTestCase::insertPage to use given User"

5 years agoAllow MediaWikiTestCase::insertPage to use given User
MusikAnimal [Fri, 29 Jun 2018 19:56:22 +0000 (15:56 -0400)]
Allow MediaWikiTestCase::insertPage to use given User

Sometimes you need to create pages with a non-sysop.
Example: I31aedcb9af7584fa5504916c67ca10f205ec9910

Change-Id: I9e48f7c00efbce8c2de3f5db3a74462d47ae8f64

5 years agoMerge "RCFilters: Fix highlight container selector in Watchlist overrides"
jenkins-bot [Fri, 29 Jun 2018 21:03:32 +0000 (21:03 +0000)]
Merge "RCFilters: Fix highlight container selector in Watchlist overrides"

5 years agoWikiPage: Do not set "undid revision ID" for rollbacks
Matěj Suchánek [Fri, 29 Jun 2018 20:53:11 +0000 (22:53 +0200)]
WikiPage: Do not set "undid revision ID" for rollbacks

It causes them to be tagged with the "mw-undo" tag, in addition to the
"mw-rollback" tag they already have.

Bug: T190374
Change-Id: Ia447a107f0844cfef4a51a72fdec7aeea0480c70

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 29 Jun 2018 19:58:43 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I87bb2d2a0c503c4945c8acc2c57389d498e8492e

5 years agoRCFilters: Fix highlight container selector in Watchlist overrides
Moriel Schottlender [Fri, 29 Jun 2018 16:06:14 +0000 (09:06 -0700)]
RCFilters: Fix highlight container selector in Watchlist overrides

Bug: T198445
Change-Id: I01f0ccc964595c0f65aca6cbcac7828ebad33818

5 years agoMerge "selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames"
jenkins-bot [Fri, 29 Jun 2018 19:37:18 +0000 (19:37 +0000)]
Merge "selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames"

5 years agoMerge "Prevent "Undefined offset notice""
jenkins-bot [Fri, 29 Jun 2018 19:34:47 +0000 (19:34 +0000)]
Merge "Prevent "Undefined offset notice""

5 years agoMerge "Consolidate AtomicSectionUpdate code in DerivedPageDataUpdater."
jenkins-bot [Fri, 29 Jun 2018 17:19:01 +0000 (17:19 +0000)]
Merge "Consolidate AtomicSectionUpdate code in DerivedPageDataUpdater."

5 years agoMerge "Add Manipuri/Meitei to Names.php"
jenkins-bot [Fri, 29 Jun 2018 17:18:56 +0000 (17:18 +0000)]
Merge "Add Manipuri/Meitei to Names.php"

5 years agoSpecial:Preferences: Improve section grouping
Volker E [Fri, 29 Jun 2018 17:04:19 +0000 (19:04 +0200)]
Special:Preferences: Improve section grouping

Improving section grouping per tab/meta section by increasing
whitespace.
Also remove sub-borders in No-JS clients and unnecessary property.

Bug: T198499
Change-Id: Id28f0d9631dfb08c51bf287c0aac0c1c206ea795

5 years agoMerge "RCFilters: Hide highlight containers when RCFilters is disabled"
jenkins-bot [Fri, 29 Jun 2018 16:09:53 +0000 (16:09 +0000)]
Merge "RCFilters: Hide highlight containers when RCFilters is disabled"

5 years agoMWNamespace: Add getCategoryLinkType() method
Kevin Israel [Thu, 28 Jun 2018 09:58:28 +0000 (05:58 -0400)]
MWNamespace: Add getCategoryLinkType() method

This method returns the value used as cl_type for category links that
are "from" pages within the namespace, and is added to avoid duplication
of code across a few classes.

Change-Id: I4e55932a5a27858cfedb12009b455fcd02f9b5df

5 years agoMerge "Ensure services are added to MediaWikiServicesTest::provideGetService"
jenkins-bot [Fri, 29 Jun 2018 15:21:24 +0000 (15:21 +0000)]
Merge "Ensure services are added to MediaWikiServicesTest::provideGetService"

5 years agoMerge "Add @see $wgContentHandlerUseDB to RevisionStore params"
jenkins-bot [Fri, 29 Jun 2018 15:21:19 +0000 (15:21 +0000)]
Merge "Add @see $wgContentHandlerUseDB to RevisionStore params"

5 years agoselenium: Remove '☃' character (U+2603 snowman emoji) from random usernames
Bartosz Dziewoński [Fri, 29 Jun 2018 14:58:36 +0000 (16:58 +0200)]
selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames

The AntiSpoof extension disallows this character in usernames, causing
tests to fail on some setups. Its error message claims it is an
"unassigned character" (which is false), but it seems it's
intentionally disallowed and the error message should instead say
"non-script character" or something.

Bug: T198384
Change-Id: Ia8e7b425b6a3cf3742c00178f28c97a19f46bab0

5 years agoAdd @see $wgContentHandlerUseDB to RevisionStore params
addshore [Fri, 29 Jun 2018 09:42:25 +0000 (10:42 +0100)]
Add @see $wgContentHandlerUseDB to RevisionStore params

Change-Id: Ic7c4a7a729b2cac6ac46ae9475167acfe6e8dd9e

5 years agoEnsure services are added to MediaWikiServicesTest::provideGetService
addshore [Fri, 29 Jun 2018 09:31:27 +0000 (10:31 +0100)]
Ensure services are added to MediaWikiServicesTest::provideGetService

Change-Id: I3f6ded009ed98b615adb7c46d41bced450972b54

5 years agoMediaWikiServicesTest, remove out of date note
addshore [Fri, 29 Jun 2018 09:22:58 +0000 (10:22 +0100)]
MediaWikiServicesTest, remove out of date note

provideGetters is now automatically populated using the
provideGetService method so we don't need to actually add
the service there

Change-Id: I07e8f54e5c4aa7ff22d02312bf51ac8d1cc4b5c2

5 years agoIntroduce RevisionStoreFactory & Tests
addshore [Wed, 27 Jun 2018 12:16:35 +0000 (13:16 +0100)]
Introduce RevisionStoreFactory & Tests

Bug: T194729
Change-Id: I0a8a441b803816281113e52a2a57cc07af8a1119

5 years agoMerge "Regression test for autopatrolling rollbacks"
jenkins-bot [Fri, 29 Jun 2018 11:04:22 +0000 (11:04 +0000)]
Merge "Regression test for autopatrolling rollbacks"

5 years agoMerge "Correct $specialPageAliases for sa.wiki"
jenkins-bot [Fri, 29 Jun 2018 10:42:02 +0000 (10:42 +0000)]
Merge "Correct $specialPageAliases for sa.wiki"

5 years agoRegression test for autopatrolling rollbacks
daniel [Fri, 29 Jun 2018 09:59:51 +0000 (11:59 +0200)]
Regression test for autopatrolling rollbacks

Bug: T198449
Change-Id: Ic280c38ac2ba0a0842c484f671e7e99f50cd54d5

5 years agoMark rollbacking revision as patrolled
Matěj Suchánek [Fri, 29 Jun 2018 07:14:15 +0000 (07:14 +0000)]
Mark rollbacking revision as patrolled

I just copy & pasted lines 1833-1838.

Bug: T198449
Change-Id: I5d356b074e048a2325a64bfe2c1e652c640c560f

5 years agoPrevent "Undefined offset notice"
Matěj Suchánek [Fri, 8 Jun 2018 13:34:41 +0000 (13:34 +0000)]
Prevent "Undefined offset notice"

The number provided by the query can be arbitrary, so let's narrow the
input validation to booleans.

Bug: T194616
Change-Id: If03e6e2d5bbcf4f2d85047cc23ee5388b39fe114