Timo Tijhof [Thu, 12 Jul 2018 20:09:28 +0000 (13:09 -0700)]
resourceloader: Combine base modules and page modules requests
This commit implements step 4 and step 5 of the plan outlined at T192623.
Before this task began, the typical JavaScript execution flow was:
* HTML triggers request for startup module (js req 1).
* Startup module contains registry, site config, and triggers
a request for the base modules (js req 2).
* After the base modules arrive (which define jQuery and mw.loader),
the startup module invokes a callback that processes RLQ,
which is what will request modules for this page (js req 3).
In past weeks, we have:
* Made mediawiki.js independent of jQuery.
* Spun off 'mediawiki.base' from mediawiki.js – for everything
that wasn't needed for defining `mw.loader`.
* Moved mediawiki.js from the base module request to being embedded
as part of startup.js.
The concept of dependencies is native to ResourceLoader, and thanks to the
use of closures in mw.loader.implement() responses, we can download any
number of interdependant modules in a single request (or parallel requests).
Then, when a response arrives, mw.loader takes care to pause or resume
execution as-needed. It is normal for ResourceLoader to batch several modules
together, including their dependencies.
As such, we can eliminate one of the two roundtrips required before a
page can request modules. Specifically, we can eliminate "js req 2" (above),
by making the two remaining base modules ("jquery" and "mediawiki.base") an
implied dependency for all other modules, which ResourceLoader will naturally
fetch and execute in the right order as part of the batch request.
Bug: T192623
Change-Id: I17cd13dffebd6ae476044d8d038dc3974a1fa176
jenkins-bot [Tue, 7 Aug 2018 22:43:21 +0000 (22:43 +0000)]
Merge "easydeflate.js: Use LF instead of CRLF as newline"
jenkins-bot [Tue, 7 Aug 2018 22:10:59 +0000 (22:10 +0000)]
Merge "EditPage: Declare 'mediawiki.toolbar' needed for inline script"
jenkins-bot [Tue, 7 Aug 2018 21:33:29 +0000 (21:33 +0000)]
Merge "startup: Add support for module-requirement to RLQ"
jenkins-bot [Tue, 7 Aug 2018 21:14:34 +0000 (21:14 +0000)]
Merge "Remove @override annotation"
jenkins-bot [Tue, 7 Aug 2018 20:44:35 +0000 (20:44 +0000)]
Merge "Do not generate negative page counts in dump"
Translation updater bot [Tue, 7 Aug 2018 20:04:49 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8aa27c80578e4a84f8678a15a014ccfa9134323f
jenkins-bot [Tue, 7 Aug 2018 19:36:32 +0000 (19:36 +0000)]
Merge "resourceloader: Give module eval the ContentSecurityPolicy nonce"
jenkins-bot [Tue, 7 Aug 2018 19:20:04 +0000 (19:20 +0000)]
Merge "Updating CREDITS (MW contributors) file"
Timo Tijhof [Tue, 7 Aug 2018 18:45:10 +0000 (19:45 +0100)]
EditPage: Declare 'mediawiki.toolbar' needed for inline script
Switch from passing a plain function to RLQ that calls depends
on using() from 'mediawiki.base' and 'jquery', to using the new
array format introduced in Ica7bb9c3bdb (T192623).
This ensures the code will keep after we change the fact that
RLQ is blocked by base modules.
Bug: T192623
Change-Id: Id50e6dcc28c13b021d8395a2da0d83b46f88e18c
jenkins-bot [Tue, 7 Aug 2018 18:47:53 +0000 (18:47 +0000)]
Merge "Fix incorrect method name"
jenkins-bot [Tue, 7 Aug 2018 18:47:47 +0000 (18:47 +0000)]
Merge "Avoid ChronologyProtector warnings in the web upgrader"
Timo Tijhof [Tue, 7 Aug 2018 17:28:44 +0000 (18:28 +0100)]
startup: Add support for module-requirement to RLQ
* Add more inline documentation.
* Use [0] instead of needless 'length'. (Optimisation)
* Don't lazy-create NORLQ as empty array only to dereference
it two statements later. (Optimisation)
* Add support for a secondary signature to RLQ.push.
The existing signature is a plain callback function that is
execute immediately after startup.
The new signature is an array of `[ string|Array, Function ]`
where the first value is required module(s), and
the second value is the callback function.
startup.js will leave the second form in the array, processing
them instead in 'mediawiki.base'.
This change is needed before I17cd13dffebd6a (T192623), which
will remove the undocumented behaviour of RLQ callbacks firing
only after base modules arrive, which means we need to provide
authors of inline scripts an alternate means of scheduling
callbacks for after 'jquery' and/or 'mediawiki.base' arrive.
Bug: T192623
Change-Id: Ica7bb9c3bdb77d96ca2e01530a76f7ca448acdb8
jenkins-bot [Tue, 7 Aug 2018 18:00:58 +0000 (18:00 +0000)]
Merge "Replace @remarks by @note"
jenkins-bot [Tue, 7 Aug 2018 17:39:28 +0000 (17:39 +0000)]
Merge "Remove @abstract annotation"
jenkins-bot [Tue, 7 Aug 2018 17:31:09 +0000 (17:31 +0000)]
Merge "Whitelist phpcs Squiz.Scope.MemberVarScope in PHPVersionCheck"
jenkins-bot [Tue, 7 Aug 2018 17:00:08 +0000 (17:00 +0000)]
Merge "Remove @uses annotation from XhprofDataTest"
Brian Wolff [Mon, 2 Jul 2018 06:19:43 +0000 (06:19 +0000)]
resourceloader: Give module eval the ContentSecurityPolicy nonce
Previously domEval didn't have CSP nonces, causing it to violate
the policy.
Also removes the meta tag scheme, as I could not make it compatible
with how RL storage works using domEval instead of real eval() and
it didn't provide much protection anyways.
Bug: T196923
Change-Id: I3cd2d7cc295c39b498d0bf37915d4ba167fdd48c
Aryeh Gregor [Mon, 6 Aug 2018 17:33:35 +0000 (20:33 +0300)]
Fix incorrect method name
getTimestamp() returns the timestamp of the revision, and as far as I
can tell that's null here, presumably because we haven't saved the
content and thus there is no revision. getCacheTime() returns the time
when the page was parsed, which is probably what we want.
Change-Id: I7dc446800656236f6ecc872a65e620881e434c54
jenkins-bot [Tue, 7 Aug 2018 12:32:28 +0000 (12:32 +0000)]
Merge "Add safeguard against loading content across wikis."
Umherirrender [Tue, 7 Aug 2018 10:39:46 +0000 (12:39 +0200)]
Whitelist phpcs Squiz.Scope.MemberVarScope in PHPVersionCheck
The class supports php4 and the visibility private does not work there.
Change-Id: I9cbffe437a1d1f4243f0b70bd881cdc8b8257537
Umherirrender [Tue, 7 Aug 2018 10:16:24 +0000 (12:16 +0200)]
Remove @abstract annotation
Doxygen does not know about this annotation
Change-Id: I4ad8f81d92574f1e3d91581627ec753f6dd1473d
Umherirrender [Tue, 7 Aug 2018 10:14:48 +0000 (12:14 +0200)]
Remove @override annotation
Doxygen does not know about this annotation
Change-Id: I5a2cac83899acd6954caba16da5023fe1ce09c50
Umherirrender [Tue, 7 Aug 2018 10:12:13 +0000 (12:12 +0200)]
Replace @remarks by @note
@remarks is uncommon and blacklist in phpcs
Change-Id: Ia21f340ad75f0f007fea8b1b79e16ab889a74d0c
Umherirrender [Tue, 7 Aug 2018 10:07:00 +0000 (12:07 +0200)]
Remove @uses annotation from XhprofDataTest
The use of a class is visible by the code or @covers
Change-Id: I1acec60da4b524c171686402a01424d66e9fc99f
Prateek Saxena [Tue, 7 Aug 2018 05:14:55 +0000 (10:44 +0530)]
LogEventsList: Stop showing deprecation warning when $input is empty
Follows-up on I697e158887fcca1da88763a4c929a981d9211490
Bug: T201006
Change-Id: I140cde3f71e2bd8106f0c0ce7da1ec822a8da072
Tim Starling [Mon, 6 Aug 2018 02:30:51 +0000 (12:30 +1000)]
RemexCompatMunger: Don't call endTag() in case B/b
This was naïve, the linked bug documents a case where endTag() was
called despite children of the p-wrap still being in TreeBuilder's
stack. Instead, wait for the parent of the p-wrap to have endTag()
called on it, I've submitted a patch which will clean up the node in
that case.
Bug: T200827
Change-Id: I34694813eace9cadabf2db8f9ccca83d1368cfad
jenkins-bot [Tue, 7 Aug 2018 03:31:19 +0000 (03:31 +0000)]
Merge "Make maintenance scripts fail on unknown parameters"
jenkins-bot [Mon, 6 Aug 2018 21:17:26 +0000 (21:17 +0000)]
Merge "Do not return invalid hash from ApiStashEdit"
Aryeh Gregor [Mon, 6 Aug 2018 16:54:04 +0000 (19:54 +0300)]
Do not return invalid hash from ApiStashEdit
If we were rate-limited, we don't store a new hash, so we shouldn't
return a new one. If we received a hash from the client, however, that
should still be valid, so we can return it.
Change-Id: Ifc37ae044172b8838fee15d539b076a0d0f02f22
Fomafix [Mon, 6 Aug 2018 20:41:08 +0000 (22:41 +0200)]
easydeflate.js: Use LF instead of CRLF as newline
Also add a newline at the end of the file.
Change-Id: I4c2c7814d16f066553faaaa7f0b98275a294b7c0
Fomafix [Mon, 6 Aug 2018 17:26:12 +0000 (19:26 +0200)]
mediawiki.util: Remove deprecated noop function mw.util.init()
The function mw.util.init() is since
06a0dec0 (Release 1.30) a
deprecated no-op function.
Change-Id: Ie3806e7fba0e63a75e9a830b2eb4485011e43cf1
jenkins-bot [Mon, 6 Aug 2018 20:31:59 +0000 (20:31 +0000)]
Merge "Clean up param handling in ApiStashEdit"
Translation updater bot [Mon, 6 Aug 2018 19:59:15 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I88c9666f85d861c8a55aadd8d9476a27835ba777
Bill Pirkle [Thu, 2 Aug 2018 20:10:31 +0000 (15:10 -0500)]
Make maintenance scripts fail on unknown parameters
Passing parameters not registered via standard mechanisms
(addOption/$optionsWithArgs/$optionsWihtoutArgs) will now
cause an error, unless, the script opts out via the new
setAllowUnregisteredOptions/$allowUnregisteredOptions.
Bug: T110209
Change-Id: I21957837f10852169ca3e1eeca9bf1f4052f8c0b
Alangi Derick [Mon, 6 Aug 2018 17:38:18 +0000 (18:38 +0100)]
Updating CREDITS (MW contributors) file
Change-Id: I365f533b2bade1f9f2db412bc7815321e97dab2e
Aryeh Gregor [Mon, 6 Aug 2018 16:53:45 +0000 (19:53 +0300)]
Clean up param handling in ApiStashEdit
It doesn't make sense to submit both stashedtexthash and text, so
requireOnlyOneParameter() is correct. This simplifies the code and
gives a more helpful error message. (Previously if both parameters were
passed, we would ignore text unless stashedtexthash was empty, in which
case we would ignore it.)
Change-Id: I306b15eefb6fd4379a3eed88d84113c2e43c4a95
jenkins-bot [Mon, 6 Aug 2018 18:20:22 +0000 (18:20 +0000)]
Merge "Use localised language name for Santali"
Umherirrender [Mon, 6 Aug 2018 15:38:47 +0000 (17:38 +0200)]
Remove comment about fixed codesniffer bug
Fix was part of 21.0.0 (or earlier)
Change-Id: I378aea5cac5a2191e859c89a781e64bf647841d7
jenkins-bot [Mon, 6 Aug 2018 15:20:52 +0000 (15:20 +0000)]
Merge "Fix param doc of MysqlMaintenance::runMysql"
MarcoAurelio [Mon, 6 Aug 2018 09:44:54 +0000 (09:44 +0000)]
Use localised language name for Santali
Change-Id: I53f36eb81c1a446c9424074a3993115b55f496df
jenkins-bot [Mon, 6 Aug 2018 13:46:30 +0000 (13:46 +0000)]
Merge "Change name of Santali to localized version"
daniel [Mon, 6 Aug 2018 12:31:04 +0000 (14:31 +0200)]
Add safeguard against loading content across wikis.
The new MCR schema enables cross-wiki loading of page content,
but this mechanism doesn't work as long as the new code is reading from
the old schema. This is what caused T201194.
Bug: T201194
Change-Id: I58af7a9e02780c55cd8fab20f19be36a0fa804da
jenkins-bot [Mon, 6 Aug 2018 13:30:58 +0000 (13:30 +0000)]
Merge "Add language support for Western Armenian (hyw)"
GeoffreyT2000 [Fri, 9 Feb 2018 01:22:23 +0000 (17:22 -0800)]
Use log_page as the rc_cur_id for log entries in rebuildrecentchanges.php
Using the log_page field as the rc_cur_id would make looking in the page table for the page_id entirely redundant.
Bug: T186840
Change-Id: I8b013f89749a94f9c795f29a78535dcf33112905
MarcoAurelio [Mon, 6 Aug 2018 10:38:14 +0000 (12:38 +0200)]
Add language support for Western Armenian (hyw)
* Language name: Western Armenian <https://www.ethnologue.com/language/hyw>.
* Local version: արեւմտահայերէն
* ISO639-3: hyw <https://iso639-3.sil.org/code/hyw>.
* Fallback: Armenian (hy).
Bug: T201276
Change-Id: Ic76d7a9a1fa8541fd422a4287044de4daaa6665d
GeoffreyT2000 [Wed, 21 Feb 2018 00:32:03 +0000 (16:32 -0800)]
Set the previous size for page creations to zero in rebuildrecentchanges.php
The rebuildrecentchanges.php script should set the previous size for page creations to zero, not null, in order to make the new page's size actually appear on Special:RecentChanges.
Bug: T187842
Change-Id: I9823c5fe6f0503208b347e1ece9a1f894dba24c3
Umherirrender [Mon, 6 Aug 2018 08:58:53 +0000 (10:58 +0200)]
Fix param doc of MysqlMaintenance::runMysql
Add missing var name and type
Change-Id: I26c84723ee28b21f6b9b654d9507ed680c07055a
jenkins-bot [Mon, 6 Aug 2018 05:10:01 +0000 (05:10 +0000)]
Merge "Clarify IDatabase docs for upsert() and replace()"
Martin Urbanec [Sun, 5 Aug 2018 16:30:28 +0000 (18:30 +0200)]
Change name of Santali to localized version
Bug: T198400
Change-Id: Id2bbcfebf32903c4d8882e2b4f18f37a8a5c3366
Adam Wight [Thu, 5 Jul 2018 12:41:54 +0000 (14:41 +0200)]
Give a bit of love to EditPage docstrings
Change-Id: I9dea576f0cf5ba0ffe1cfba81bfe519e2ae19eeb
jenkins-bot [Fri, 3 Aug 2018 23:12:59 +0000 (23:12 +0000)]
Merge "Don't pass false as a wikiId to invalidateModuleCache()"
Translation updater bot [Fri, 3 Aug 2018 20:13:21 +0000 (22:13 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I97fd57935a2353b8bce000d925b5605ec0f5998b
daniel [Fri, 3 Aug 2018 12:47:29 +0000 (14:47 +0200)]
Don't pass false as a wikiId to invalidateModuleCache()
Using false to represent the local wiki is supported in many places in core,
but not in invalidateModuleCache
Bug: T199416
Change-Id: I5cb93c173295261bf5fcf6c77c197a80c4aac1a2
jenkins-bot [Fri, 3 Aug 2018 11:57:15 +0000 (11:57 +0000)]
Merge "Fix article counting logic in DerivedPageDataUpdater"
Gergő Tisza [Wed, 1 Aug 2018 12:22:37 +0000 (14:22 +0200)]
Fix article counting logic in DerivedPageDataUpdater
Use old state of the page if we have it.
Bug: T200823
Change-Id: Iff29731a127ef32baec5970dcbc25a0a5c3eb4d9
jenkins-bot [Fri, 3 Aug 2018 04:52:25 +0000 (04:52 +0000)]
Merge "Update Parser to use ContentLanguage"
jenkins-bot [Fri, 3 Aug 2018 04:47:20 +0000 (04:47 +0000)]
Merge "Update MagicWord to use ContentLanguage"
Aryeh Gregor [Thu, 26 Jul 2018 12:37:13 +0000 (15:37 +0300)]
Update Parser to use ContentLanguage
Bug: T200246
Change-Id: Ie54677706ec175189c3ff52342a9d8ac2f5d90d8
Stanislav Malyshev [Fri, 3 Aug 2018 01:01:11 +0000 (18:01 -0700)]
Do not generate negative page counts in dump
Due to T201119, some counts are not in sync. We are assuming
that in this case page count is just 0.
Change-Id: Iffd24270db6d852839d6922aa492c1975bf185e0
jenkins-bot [Thu, 2 Aug 2018 20:42:22 +0000 (20:42 +0000)]
Merge "Document cross-wiki cache sharing logic."
jenkins-bot [Thu, 2 Aug 2018 20:39:54 +0000 (20:39 +0000)]
Merge "Introduce RevisionStoreFactory & Tests"
jenkins-bot [Thu, 2 Aug 2018 20:35:13 +0000 (20:35 +0000)]
Merge "Fix PerDbnameStatsdDataFactory metric prefix again"
jenkins-bot [Thu, 2 Aug 2018 20:07:54 +0000 (20:07 +0000)]
Merge "Special:NewPages: Add hidden fields using HTMLForm"
Translation updater bot [Thu, 2 Aug 2018 19:53:50 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I9da106f20435128ca449c1a6785c6ecf2bb42a2d
daniel [Thu, 2 Aug 2018 15:49:27 +0000 (17:49 +0200)]
Document cross-wiki cache sharing logic.
This makes explicit the fact that some classes can use the local wiki's default
WANObjectCache instance while still sharing cache entries between wikis.
Bug: T198704
Change-Id: Ic29f79e4b4bd6bdaa844049962a163e72a59c45a
addshore [Wed, 27 Jun 2018 12:16:35 +0000 (13:16 +0100)]
Introduce RevisionStoreFactory & Tests
This is based on I0a8a441b803, which was reverted because it was
incomplete.
Bug: T198701
Change-Id: I3e4a5f1ef687418c06dfc979cfe04da336e876b1
jenkins-bot [Thu, 2 Aug 2018 18:36:12 +0000 (18:36 +0000)]
Merge "Remove deprecated variable usage from Maintenance.php"
Bartosz Dziewoński [Thu, 2 Aug 2018 18:17:03 +0000 (18:17 +0000)]
Merge "Update OOUI to v0.27.6"
Timo Tijhof [Thu, 2 Aug 2018 15:16:17 +0000 (16:16 +0100)]
Follows-up
d78869207
* File systems may be case-sensitive.
* Use ::class syntax for class literals.
Change-Id: Ia126b0b3a8fa702bf046e9539878a90e09fe9da7
jenkins-bot [Thu, 2 Aug 2018 15:43:26 +0000 (15:43 +0000)]
Merge "Add an explicit check for correct operation to ExifRotationTest"
Gergő Tisza [Sun, 10 Jun 2018 23:05:59 +0000 (01:05 +0200)]
Add maintenance script for deleting local passwords
This is mainly for the benefit of authentication extensions which
all need similar functionality for removing local passwords on a
wiki where local authentication was used for a while but has been
disabled, but can be used directly to just indiscriminately remove
the passwords of all users.
To test the change without irreversibly locking out users, an
option is provided to make the password invalid in an
easy-to-reverse way.
The immediate use case is I974184899c33.
This patch also introduces the maintenance/includes directory
to hold PHP files which are not executable scripts themselves.
(Previously such files had a .inc extension, but that is so PHP4.)
Bug: T57420
Change-Id: If7207b80a2c8374e90182e0b09d8f76ee94264b0
Kunal Mehta [Sun, 2 Oct 2016 07:41:55 +0000 (00:41 -0700)]
Add PasswordFactory to MediaWikiServices
Instead of having basically every caller do:
$pf = new PasswordFactory();
$pf->init( RequestContext::getMain()->getConfig() );
Just create a single PasswordFactory via MediaWikiServices and pass that
around. Things that want to use their own config can still pass settings
via the new constructor.
This will eventually let us remove the init() function, removing the
only hard dependency upon MediaWiki, to make it easier to librarize
(T89742).
Change-Id: I0fc7520dc023b11a7fa66083eff7b88ebfe49c7b
jenkins-bot [Thu, 2 Aug 2018 12:56:42 +0000 (12:56 +0000)]
Merge "Document Parser::$mFirstCall"
jenkins-bot [Thu, 2 Aug 2018 10:49:17 +0000 (10:49 +0000)]
Merge "Don't generate RC entries for filterable log types"
jenkins-bot [Thu, 2 Aug 2018 10:22:22 +0000 (10:22 +0000)]
Merge "ChangesList: HTML escape the timestamp"
jenkins-bot [Thu, 2 Aug 2018 10:15:50 +0000 (10:15 +0000)]
Merge "Force phan-taint-check to think LogFormatter stuff is safe for html"
Brian Wolff [Fri, 6 Jul 2018 01:02:45 +0000 (01:02 +0000)]
ChangesList: HTML escape the timestamp
Bug: T197002
Change-Id: Ib695674b9dc28a2f864f330e578cee6a1a7a4219
Kunal Mehta [Thu, 2 Aug 2018 08:57:53 +0000 (01:57 -0700)]
Document Parser::$mFirstCall
And don't bother checking its value in clearState(), since firstCallInit()
will do that anyways.
Change-Id: Ibc5e809daa614e99be91d65a363de4f697e6afa5
Prateek Saxena [Thu, 2 Aug 2018 04:49:47 +0000 (10:19 +0530)]
Special:NewPages: Add hidden fields using HTMLForm
Follows-up on I14297c2322a93ed0a0745e46561b9620f1c95f6a.
Change-Id: Id5c24d33b1e857183a6f859989b95c03bcf22ef5
jenkins-bot [Thu, 2 Aug 2018 03:03:22 +0000 (03:03 +0000)]
Merge "Improve OutputPage test coverage more"
jenkins-bot [Thu, 2 Aug 2018 02:52:29 +0000 (02:52 +0000)]
Merge "Update ServiceWiring to use ContentLanguage"
jenkins-bot [Thu, 2 Aug 2018 02:52:23 +0000 (02:52 +0000)]
Merge "Introduce ContentLanguage service to replace $wgContLang"
jenkins-bot [Thu, 2 Aug 2018 02:44:38 +0000 (02:44 +0000)]
Merge "Test ApiQuerySiteinfo"
jenkins-bot [Thu, 2 Aug 2018 02:26:33 +0000 (02:26 +0000)]
Merge "Automatically reset namespace caches when needed"
jenkins-bot [Thu, 2 Aug 2018 02:14:50 +0000 (02:14 +0000)]
Merge "Reset interwiki table between tests"
jenkins-bot [Thu, 2 Aug 2018 02:10:59 +0000 (02:10 +0000)]
Merge "New helper ApiTestCase::setExpectedApiException()"
Max Semenik [Thu, 2 Aug 2018 01:26:41 +0000 (18:26 -0700)]
Add an explicit check for correct operation to ExifRotationTest
Makes debugging test failures way easier than just trying to figure out
what errors a couple lines below mean.
Change-Id: I8e7f6b14cef0954c72b22805eee512051a2b3c86
jenkins-bot [Wed, 1 Aug 2018 23:55:48 +0000 (23:55 +0000)]
Merge "travis: No longer allow failures for postgres"
Kunal Mehta [Wed, 1 Aug 2018 23:33:56 +0000 (16:33 -0700)]
travis: No longer allow failures for postgres
Passing as of <https://travis-ci.org/wikimedia/mediawiki/builds/
411039858>,
when PHPUnit tests that fail under postgres were temporarily disabled.
Change-Id: I569f451bc691256a1821cb557f263e49fed347f0
Volker E [Wed, 1 Aug 2018 22:51:30 +0000 (00:51 +0200)]
Update OOUI to v0.27.6
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.27.6
Depends-on: If801580bea0785e2cfb3d90e3abd058a7f00e0f9
Change-Id: Iaf66183f1c1899e2981aa0d8c1efd4ada404b917
jenkins-bot [Wed, 1 Aug 2018 22:50:19 +0000 (22:50 +0000)]
Merge "Disable PHPUnit tests that fail under postgres"
jenkins-bot [Wed, 1 Aug 2018 22:50:14 +0000 (22:50 +0000)]
Merge "Disable PHPUnit tests that fail under sqlite"
jenkins-bot [Wed, 1 Aug 2018 22:50:09 +0000 (22:50 +0000)]
Merge "Introduce MediaWikiTestCase::markTestSkippedIfDbType()"
Kunal Mehta [Wed, 1 Aug 2018 07:25:32 +0000 (00:25 -0700)]
Disable PHPUnit tests that fail under postgres
So we can make the job voting, preventing other tests from regressing.
These tests can be re-enabled whenever they're made to pass.
Bug: T195807
Change-Id: I58261dd70eea3581803987a4a7739c7d55558f42
addshore [Wed, 1 Aug 2018 21:22:13 +0000 (22:22 +0100)]
Fix PerDbnameStatsdDataFactory metric prefix again
prefix = 'MediaWiki.' will result in 'MediaWiki..dbname'
Preventing that is the only purpose of the rtrim(), we don't support
whitespace there
Change-Id: I72383aae908dbc89688cd3bebba36d389cde3f29
jenkins-bot [Wed, 1 Aug 2018 20:09:13 +0000 (20:09 +0000)]
Merge "Move generic HTMLSizeFilterField styles from newpages.less"
jenkins-bot [Wed, 1 Aug 2018 20:09:07 +0000 (20:09 +0000)]
Merge "SpecialNewpages: Preserve values of show/hide links on form submission"
Translation updater bot [Wed, 1 Aug 2018 19:54:43 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I7b11a5e557e877553594ed439f02b107d44d3c64
jenkins-bot [Wed, 1 Aug 2018 18:45:41 +0000 (18:45 +0000)]
Merge "SpecialNewPages: Fix omitted Show/Hide redirect value"