Commit graph

3154 commits

Author SHA1 Message Date
Derick Alangi 92b41aa481 Avoid usage of deprecated ObjectCache::getMainWANInstance()
Replacement with services made available in 1.28 and this extension
requires 1.31. So, the replacement is good.

Change-Id: Idd5dda1e7cfa34b71ffb13446eb0f9e4f113f678
2019-07-03 13:43:23 +01:00
Translation updater bot 749f2f622f Localisation updates from https://translatewiki.net.
Change-Id: I7e4be5115ff61fbca47e89adffb90431e452182d
2019-07-01 22:29:11 +02:00
Florian fe6d078b9f [recaptcha] Remove the ReCaptcha module
It's not supported by Google for a while.

Bug: T223749
Change-Id: I159cdd4882c1de48d6cee359faa153a2e6e0424b
2019-06-22 10:38:39 +01:00
Translation updater bot ca16ba0aea Localisation updates from https://translatewiki.net.
Change-Id: I2106a325cf2175af5b80f0003cf7b77de2e383ee
2019-06-13 22:38:46 +02:00
Translation updater bot 2aa432a318 Localisation updates from https://translatewiki.net.
Change-Id: Ie1a3a290c251ebe3831134bb9baff66218ce927f
2019-06-10 22:54:17 +02:00
libraryupgrader 77b722ad9f build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I60f7effc66377cbf28e161d33d8056a1d574703f
2019-06-10 06:36:21 +00:00
libraryupgrader 2ab77613ea build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Ia6d94306df618084c64cd586492b97fef9120d85
2019-06-08 03:11:04 +00:00
Translation updater bot eee66057a0 Localisation updates from https://translatewiki.net.
Change-Id: I4fc32fe48094eef352506a12ec15852975705f21
2019-06-05 22:28:52 +02:00
Translation updater bot 4d05cc9e3c Localisation updates from https://translatewiki.net.
Change-Id: I644ccfcd7ca6bdcfe5b56727b0b86ddef0d817cf
2019-06-03 22:30:01 +02:00
Translation updater bot 3e9f7aa106 Localisation updates from https://translatewiki.net.
Change-Id: I2b40b0f26c33ee41fd08029a1748aed0dae4387d
2019-06-02 22:29:20 +02:00
Translation updater bot 9ebbd0814b Localisation updates from https://translatewiki.net.
Change-Id: I04c613400054459838496bcc5145ae7aa22b89bb
2019-05-30 22:53:08 +02:00
Umherirrender 7f76ef9924 Add phan
Change-Id: If382ed4440aa96dcb32a8aba6726cc7e78f0e0a7
2019-05-28 21:05:39 +02:00
Umherirrender e50998ef40 AuthenticationRequest::getFieldInfo does not return false
The documentation of AuthenticationRequest::getFieldInfo indicates an
array return, no need to check for possible falsy here or to return
false and break the signature

Change-Id: Id63aeb944064c025549c6190f08b0f1df6c88a65
2019-05-27 22:30:49 +02:00
Umherirrender ca72ab9a21 Document CaptchaStore to store arrays
SimpleCaptcha::storeCaptcha is passing an array to CaptchaStore::store,
so allow to store arrays
The implemenation allows to store mixed

Change-Id: I24bb8d852475c054c179a8c8d48417d8983797fa
2019-05-26 22:19:03 +02:00
jenkins-bot 40d011e2d0 Merge "Alphasort blacklist" 2019-05-26 11:12:34 +00:00
Reedy 3b9e39b085 Alphasort blacklist
Change-Id: I1861bd69f651941001bf60e6e5daf057d8d33184
2019-05-26 11:59:04 +01:00
jenkins-bot bdefccfd6c Merge "Fix bug in Captcha::confirmEditMerged which breaks the $wgCaptchaRegex check" 2019-05-26 10:42:22 +00:00
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