Commit graph

83422 commits

Author SHA1 Message Date
Fomafix
6866cfec37 Simplify PHP by using ?? and ?:
Also remove not necessary surrounding parentheses.

Change-Id: I0eb5c9c1bdfb09a800258379cdcefb5fd4d3d21c
2018-07-10 20:03:17 +00:00
jenkins-bot
436f96e50b Merge "Limit the number of cached languages in MessageCache via MapCacheLRU" 2018-07-04 22:18:08 +00:00
Translation updater bot
40e3ec4b92 Localisation updates from https://translatewiki.net.
Change-Id: Ie56758895fb4a1d83a0dc372463df7907f07b08c
2018-07-04 21:53:37 +02:00
Aaron Schulz
1da16f1639 Fix CONCAT assertions in some MCR tests
Change-Id: I9507ae60751f8e9cc5e6205148cf2e37f67f42c5
2018-07-04 08:20:53 +01:00
jenkins-bot
3898d30155 Merge "mw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars" 2018-07-04 02:00:58 +00:00
jenkins-bot
2ff855cd49 Merge "Add missing use statements" 2018-07-04 00:44:28 +00:00
Bartosz Dziewoński
b718dd4581 mw.Upload.BookletLayout: Update padding/margin to match OOUI to avoid scrollbars
Change-Id: Ie3b246fcb064a04bc90fec06f6285306a013a819
2018-07-03 23:40:49 +02:00
Translation updater bot
b4f2a28c3f Localisation updates from https://translatewiki.net.
Change-Id: I3aa4ab1da349c15c6fb33c323324119aa352eff8
2018-07-03 21:54:37 +02:00
Arlo Breault
023a1ab36e Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit bbc56abd8fcc245876fc340723ed3431565b61d1

Change-Id: I463401aa3d2dd290d5ba6813e8e869f713682dd3
2018-07-03 15:02:33 -04:00
jenkins-bot
540b4fe658 Merge "Fix error in various deprecated selectFields() methods" 2018-07-03 17:20:34 +00:00
jenkins-bot
6b943d6629 Merge "Remove deprecated CONN_TRX_AUTO alias" 2018-07-03 17:08:02 +00:00
jenkins-bot
f5f8424c01 Merge "Hard deprecate wfBCP47, which was soft deprecated in 1.31" 2018-07-03 16:29:57 +00:00
Brad Jorsch
377ce5a469 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
2018-07-03 11:59:18 -04:00
jenkins-bot
c64cf861f0 Merge "build: Set Travis conf to "allow failure" for long-failing builds" 2018-07-03 15:37:45 +00:00
jenkins-bot
27188f8c3d Merge "Use CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias" 2018-07-03 15:01:03 +00:00
C. Scott Ananian
6f60ee3b27 Hard deprecate wfBCP47, which was soft deprecated in 1.31
Change-Id: I8632f08a8cb22641b5d16d955f3164dc45843520
2018-07-03 14:04:45 +00:00
jenkins-bot
7c31dc8870 Merge "mw.widgets.TitleWidget: Don't mark optional fields as invalid when empty" 2018-07-03 13:06:35 +00:00
Aaron Schulz
c9ae846db7 Remove deprecated CONN_TRX_AUTO alias
Change-Id: I0bc9b89e998cd3b324f9c72507d40a473bfb6118
2018-07-03 13:03:55 +01:00
Aaron Schulz
c121d44fd0 Use CONN_TRX_AUTOCOMMIT instead of deprecated CONN_TRX_AUTO alias
Change-Id: I23dc7052bd1ca9a9c8fec2409f3067304745043a
2018-07-03 13:03:44 +01:00
jenkins-bot
ab5edd6ea2 Merge "RESTBagOStuff: improve timeouts and logging" 2018-07-03 11:18:43 +00:00
jenkins-bot
7112ec4d64 Merge "resourceloader: Simplify ResourceLoader::isFileModule()" 2018-07-03 11:12:11 +00:00
Aaron Schulz
97e86d934b Limit the number of cached languages in MessageCache via MapCacheLRU
Change-Id: I37a128cfc553e0edaab524098461776cec3fe08a
2018-07-03 11:03:14 +00:00
jenkins-bot
be004af9a2 Merge "Add MediaWikiService::getPerDbNameStatsdDataFactory" 2018-07-03 07:58:40 +00:00
jenkins-bot
4b5773a4de Merge "rdbms: fix Sqlite::tableExists() method to avoid STATUS_TRX_ERROR" 2018-07-03 05:40:03 +00:00
Timo Tijhof
ee5eb48a0b 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
2018-07-02 18:11:42 -07:00
Timo Tijhof
f31e3902c9 resourceloader: Simplify ResourceLoader::isFileModule()
Method already has 100% test coverage.

Change-Id: I695e0ecca7a749e1721e489007f3b9f99358a96b
2018-07-02 18:04:48 -07:00
jenkins-bot
9be835917d Merge "RC Filters: Avoid unnecessary update events when clearing highlight" 2018-07-02 22:36:47 +00:00
jenkins-bot
311523b6a9 Merge "RC Filters: Lazy build menu on model initialization" 2018-07-02 22:33:30 +00:00
Kunal Mehta
83524ae39a 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
2018-07-02 22:16:03 +00:00
Kunal Mehta
6849ebc7d1 Maintenance: Don't try shelling out if it's disabled
Change-Id: Ib30c55aa9e048960f8fa66a41f7e2aa2fa03b253
2018-07-02 22:15:53 +00:00
jenkins-bot
c9f5696745 Merge "Prevent fatal error when {{#translation:}} is placed on subpage named code" 2018-07-02 21:53:10 +00:00
jenkins-bot
6f6612e86b Merge "Special:Preferences: Replace OOUI preferences CSS by LESS file" 2018-07-02 21:49:46 +00:00
jenkins-bot
4424347c47 Merge "Special:Preferences: Improve section grouping" 2018-07-02 21:47:58 +00:00
Fomafix
8b4a4b860f 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
2018-07-02 21:25:36 +00:00
Kosta Harlan
137433f1f9 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
2018-07-02 16:21:22 -04:00
Translation updater bot
569a2efe47 Localisation updates from https://translatewiki.net.
Change-Id: I8dd1dd52e3e29ae52591624bff32b8a0375afc3a
2018-07-02 21:54:08 +02:00
jenkins-bot
7ccd389f52 Merge "RC Filters: Prevent updateIfHeightChanged on tag multiselect widget" 2018-07-02 19:47:18 +00:00
addshore
72c50093a4 Add MediaWikiService::getPerDbNameStatsdDataFactory
Bug: T196609
Change-Id: I08a4909e2855e33569641166b77be5d8bf4e2c34
2018-07-02 18:31:03 +01:00
jenkins-bot
1dd2c77734 Merge "Use array_merge to merge indexed arrays in categoryChangesAsRdf.php." 2018-07-02 17:23:04 +00:00
Kosta Harlan
830efff4fc 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
2018-07-02 16:23:46 +00:00
daniel
ed5ab7c856 Use array_merge to merge indexed arrays in categoryChangesAsRdf.php.
Bug: T198356
Change-Id: Ic29568ecfc26da7e6d8c9a875232bfa4e0f9f380
2018-07-02 17:43:41 +02:00
Niklas Laxström
f14c6bb54e Prevent fatal error when {{#translation:}} is placed on subpage named code
Bug: T198518
Change-Id: Ia202e78adc53a54f95597b8701304c7f3832bf9c
2018-07-02 17:07:58 +02:00
Aaron Schulz
a98e6808ee Fix incorrect arguments to prepareContent() call in WikiPage
Bug: T198483
Change-Id: I7115a9f8c7d5a6d84b77149fda266ad05ff3274d
2018-07-02 14:46:13 +00:00
Gergő Tisza
66d5060369
Update parser tests for translation change
Bug: T198625
Change-Id: I1f52288be319f7d429a8536987cf5efc357d78c6
2018-07-02 16:20:34 +02:00
Translation updater bot
111b2a929a Localisation updates from https://translatewiki.net.
Change-Id: I1175766566835e0f1aa5d23b5fd74a23db9659de
2018-07-01 21:52:47 +02:00
Translation updater bot
8ac54ea4d3 Localisation updates from https://translatewiki.net.
Change-Id: If06de066ea51f0418a4241c33a4b7e9593a3e392
2018-06-30 21:55:47 +02:00
Volker E
40d2d66f44 Special:Preferences: Replace OOUI preferences CSS by LESS file
Also use 'mediawiki.mixins' and structure file in LESS way.

Change-Id: I3de02eb3996c1ebe9536067df593d3096a5f1eaa
2018-06-30 15:26:12 +02:00
Kosta Harlan
a9fc2863f9 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
2018-06-30 07:39:51 -04:00
jenkins-bot
ee40e6158b Merge "WikiPage: Do not set "undid revision ID" for rollbacks" 2018-06-29 23:53:29 +00:00
Bartosz Dziewoński
97c2b68a17 mw.widgets.TitleWidget: Don't mark optional fields as invalid when empty
Bug: T198402
Change-Id: I0e69f2015894ddf5ad53190740255f1c073fd76a
2018-06-30 00:54:54 +02:00