Erik Bernhardson [Mon, 22 Jul 2019 19:10:54 +0000 (12:10 -0700)]
Validate sort order in Special:Search
Providing an invalid sort order to Special:Search could trigger an
exception from the search engine when trying to apply it. Validate the
sort order, much like API classes do, and let the user know that the
sort they requested could not be applied.
We also have a unreported error for invalid profile requested, so
added that warning to the display while here.
Bug: T228171
Change-Id: I79079eea8c03a90b5b65f1dad11c99e514de00e1
jenkins-bot [Tue, 23 Jul 2019 17:13:45 +0000 (17:13 +0000)]
Merge "Make XmlDumpwriter resilient to blob store corruption."
jenkins-bot [Tue, 23 Jul 2019 16:23:02 +0000 (16:23 +0000)]
Merge "Avoid the use of silence operator (@) and use AtEase methods"
jenkins-bot [Tue, 23 Jul 2019 15:50:13 +0000 (15:50 +0000)]
Merge "filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup""
jenkins-bot [Tue, 23 Jul 2019 15:15:48 +0000 (15:15 +0000)]
Merge "filebackend: avoid use of LoadBalancer::newMainLB() in LockManagerGroup"
jenkins-bot [Tue, 23 Jul 2019 15:02:47 +0000 (15:02 +0000)]
Merge "Replace wfWiki() usage with WikiMap in some additional places"
Aaron Schulz [Tue, 23 Jul 2019 14:33:40 +0000 (07:33 -0700)]
objectcache: let BagOStuff::getWithSetCallback() callbacks modify the TTL
Also simplify the code by removing the is_callable() check and relying on
regular PHP errors instead of an exception for bad callbacks.
Change-Id: I084b0132c5fb05f1941a6d6839cfa74e2cf677f0
Brad Jorsch [Tue, 23 Jul 2019 14:23:07 +0000 (10:23 -0400)]
API: Only take HTTP code from ApiUsageException
Codes set on other Exception types are unlikely to be intended as HTTP
codes.
Bug: T228758
Change-Id: Ia6a53cb621f87ff97d5f16215a1b09ae11ca8f53
Bartosz Dziewoński [Tue, 23 Jul 2019 12:57:38 +0000 (14:57 +0200)]
Add release note for custom OOUI themes using OOUIThemePaths (T100896)
Change-Id: I98f370310d93fc178e0baf55798808fa4ece2f92
daniel [Tue, 23 Jul 2019 11:23:41 +0000 (13:23 +0200)]
Make XmlDumpwriter resilient to blob store corruption.
In the WMF databases, we have several revisions for which we cannot
load the content. They typically (but not necessarily) have
content_address = "tt:0" and content_sha1 = "" and rev_sha1 = ""
and content_size = 0 and rev_len = 0.
This patch makes sure we can still generate dumps in the presence of
such revisions.
Bug: T228720
Change-Id: Iaadad44eb5b5fe5a4f2e60da406ffc11f39c735b
jenkins-bot [Tue, 23 Jul 2019 11:01:01 +0000 (11:01 +0000)]
Merge "Update LanguageTrTest::testDottedAndDotlessI for PHP 7.3"
jenkins-bot [Tue, 23 Jul 2019 10:54:30 +0000 (10:54 +0000)]
Merge "Update OOUI to v0.33.4"
David Causse [Tue, 23 Jul 2019 08:59:41 +0000 (10:59 +0200)]
Add explicit visibility to ISearchResultSet methods
Change-Id: Ic1ad60fac6183004c4dfc110c8dfde95b57cdd9b
Derick Alangi [Wed, 12 Jun 2019 12:47:06 +0000 (13:47 +0100)]
Avoid the use of silence operator (@) and use AtEase methods
Bug: T26159
Change-Id: I973cc607fd909d47faf2773a02835af83bbc301f
Santhosh Thottingal [Tue, 23 Jul 2019 06:50:52 +0000 (12:20 +0530)]
Update LanguageTrTest::testDottedAndDotlessI for PHP 7.3
PHP 7.3+ uses Unicode CaseFolding.txt for case mappings. For Turkic
languages(tr,az) the dotted i is given as a special case and we need
to implement it specifically for tr and az.
Updated the documentation and refactored the lcfirst and ucfirst methods
to use arrays containing the above mentioned special cases.
Bug: T207100
Change-Id: I317f2ca66b0adeaa79bc0f9e3dea5edfcd5e4693
Translation updater bot [Tue, 23 Jul 2019 06:28:43 +0000 (08:28 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaa4395494b2a07ab4107c5465fb09c7ba028cd0c
James D. Forrester [Tue, 23 Jul 2019 03:30:58 +0000 (20:30 -0700)]
Update OOUI to v0.33.4
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.33.4
Bug: T171865
Bug: T224070
Depends-On: Iec2d70793459492c3cebaa735753e0afa542e7c4
Change-Id: Iec2d70793459492c3cebaa735753e0afa542e7ca
jenkins-bot [Mon, 22 Jul 2019 22:11:09 +0000 (22:11 +0000)]
Merge "Add ISearchResultSet"
jenkins-bot [Mon, 22 Jul 2019 21:45:41 +0000 (21:45 +0000)]
Merge "ChangesList: Add $groups parameter to FetchChangesList hook"
jdlrobson [Fri, 19 Jul 2019 14:46:57 +0000 (07:46 -0700)]
ChangesList: Add $groups parameter to FetchChangesList hook
This parameter is needed for consumers trying to return a $list object.
Bug: T228280
Change-Id: Ib68ff8fa782ac12479ef02247cdf78e405b64bad
jenkins-bot [Mon, 22 Jul 2019 20:58:00 +0000 (20:58 +0000)]
Merge "Fix bad method call to \MediaWiki\Widget\Search\SearchResultWidget::render"
jenkins-bot [Mon, 22 Jul 2019 20:57:44 +0000 (20:57 +0000)]
Merge "Deprecate SearchResultSet::free"
Translation updater bot [Mon, 22 Jul 2019 20:13:38 +0000 (22:13 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I08f1713b6e61980009fc99d50ccdf2f874dc1230
James D. Forrester [Mon, 22 Jul 2019 19:33:32 +0000 (12:33 -0700)]
Drop mediawiki.dic, useless and poorly updated
Change-Id: Ie48eab4e989013e425d39dd92b9545079d47bb0c
David Causse [Mon, 22 Jul 2019 15:28:48 +0000 (17:28 +0200)]
Add ISearchResultSet
Bug: T228626
Change-Id: I3306bf6107c97dd58adf578fd965bd11a422627d
Guycn2 [Sat, 19 May 2018 23:34:53 +0000 (23:34 +0000)]
Add Hebrew aliases for some special pages
I've used the same translation as the pages' titles (except for "GoToInterwiki" which doesn't have one).
Change-Id: Ibf7137636f351a31e86a4621a644b9c41cc3a73e
David Causse [Mon, 22 Jul 2019 13:25:03 +0000 (15:25 +0200)]
Fix bad method call to \MediaWiki\Widget\Search\SearchResultWidget::render
Change-Id: I6b3a65ba62a9686bdc65110cba9d61362e584051
David Causse [Mon, 22 Jul 2019 10:08:32 +0000 (12:08 +0200)]
Deprecate SearchResultSet::free
Was only called by SpecialSearch, according to IResultWrapper::free()
this method is rarely worth being called. Therefor it does not seem wise
to expose it in the upcoming interface defining a search result set.
Bug: T228626
Change-Id: I12d41a488025eb2d6dd543c9fbdc1c803c840316
jenkins-bot [Mon, 22 Jul 2019 14:49:03 +0000 (14:49 +0000)]
Merge "changes: Usage of 'noudp' & 'pleasedontudp' no longer exist"
Derick Alangi [Thu, 18 Jul 2019 10:51:08 +0000 (11:51 +0100)]
changes: Usage of 'noudp' & 'pleasedontudp' no longer exist
Since no usage exist and this was deprecated in 1.31, should it
be removed?
Now I think with the use of Phan and having $send type hinted to
a bool, if a string is used, phan will catch that? :)
Usage
=====
https://codesearch.wmflabs.org/search/?q=(%27noudp%27%7C%27pleasedontudp%27)&i=nope&files=&repos=
Change-Id: Id0482e69e2e2b1cdf0a9ece230e04323bf51324f
Ariel T. Glenn [Mon, 22 Jul 2019 07:28:51 +0000 (10:28 +0300)]
don't load revision text content unless requested to
Bug: T228614
Change-Id: Idef4d9684560110a16c6a7c074402c5a5a6e59db
Aaron Schulz [Sun, 21 Jul 2019 23:50:50 +0000 (16:50 -0700)]
rdbms: make LoadBalancer::waitForAll() include servers with load in any group
This avoids needing the hack of a server needing a generic load of 1
in configuration just to force lag checks to include it.
Change-Id: I3de41efae427acb05beddb85dd5b5943b39f1b22
jenkins-bot [Sun, 21 Jul 2019 19:41:24 +0000 (19:41 +0000)]
Merge "Do not hardcode square brackets in "rollback link""
James D. Forrester [Fri, 12 Jul 2019 23:44:38 +0000 (16:44 -0700)]
Drop wgPasswordSalt, deprecated since 1.24
Depends-On: Ic9952a1bd8563f218c3c581d4b206ebd6c6c9c44
Change-Id: I8b1d43aba62859645221caf5ff340903e4d61787
James D. Forrester [Sun, 21 Jul 2019 18:59:53 +0000 (11:59 -0700)]
Follow-up
ffd802a386: Actually disable legacy JS globals
Bug: T72470
Change-Id: I2703420afd260c1c9d0cdc17baceed12dc28f758
jenkins-bot [Sun, 21 Jul 2019 18:11:12 +0000 (18:11 +0000)]
Merge "Exclude redirects from Special:Fewestrevisions"
Derick Alangi [Sun, 21 Jul 2019 14:54:52 +0000 (15:54 +0100)]
Avoid usage of deprecated Revision::* constants
Change-Id: I2d06bbacef88573f286da25994a3ad434ed90e9c
Derick Alangi [Sun, 21 Jul 2019 14:32:13 +0000 (15:32 +0100)]
Avoid usage of deprecated Revision::* constants
Change-Id: Ibb55d5a01f997f9c79bcf2f5e09d4f02d22152d2
Aaron Schulz [Tue, 16 Jul 2019 04:06:42 +0000 (21:06 -0700)]
filerepo: make ForeignApiRepo::httpGetCached() use "pcGroup"
Given the item size, it is best to keep the cache limit small
Change-Id: Icf57a5e54046d4909535f772f1556452ccb122df
Derick Alangi [Sun, 21 Jul 2019 14:18:51 +0000 (15:18 +0100)]
api: Avoid usage of deprecated Revision::FOR_THIS_USER constant
Change-Id: I48b302ba3ea5762e2b576e972cf85d57cd73fb15
Derick Alangi [Sun, 21 Jul 2019 14:15:46 +0000 (15:15 +0100)]
action: Avoid use of deprecated Revision::* constants, use RevisionRecord
Change-Id: I09e3182cd83977d143ca7b34b791ea2cd0df0ef8
Derick Alangi [Sun, 21 Jul 2019 13:18:14 +0000 (14:18 +0100)]
Avoid usage of deprecated Revision::* constants, use RevisionRecord
Change-Id: I872fc89e5c02dd6a3ae9cd7e76640b95dc33f514
jenkins-bot [Sun, 21 Jul 2019 12:22:09 +0000 (12:22 +0000)]
Merge "maintenance: Avoid usage of deprecated Revision::* constants"
Derick Alangi [Sat, 20 Jul 2019 08:47:52 +0000 (09:47 +0100)]
maintenance: Avoid usage of deprecated Revision::* constants
Update deprecated Revision::* constants to use RevisionRecord::*
equivalents.
Change-Id: Icae1ebb088e4efadbc7c2806127a2073d337fa05
Aaron Schulz [Sun, 21 Jul 2019 08:02:49 +0000 (01:02 -0700)]
Convert LoadBalancer::getConnection() callers to LoadBalancer::getConnectionRef()
Change-Id: Ie1ae322202105ce093779e6d0b00f335c71be31f
Aaron Schulz [Sat, 29 Jun 2019 07:58:02 +0000 (00:58 -0700)]
installer: Stop offering MyISAM option for new installs and fix bogus method calls
The methods were renamed in 2010 (r68908,
c4100fb83b5b12bd).
Change-Id: I076ec8d9c11f5bd33cb0ad19e5be8e239401b9c6
jenkins-bot [Sat, 20 Jul 2019 23:53:30 +0000 (23:53 +0000)]
Merge "objectcache: reorganize WANObjectCache fields and avoid exposing internal constants"
jenkins-bot [Sat, 20 Jul 2019 23:25:47 +0000 (23:25 +0000)]
Merge "MessageCache: Fix isMainCacheable() logic for non-content languages"
Aaron Schulz [Mon, 15 Jul 2019 21:57:01 +0000 (14:57 -0700)]
objectcache: reorganize WANObjectCache fields and avoid exposing internal constants
Change-Id: I95771fc8d032939e71adba3a416894004ea0847d
jenkins-bot [Sat, 20 Jul 2019 21:31:32 +0000 (21:31 +0000)]
Merge "resourceloader: Move FilePath test to /tests/phpunit/unit"
Timo Tijhof [Fri, 19 Jul 2019 22:39:11 +0000 (23:39 +0100)]
resourceloader: Move FilePath test to /tests/phpunit/unit
Pure value object. No external dependencies.
Change-Id: If4120ca302c2fab2a41880c32e164d36566ed9de
jenkins-bot [Sat, 20 Jul 2019 06:20:45 +0000 (06:20 +0000)]
Merge "installer: Add a defined check to overrideConfig method"
jenkins-bot [Sat, 20 Jul 2019 06:17:12 +0000 (06:17 +0000)]
Merge "Increase test coverage for BlockManager class"
Roan Kattouw [Fri, 19 Jul 2019 23:51:01 +0000 (16:51 -0700)]
MessageCache: Fix isMainCacheable() logic for non-content languages
The way isMainCacheable() was used, it always returned false in
non-content languages, because it would try to find strings like
'hidetoc/fr' in the array of message keys (which contains strings like
'hidetoc').
The consequence of this was that MessageCache would check the database
for a MediaWiki:hidetoc/fr page even if it already knew that that page
didn't exist. This is a substantial performance hit when requesting lots
of messages, like when building version hashes for ResourceLoader's
startup module.
Follows-up
4fc5ba8bf83102b02.
Bug: T228555
Change-Id: I20433175ca919acc1c995f4a9cd50ca53afcdd02
jenkins-bot [Fri, 19 Jul 2019 23:13:58 +0000 (23:13 +0000)]
Merge "resourceloader: Complete test coverage for FilePath"
Timo Tijhof [Fri, 19 Jul 2019 22:36:06 +0000 (23:36 +0100)]
resourceloader: Complete test coverage for FilePath
The 'getLocalBasePath' and 'getRemoteBasePath' methods were not
yet covered.
Change-Id: If2eacca3a908048ec62b357e14e4e2322363e296
jenkins-bot [Fri, 19 Jul 2019 22:34:12 +0000 (22:34 +0000)]
Merge "API: Fix 'user_id' field of ApiCSPReport"
jenkins-bot [Fri, 19 Jul 2019 22:33:00 +0000 (22:33 +0000)]
Merge "API: Add test case for ApiCSPReportTest"
Timo Tijhof [Fri, 19 Jul 2019 21:34:34 +0000 (22:34 +0100)]
API: Fix 'user_id' field of ApiCSPReport
Was accidentally turned into an always-true boolean in
5f343617,
due to confusion with JavaScript's default '||' operator.
Change-Id: I24071e22f8bb7a296ae138303f63acdb8ea4950a
Timo Tijhof [Fri, 19 Jul 2019 21:33:31 +0000 (22:33 +0100)]
API: Add test case for ApiCSPReportTest
Covers the basic functioning of the class, as well as the specific
behaviours introduced or changed by
5f34361759 and
0ca1b8a0e621c9.
Also includes a (bad) expectation for 'user_id' (bool instead of string),
which is a bug caused by
5f34361759 that the next commit will fix.
Change-Id: I2c57c813b8a31e51a61778951227ccbd1217a547
jenkins-bot [Fri, 19 Jul 2019 21:53:46 +0000 (21:53 +0000)]
Merge "DevelopmentSettings: Disable legacy javascript globals in CI and for devs"
James D. Forrester [Fri, 19 Jul 2019 20:53:57 +0000 (13:53 -0700)]
DevelopmentSettings: Disable legacy javascript globals in CI and for devs
Bug: T72470
Change-Id: Iedd3a9c8e541bc4cc657753e6ae3389f0393ed64
James D. Forrester [Tue, 2 Jul 2019 21:58:36 +0000 (14:58 -0700)]
Drop UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(), deprecated in 1.28
Change-Id: I2411753a24092a5c37434b095e594831ecff04e1
James D. Forrester [Tue, 2 Jul 2019 21:49:49 +0000 (14:49 -0700)]
Drop the UploadVerification hook, deprecated in 1.28
Change-Id: Ic1917fc95223cbf97845c2702ddf98accf8ba9c2
jenkins-bot [Fri, 19 Jul 2019 20:32:44 +0000 (20:32 +0000)]
Merge "objectcache: add MediumSpecificBagOStuff base class for non-proxy subclasses"
jenkins-bot [Fri, 19 Jul 2019 20:24:06 +0000 (20:24 +0000)]
Merge "objectcache: refactor WANObjectCache::fetchOrRegenerate() locking code stylistically"
Aaron Schulz [Thu, 18 Jul 2019 22:43:45 +0000 (15:43 -0700)]
objectcache: refactor WANObjectCache::fetchOrRegenerate() locking code stylistically
Change-Id: I5e289989ef91923b650a9c325febd7410d1b2caf
Aaron Schulz [Thu, 11 Jul 2019 12:35:07 +0000 (05:35 -0700)]
objectcache: add MediumSpecificBagOStuff base class for non-proxy subclasses
This make it much clearer what needs to be overridden
Change-Id: I3073f8a0605f557c6a3a93d0d8401cddd0fb8dbe
jenkins-bot [Fri, 19 Jul 2019 20:00:47 +0000 (20:00 +0000)]
Merge "MediaWikiUnitTestCase: Use DIRECTORY_SEPARATOR instead of `/`"
RazeSoldier [Wed, 17 Jul 2019 17:52:18 +0000 (01:52 +0800)]
MediaWikiUnitTestCase: Use DIRECTORY_SEPARATOR instead of `/`
`strpos( $reflection->getFilename(), '/unit/' )` will always
return FALSE under Windows
Change-Id: Ib13d32858e238b9a18094f829939f6bba08366ab
jenkins-bot [Fri, 19 Jul 2019 18:36:42 +0000 (18:36 +0000)]
Merge "wdio-mediawiki: Release 0.4.0"
David Barratt [Fri, 19 Jul 2019 17:37:27 +0000 (13:37 -0400)]
Users with partial access to user rights should not be blocked
If a user has partial access to modify user rights, their partial access should
not be blocked because of a partial block.
Bug: T228534
Change-Id: I7479953f1ef99d437184e5cbbe06adedf5b7a47b
jenkins-bot [Fri, 19 Jul 2019 14:00:28 +0000 (14:00 +0000)]
Merge "Improve links in several specialmute-*"
jenkins-bot [Fri, 19 Jul 2019 13:09:11 +0000 (13:09 +0000)]
Merge "Allow empty input in namespaces multiselect on Special:Block"
jenkins-bot [Fri, 19 Jul 2019 11:53:58 +0000 (11:53 +0000)]
Merge "Clarify WikiRevision::downloadSource() and related code"
jenkins-bot [Thu, 18 Jul 2019 23:24:28 +0000 (23:24 +0000)]
Merge "resourceloader: Add Config parameter to packageFiles callbacks"
jenkins-bot [Thu, 18 Jul 2019 22:19:49 +0000 (22:19 +0000)]
Merge "Clean up DeferredUpdates transaction handling"
Amir Aharoni [Fri, 5 Jul 2019 20:19:21 +0000 (23:19 +0300)]
Improve links in several specialmute-*
* Remove namespace prefix from user page links
* Add "user" as translatable text instead
Bug: T218265
Change-Id: If20b9023379f00e0b82992322e340362613dce09
Roan Kattouw [Thu, 18 Jul 2019 21:48:42 +0000 (14:48 -0700)]
resourceloader: Add Config parameter to packageFiles callbacks
Callbacks used to generate the contents of virtual files in packageFiles
modules only received a ResourceLoaderContext object. They could access
the Config object through ResourceLoaderContext::getConfig(), but that
method is deprecated. Pass the Config object as a second parameter to
these callbacks, so that they don't have to use a deprecated method.
Change-Id: Ia4666914e9b07f298ee5ae30ae8c70a3e83b0910
jdlrobson [Tue, 2 Apr 2019 23:33:34 +0000 (16:33 -0700)]
Do not hardcode square brackets in "rollback link"
Additional change:
* standardize on "optional" lowercase in qqq messages
Bug: T219948
Change-Id: I7d79c0ca534bff7165975943d5fa22dfe0a616db
David Barratt [Thu, 18 Jul 2019 21:29:46 +0000 (17:29 -0400)]
Do not block autopromote on partial blocks
Currently, a partial block will block an autopromote, this should not be the
case. Instead, autopromote will only be blocked by sitewide blocks.
Bug: T228479
Change-Id: Id945b6ab374cb49c4a265b5ca149e13b68d4acac
Thalia [Mon, 17 Jun 2019 16:59:02 +0000 (17:59 +0100)]
Increase test coverage for BlockManager class
Change-Id: If2c50248448f3f633d9531039094f12c7d712c41
jenkins-bot [Thu, 18 Jul 2019 20:49:41 +0000 (20:49 +0000)]
Merge "SiteConfigurationTest: Fix recurring typo ("an non-existing")"
Aaron Schulz [Thu, 18 Jul 2019 19:27:07 +0000 (12:27 -0700)]
Clean up DeferredUpdates transaction handling
Bail out in attemptUpdate() if the transaction state is dirty rather
that failing at some later point. Also, flush implicit transaction
rounds before calling DeferrableUpdate::doUpdate() for fresher data.
Bug: T225103
Change-Id: I4f5d2f9814a562069619f05e003663fcedbd3f64
jenkins-bot [Thu, 18 Jul 2019 19:39:10 +0000 (19:39 +0000)]
Merge "Separate right for foreign user js redirects"
jenkins-bot [Thu, 18 Jul 2019 18:46:17 +0000 (18:46 +0000)]
Merge "Revert "objectcache: fix race conditions in RedisBagOStuff::incr()""
Krinkle [Thu, 18 Jul 2019 16:41:24 +0000 (16:41 +0000)]
Revert "objectcache: fix race conditions in RedisBagOStuff::incr()"
This commit reverts most of
7e647d2f0f5b, but keeps unrelated code
clean ups from it, as well as the conflicting changes from
d8b952ae47.
From WMF production nutcracker:
> nc_redis.c parsed unsupported command 'WATCH'
The use of WATCH, in addition to failing the commands that use it,
also appears to also have caused a chain reaction making nutcracker
intermittently unavailable to other web requests.
Bug: T228303
Change-Id: Ic37efc2963b147e461837571ae0b65acf3f60cb4
jenkins-bot [Thu, 18 Jul 2019 17:43:16 +0000 (17:43 +0000)]
Merge "GlobalFunctions: Hard deprecate `wfGlobalCacheKey()` function"
jenkins-bot [Thu, 18 Jul 2019 17:37:07 +0000 (17:37 +0000)]
Merge "Fix param doc of TitleArrayFromResult::setCurrent"
Umherirrender [Tue, 2 Jul 2019 20:00:14 +0000 (22:00 +0200)]
Pass message params as array to RawMessage
To match documentation of RawMessage::__construct
Change-Id: I4d9fce6b63af89a0012c9eaac72c0b46f75b43ac
Umherirrender [Sat, 29 Jun 2019 16:14:36 +0000 (18:14 +0200)]
Fix param doc of TitleArrayFromResult::setCurrent
$row is a stdClass, not the ResultWrapper, which is a list of stdClass
Change-Id: Ic96354a6283fcf42ac1c75f524f1da45117100ce
Thalia [Thu, 18 Jul 2019 14:48:09 +0000 (15:48 +0100)]
Allow empty input in namespaces multiselect on Special:Block
Follow-up to
83ebbb519f
Bug: T219882
Change-Id: I5f3d907a8f8be02f9e2c23d2a66c42752daa38b5
Dbarratt [Thu, 18 Jul 2019 15:39:09 +0000 (15:39 +0000)]
Merge "Add support for extentions to change Special:Mute form"
jenkins-bot [Thu, 18 Jul 2019 15:28:13 +0000 (15:28 +0000)]
Merge "objectcache: optimize MemcachedPeclBagOStuff::*Multi() write methods"
Pablo Grass [Thu, 18 Jul 2019 14:08:54 +0000 (16:08 +0200)]
wdio-mediawiki: Release 0.4.0
a1e51bf94325130fa3d54d65c071d3ab57a4ab79 unpublished 3 RunJobs methods
They do not appear to be used according to wmf codesearch
and, given their limited usefulness, are unlikely to be used elsewhere.
Change-Id: Iaefe6f71320c2c3ab86468bf827b6e8d2e80095d
Dayllan Maza [Mon, 1 Jul 2019 14:14:42 +0000 (10:14 -0400)]
Add support for extentions to change Special:Mute form
The hook (SpecialMuteModifyFormFields) is used to append
the option to mute/unmute notifications from a specified user.
Special:Mute handles posting and saving the fields, the only
requirement is that the field name is the same as the property
that wants to be modified.
Currently there are only two notifications "blacklists":
* `email-blacklist` is directly handled in this page 'cause it is part of core.
* `echo-notifications-blacklist` is part of Echo, so this change is required
to support it. See I77b3ccfdce9b501e
Bug: T220163
Change-Id: I2b3eee0802cb086091f35ecce13ae77a8e7d518d
Derick Alangi [Thu, 18 Jul 2019 08:22:01 +0000 (09:22 +0100)]
GlobalFunctions: Hard deprecate `wfGlobalCacheKey()` function
The only extension that used this was ConfirmEdit and it has been
cleaned up with Ia7b276ee65fdf58c, so is it time we hard deprecate
it?
Usage
=====
https://codesearch.wmflabs.org/search/?q=%5CbwfGlobalCacheKey%5Cb&i=nope&files=&repos=
Depends-On: Ia7b276ee65fdf58c4fc0859563930528d44a03ca
Change-Id: I3fda797c64ec62df4454625ad1a3bf89f6a88246
Raymond [Thu, 18 Jul 2019 07:49:57 +0000 (09:49 +0200)]
Delete very incomplete translation
Change-Id: Ic8df4cc9894a366148632dbb2a97803cd6feccef
Translation updater bot [Thu, 18 Jul 2019 07:06:38 +0000 (09:06 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I06dcc9ee33533abbfa09d8ae7bafd6f6547f0e22
jenkins-bot [Thu, 18 Jul 2019 06:39:29 +0000 (06:39 +0000)]
Merge "objectcache: fix WinCacheBagOStuf::doGet() is_string() check"