Commit graph

3273 commits

Author SHA1 Message Date
Translation updater bot 2b3e7d73ef Localisation updates from https://translatewiki.net.
Change-Id: I0b6a67b880819aaeccf7f537aefab5aaa20b5859
2019-08-22 10:08:52 +02:00
Translation updater bot f841ba2da2 Localisation updates from https://translatewiki.net.
Change-Id: If40c5e07bbe1b807c5486dbd4f05212cd6291bb6
2019-08-21 10:02:27 +02:00
Translation updater bot 627d1d0b93 Localisation updates from https://translatewiki.net.
Change-Id: I49f54321d243c0152862125edb7a528470c66685
2019-08-20 10:19:52 +02:00
Umherirrender 19e6d4d902 Use Maintenance::addDescription
It is better to use a setter function than setting a property

Change-Id: I173b3f4af54cf8f6427895e1e170ec97e10d4f3d
2019-08-19 19:03:36 +02:00
Translation updater bot 44b952b43a Localisation updates from https://translatewiki.net.
Change-Id: I227909bde61998fa5145a29717f454b6b7072e14
2019-08-15 09:15:41 +02:00
Translation updater bot 4badf0daf7 Localisation updates from https://translatewiki.net.
Change-Id: I36e292d9b13590e5fc813afe0926747176f7038b
2019-08-10 22:48:30 +02:00
Aaron Schulz 82d48cae8c Switch to using BagOStuff::incrWithInit()
Change-Id: Ia82d9985f3f416ccbb5d7414848cc5b894635ca4
2019-08-09 16:50:55 -07:00
Translation updater bot 0db4e2ce9d Localisation updates from https://translatewiki.net.
Change-Id: Iedf7d6cd880fade409f522c68d4dac6db9f1f0d3
2019-08-08 09:31:59 +02:00
Translation updater bot 1db7b79b86 Localisation updates from https://translatewiki.net.
Change-Id: I059fd92fbfbbca69e88c32afd1de6a7bfb643ccf
2019-08-06 09:09:26 +02:00
Translation updater bot 8fa5624229 Localisation updates from https://translatewiki.net.
Change-Id: If8f2d76df533539fdb6cb56524c58dbc9d411a9e
2019-08-05 09:40:38 +02:00
libraryupgrader cb969b7048 build: Updating lodash to 4.17.15
* https://npmjs.com/advisories/1065
* CVE-2019-10744

Change-Id: Ie142034e1108653a22d13c5b4b26def5b45e2d05
2019-08-01 22:53:06 +00:00
Translation updater bot 20f83ed397 Localisation updates from https://translatewiki.net.
Change-Id: Idbe7ad8196380abe10820fcf17c7ad3c9a7c4487
2019-08-01 09:16:02 +02:00
Translation updater bot 7565482dc7 Localisation updates from https://translatewiki.net.
Change-Id: I3c0b128259632a7e5e2375d9eafb09e394e0e7eb
2019-07-27 09:29:50 +02:00
Translation updater bot c34b53b081 Localisation updates from https://translatewiki.net.
Change-Id: I33556b8f75379131bda8969ffa1fc7e7915e996f
2019-07-22 22:40:36 +02:00
Derick Alangi 4a1c8bbfbd SimpleCaptcha: Avoid usage of deprecated wfGlobalCacheKey()
Deprecated in 1.30 and makeGlobalKey() on a BagOStuff was available
since 1.27. This extension requires 1.31 so the migration seems fine.

Change-Id: Ia7b276ee65fdf58c4fc0859563930528d44a03ca
2019-07-18 17:40:04 +01:00
libraryupgrader 4575c2ccdb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: Ie2eff2c48b58600f948dbf9f8c5cb2b2843fbd24
2019-07-14 10:21:38 +00:00
James D. Forrester 2c8294194d build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I4fc606e186ba2fedb2937cccaeec745ca6b94149
2019-07-09 14:02:02 -07:00
Translation updater bot 4bae5c0afd Localisation updates from https://translatewiki.net.
Change-Id: Iee827bc50da32c1ec8bee97b71bbcc4d0afed050
2019-07-07 22:38:35 +02:00
Translation updater bot 9df61ca8ba Localisation updates from https://translatewiki.net.
Change-Id: I8e6ee13c5f7de41f4aa38196084c53b9bc771bf8
2019-07-03 22:43:44 +02:00
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