Commit graph

2637 commits

Author SHA1 Message Date
jenkins-bot 2c95156a8e Merge "Improve param docs" 2019-05-25 22:33:25 +00:00
Umherirrender 72900c1ac5 Improve param docs
Change-Id: Ie0619f6f946e651df9c102f0f4f305c15b10eab4
2019-05-23 21:16:12 +02:00
Porplemontage e8c475dc8d Fix bug in Captcha::confirmEditMerged which breaks the $wgCaptchaRegex check
Change the passing of $section to an empty string instead of false to properly comply with its type and the check in Captcha::loadText

Bug: T211848
Change-Id: I0555f7fbe246b0a4741759aee5b265b4f2cc3843
2019-05-22 22:33:53 +00:00
Translation updater bot 8cd61174f0 Localisation updates from https://translatewiki.net.
Change-Id: Ib0263ea11c8eee0ac16ec9886e7be6edbf38cca6
2019-05-22 22:30:26 +02:00
Translation updater bot 1287c7b41d Localisation updates from https://translatewiki.net.
Change-Id: I06f3fcd7b05e3e106e95ee4ae92ff94c5a9c4201
2019-05-20 22:28:49 +02:00
jenkins-bot 9f3eddca2e Merge "Improve error messages on deleteOldFancyCaptchas maintenance script" 2019-05-20 05:24:20 +00:00
Florian a46515f782 Do not ignore message parameters
The return value of the getMessage function is intentionally a Message
object (which can have different stuff, be a RawMessage or contain
parameters. Just getting the key of the message, passing it to another
function which just creates a new message out of it, doesn't make sense
and breaks the original intention of the method.

This is now fixed by this change.

Bug: T222590
Change-Id: Id8ebba6b8239e6eee4be698680edcafad6c86cb0
2019-05-18 21:27:16 +02:00
Translation updater bot 5fd77ca1d0 Localisation updates from https://translatewiki.net.
Change-Id: Ica38b09b802998fc9268eba1bd234d226774115e
2019-05-15 09:12:32 +02:00
Translation updater bot b485f56c97 Localisation updates from https://translatewiki.net.
Change-Id: I2f6091b72697e22395e7afb0e9b6c6acb36ace38
2019-05-12 22:33:16 +02:00
Umherirrender 911086980b Improve error messages on deleteOldFancyCaptchas maintenance script
StatusValue::getErrors returns an array of messages, not strings.
It cannot be use on implode(). Use wikitext as it the most readable on
the console

Change-Id: I4b794597f9bf35d3bc34c7d2c7691ee53d43b017
2019-05-10 18:23:40 +02:00
Translation updater bot 50ea5ffe3a Localisation updates from https://translatewiki.net.
Change-Id: If56327536235571236ad8672a4b4d3cef1128a53
2019-05-10 09:18:58 +02:00
Derick Alangi 7e97119a91 store: Avoid deprecated use of ObjectCache::getMainStashInstance()
And also, avoid deprecated use of wfMemcKey() global function. So,
create a BagOStuff cache object and use. ::getMainStashInstance() was
deprecated in 1.28 and the MainObjectStash service was marked available.

Currently, extension requires MediaWiki 1.31 at the minimum so the
replacement is safe.

Change-Id: I01494a2dcbcbf30fe9960fdfb55b4912a648c7b6
2019-05-08 22:59:16 +01:00
James D. Forrester f18aaba76b build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I8d0c73a699f1ee39c652fd95fd1ce3aa37237d06
2019-05-06 15:31:16 -07:00
Translation updater bot d5a55c4115 Localisation updates from https://translatewiki.net.
Change-Id: Icafa3f563888604dc7bfd4593929a8dfd1435c2e
2019-05-06 09:03:45 +02:00
Translation updater bot fa7ac1a2a0 Localisation updates from https://translatewiki.net.
Change-Id: Ie8f543de93a3a1f5dab4560d19efa8d0e59db4e1
2019-05-01 22:29:42 +02:00
Translation updater bot 8007e3fce0 Localisation updates from https://translatewiki.net.
Change-Id: Ia75576f1bd333505fa4f13752e7bbd7377439693
2019-04-30 22:17:47 +02:00
Translation updater bot 3f27bb90f8 Localisation updates from https://translatewiki.net.
Change-Id: I3ba24247f383817dca34c6a608198914d00bdce9
2019-04-29 22:15:35 +02:00
jenkins-bot bd12d6e1ff Merge "Convert mediawiki links from http to https" 2019-04-19 08:54:23 +00:00
Translation updater bot 597816c139 Localisation updates from https://translatewiki.net.
Change-Id: I4330ec90c57a448776b38b346e6a34daafcd916f
2019-04-19 09:52:53 +02:00
DannyS712 a529fb4e1a Convert mediawiki links from http to https
Bug: T189687
Change-Id: I3be0f572ab1bc4c97a240ddb5ed40943ecf595ef
2019-04-18 23:24:57 +00:00
Translation updater bot 78beb0228b Localisation updates from https://translatewiki.net.
Change-Id: I6379fa96827756f61ef124d13487715ce2df240e
2019-04-17 22:12:53 +02:00
Translation updater bot 16635c32fd Localisation updates from https://translatewiki.net.
Change-Id: I92e35251a43e679fe2b3ebd5d6693165280e04ca
2019-04-15 22:53:11 +02:00
Translation updater bot 33adca5892 Localisation updates from https://translatewiki.net.
Change-Id: I9b0ee83dd14fe06317979803c7f546ccd6aa01e3
2019-04-14 22:29:24 +02:00
Reedy 132c283876 Add action- message
Bug: T220813
Change-Id: I130e6c1f0f887f33d54c2829c0ac57d9e2d6f7c7
2019-04-12 18:43:23 +00:00
Translation updater bot 0388ba4f9b Localisation updates from https://translatewiki.net.
Change-Id: I79178d9b4d2b843726c7258b494403bf14e530b7
2019-04-12 08:31:47 +02:00
Aryeh Gregor 4228dbd2b7 Do not reset extension registry in tests
This breaks later tests, e.g.:

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/450433
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/465423

The only reason this didn't cause test failures until now is because the
namespace data was getting (incorrectly) cached in between tests.  As
soon as we start resetting namespaces for each test, namespaces set by
the extension registry get wiped out by these tests.

Change-Id: Icb7a4a2a5d19fb1f2453b4b57a5271196b0e316d
2019-04-09 20:29:49 +03:00
Translation updater bot f69013186e Localisation updates from https://translatewiki.net.
Change-Id: I0433622872fe7e8062334a795dbadb6e8453ae3a
2019-04-09 09:03:12 +02:00
Translation updater bot 5f25bb92f6 Localisation updates from https://translatewiki.net.
Change-Id: I7f433b6b1fa6dac30f110fd2d687a75221a7ac57
2019-04-08 08:38:44 +02:00
Translation updater bot a498fcd84f Localisation updates from https://translatewiki.net.
Change-Id: Idb08a3611a6e570e797a6aad2a5c4a38ba658e14
2019-04-04 14:52:45 +02:00
James D. Forrester 9ef3132dce build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I1e6c500b8a79f8d01b3050dabdece36e77d17706
2019-04-03 15:54:28 -07:00
Translation updater bot a600a37b4e Localisation updates from https://translatewiki.net.
Change-Id: Icd63adfe53fa7fa06be6a34c551910ebf8202472
2019-03-31 22:16:22 +02:00
Translation updater bot eab58f5235 Localisation updates from https://translatewiki.net.
Change-Id: Ic45346e1c21ca5186c9b2ecc94898e83ce8fcfe9
2019-03-26 08:44:35 +01:00
Translation updater bot d5556702c4 Localisation updates from https://translatewiki.net.
Change-Id: I3db54a204bdb764d9a3b4dc078a67c30ee983819
2019-03-23 10:22:37 +01:00
Translation updater bot 11653d106d Localisation updates from https://translatewiki.net.
Change-Id: I6a29f7c2331cfd2ce5b7c0a31d5ea8d8bfa79a72
2019-03-19 22:16:47 +01:00
Translation updater bot 8c54e718c4 Localisation updates from https://translatewiki.net.
Change-Id: I140c1dc5d5f3c4d9519c209e4641ec8e731f0355
2019-03-17 22:13:57 +01:00
Translation updater bot dac3681936 Localisation updates from https://translatewiki.net.
Change-Id: I4ef1a3b6eb844b6d719c63ab7897528ce244c0fd
2019-03-14 22:51:45 +01:00
Umherirrender 9bc797453e Swap ternary check for if statement
isset is not needed to check for null
and if is used, because the else branch is not needed

Change-Id: I3069ac43911101aa500c4897d419dca68f968040
2019-03-14 19:54:36 +01:00
Translation updater bot 40cc11817a Localisation updates from https://translatewiki.net.
Change-Id: Iab15b15ec4d45d03fba55d74cb91cbd3ee6ee671
2019-03-07 22:40:40 +01:00
Reedy ae67c81991 Add extension.json dependency on Math to MathCaptcha
Change-Id: I7b20114365cb22536cf9e9e74ee5dd00b85a41d5
2019-03-02 21:17:15 +00:00
Umherirrender f96b1eda5b Use ::class for class name resolution
Available since php5.5

Change-Id: I9b072c487b84e04fbb7e9ad8ed4b9db46d805ee8
2019-03-02 19:39:36 +01:00
Translation updater bot 8a546989b7 Localisation updates from https://translatewiki.net.
Change-Id: Ic3cd46e0d819789104a3de261d7dfef56f9ed3b5
2019-02-25 22:57:43 +01:00
Translation updater bot 82c0962bc2 Localisation updates from https://translatewiki.net.
Change-Id: I1db0e8f6ddc27c77c316bfcccf6f3a3c01e5eaf4
2019-02-21 22:20:52 +01:00
Translation updater bot 7514b997c6 Localisation updates from https://translatewiki.net.
Change-Id: Ie2ac5e8c0975a1ba66eeb16e322ee81769793641
2019-02-18 22:22:54 +01:00
Translation updater bot 6ab0fb0485 Localisation updates from https://translatewiki.net.
Change-Id: I3096fb7b23390c8975aab572416f5e9475e6ea39
2019-02-17 22:14:07 +01:00
Translation updater bot 6153228027 Localisation updates from https://translatewiki.net.
Change-Id: Ic71ffe6c16bffcb2cf2d117f1a84eee217cfb289
2019-02-14 22:29:01 +01:00
jenkins-bot e198b9a657 Merge "build: Update eslint-config-wikimedia to 0.10.1" 2019-02-11 01:36:20 +00:00
Translation updater bot 0da7c9f32d Localisation updates from https://translatewiki.net.
Change-Id: Ica2eb389cf6128b0b19f66755547e11c3f9d65b0
2019-02-10 22:18:31 +01:00
Ed Sanders 28cb4a71da build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I78b2a1c233c97af39e1c8f8fd9d839d0ffc4936e
2019-02-10 15:44:37 +00:00
libraryupgrader 87715809bb build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I4650b34b2c6d18cae2bf4650aaf423810fb96457
2019-02-06 12:04:20 +00:00
Translation updater bot 1fe01d8a4f Localisation updates from https://translatewiki.net.
Change-Id: Ib356b3ad54257eeca92b1975fae2f9ee67732da2
2019-02-03 22:38:13 +01:00