Commit graph

2653 commits

Author SHA1 Message Date
Bartosz Dziewoński 601b1fff84 VE integration: Fix the "Refresh" button
Previously, clicking it would change the image, but the widget would
still expect the user to fill in the original CAPTCHA.

Change-Id: I24a963e760951427f6d233302429c1baf1fb299f
2020-03-24 00:24:18 +00:00
Bartosz Dziewoński da4c75e387 VE integration: Remove "Warning:" label before CAPTCHA
It doesn't add anything and looks silly.
https://phabricator.wikimedia.org/F31677965

Change-Id: I94641a227d26622846ea8b300e8a3e9eb300b651
2020-03-23 23:06:33 +01:00
jenkins-bot a9093fd482 Merge "Avoid deprecated curly brace syntax" 2020-03-23 10:21:51 +00:00
Translation updater bot 951a536202 Localisation updates from https://translatewiki.net.
Change-Id: I51080c3c0ddcd004b0c678c3f788d3b794f825c4
2020-03-23 09:02:44 +01:00
Kunal Mehta 387bbb1f20 Avoid deprecated curly brace syntax
See <https://wiki.php.net/rfc/deprecate_curly_braces_array_access>, which
deprecated this syntax in PHP 7.4.

Change-Id: Ia7e5515d7fd3557b79df13149befcc75e090dec1
2020-03-22 19:59:03 -07:00
JJMC89 233924604f Add skipcaptcha to the basic grant
Bug: T241118
Change-Id: I6c17fff97d868090cf9f770d2dd66c089154eae2
2020-03-21 20:51:11 +00:00
libraryupgrader 445b870479 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: I8b4e186fca62cacc75e9fd7df84624bed18f2bdb
2020-03-20 21:33:57 +00:00
Translation updater bot 4f7548558a Localisation updates from https://translatewiki.net.
Change-Id: Ia802f69db522e20681c57fbff618600c8a394d34
2020-03-19 08:33:07 +01:00
libraryupgrader e40b883e3f build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I374adfd9d0effe7ad83f31fab4c9d8730b021087
2020-03-18 05:30:24 +00:00
Translation updater bot 84f576d143 Localisation updates from https://translatewiki.net.
Change-Id: I53dc68c62d159e91c23bccbe0254c6f0e68b565e
2020-03-16 16:00:38 +01:00
Translation updater bot c83b47b754 Localisation updates from https://translatewiki.net.
Change-Id: I1f53325212881b8e3e29173051907c2da9c0d2ff
2020-03-10 08:14:55 +01:00
Translation updater bot 7293811293 Localisation updates from https://translatewiki.net.
Change-Id: Id7b8318d52164f06c20925f76675f281c78d225d
2020-03-09 08:56:29 +01:00
libraryupgrader 72f72c38ea build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I8ff39c4db072351bda0173ec79cff32f5e9ec732
2020-03-08 21:13:01 +00:00
Reedy e5d3a17263 Drop $ceAllowConfirmedEmail
I think well over 2 years is long enough!

Change-Id: Ia3770fe4d257df30b6dd244405d4943099cf8464
Follows-up: If4daf6f25f0d2b2c0f1e173ee3903063a39978bb
2020-03-08 16:17:30 +00:00
DannyS712 b8b0e23632 Pass a user when creating a new ParserOptions
Bug: T246861
Change-Id: Ib516006f0a02c26da50d2a865242adc5cc65be9e
2020-03-04 08:08:26 +00:00
Translation updater bot d4406d2f56 Localisation updates from https://translatewiki.net.
Change-Id: I55948492f731b89162e7610eed33ff06faccb5c3
2020-03-04 08:19:34 +01:00
Translation updater bot 4ba7042ab9 Localisation updates from https://translatewiki.net.
Change-Id: Ie3f4fc6005dcb521de617b6f9e3d873a176371e1
2020-03-03 08:13:59 +01:00
Translation updater bot f74a8f99f2 Localisation updates from https://translatewiki.net.
Change-Id: Ia3ebd2dbad90391b0a0056bf97155808ebfe9e9e
2020-03-02 09:09:25 +01:00
jenkins-bot b1d452d472 Merge "Don't use logging reserved word 'ip' as parameter" 2020-02-29 20:06:54 +00:00
Translation updater bot a58ce27b5d Localisation updates from https://translatewiki.net.
Change-Id: I11db3d2f2fc68c0e1e42bd1eafd710d2d5c3bafe
2020-02-28 08:22:07 +01:00
Reedy 035e073ddb Don't use logging reserved word 'ip' as parameter
Bug: T245280
Change-Id: I368724e9e6de85df45fd8734668789e8d524214f
Follows-up: I5f602bc08902b63acbb0752093b418d0ab063493
2020-02-27 15:11:16 +00:00
Translation updater bot 9a7ec1d0fe Localisation updates from https://translatewiki.net.
Change-Id: I301c4cbcbe193b4c0bcb1be4bf27a435eb3408f9
2020-02-24 09:02:12 +01:00
libraryupgrader 2b33438f7c build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I495b7da171bbd845bd93eebf92cb7dd8a6243efd
2020-02-20 20:40:24 +00:00
Translation updater bot eb01f5eef4 Localisation updates from https://translatewiki.net.
Change-Id: I8a930a15f573d90babc14cf35fb79364457b2d11
2020-02-19 08:23:29 +01:00
Translation updater bot 1e044a652c Localisation updates from https://translatewiki.net.
Change-Id: I559d0483836d9950468ea127910e5e198ced6808
2020-02-17 08:45:52 +01:00
jenkins-bot 3ed7cb168c Merge "log login captchas to "captcha" channel instead of "authevents"" 2020-02-16 23:48:03 +00:00
Translation updater bot 7845c68b85 Localisation updates from https://translatewiki.net.
Change-Id: I16e9a9a3d467690d9580876318a1574c598320e7
2020-02-13 08:54:31 +01:00
Brian Wolff bb0a85ea5e log login captchas to "captcha" channel instead of "authevents"
Also makes the log events more useful by including the username
in question and fix logging logins as being account creations.
See also Icde984d27.

Bug: T210817
Change-Id: I5f602bc08902b63acbb0752093b418d0ab063493
2020-02-11 09:04:55 -08:00
Translation updater bot 5b4a0704b9 Localisation updates from https://translatewiki.net.
Change-Id: Id345c178279d4b640be65c12c3781ab59cd9a1f4
2020-02-10 08:33:14 +01:00
jenkins-bot f5f9c0971d Merge "Remove unused return values and reduce code complexity" 2020-02-09 17:27:11 +00:00
jenkins-bot 14bdf0dfb8 Merge "Replace deprecated IP class with IP Utilities" 2020-02-09 16:45:15 +00:00
Ammar Abdulhamid 07a2824630 Replace deprecated IP class with IP Utilities
* Also bump required MW version to 1.35.0

Bug: T242556
Change-Id: I279e7d83a0dc75414117208ed23f8cc6b729eb19
2020-02-09 08:23:02 +01:00
Aaron Schulz 55404c02d1 Convert $wgMemc use to WANObjectCache
Bug: T160813
Change-Id: I2d78d912e400e814ddefd27d0d7b36c945a3d8af
2020-02-06 15:49:02 -08:00
Translation updater bot 5635916539 Localisation updates from https://translatewiki.net.
Change-Id: I3822aa987ef4575a3ab09d8b7f7b5938bf71352f
2020-02-04 08:33:08 +01:00
Thiemo Kreuz 0dfd1f4ed1 Remove unused return values and reduce code complexity
Changes:
* Do not return anything in a method that is not expected to return
  something.
* Inline some previously hard to read code.
* More specific type hints, if possible.

Change-Id: I0e460899eea07d8733f638a11133adc3000f0542
2020-02-03 15:37:32 +01:00
Translation updater bot cd15b4d9a3 Localisation updates from https://translatewiki.net.
Change-Id: Id8e12097a517556e31b8d247d38b97061bd6eff5
2020-01-31 09:52:53 +01:00
libraryupgrader 8aaca6595d build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I992d0731e418239a61e8c020774cc047157d6d1e
2020-01-29 02:39:45 +00:00
libraryupgrader 17475bad63 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I6b9702c7a2255608f4e1a1577bb3de86764192dc
2020-01-28 07:49:46 +00:00
jenkins-bot fce542fcea Merge "Update extension.json files to use manifest_version 2" 2020-01-21 21:18:25 +00:00
mainframe98 e95765a45e Don't conditionally set ObjectCache::$instances
The service LocalClusterObjectCache (to be introduced
in I39b03b1078efde3d9bc721d9d0c3694988c53a67) is not yet available.
The change linked above introduces it, but still relies on ObjectCache
because of tests of other extensions. ConfirmEdit's tests therefore
should always set ObjectCache::$instances, regardless of the existance
of the LocalClusterObjectCache service.

Change-Id: Ide340b7295ebe63a4efcfe6ec4381eb6697f8335
2020-01-21 17:28:22 +00:00
Translation updater bot 02577d640b Localisation updates from https://translatewiki.net.
Change-Id: Ic4bc05edd359f89f91bd3717b3bbfbec101094bc
2020-01-21 08:15:56 +01:00
Translation updater bot db2021d233 Localisation updates from https://translatewiki.net.
Change-Id: Ib2cfc18b7dce5756812efb843864b16475e2c3de
2020-01-20 08:48:47 +01:00
jenkins-bot efadd21e76 Merge "Stop passing objects by reference" 2020-01-19 16:43:11 +00:00
James D. Forrester c933d06904 Update extension.json files to use manifest_version 2
Bug: T234114
Change-Id: I9b22aed290fc5c51b2c9bff34466d57e2c65148d
2020-01-19 16:35:49 +00:00
Max Semenik 9380fa050e Stop passing objects by reference
Bug: T193950
Change-Id: I8c4aabe75ffce55f81c7ffb0f76b67155db1f761
2020-01-17 20:08:16 +00:00
DannyS712 affb6a238e Remove use of global $wgUser
Bug: T242936
Change-Id: I618b223ba9a1d0c9944bb171ffff345ae8e512ed
2020-01-16 01:28:02 +00:00
libraryupgrader 54f6c6d87e build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Iba0ed9df5be4a7fbedce377556c87d42bddfb509
2020-01-14 04:33:04 +00:00
Translation updater bot 57b396a362 Localisation updates from https://translatewiki.net.
Change-Id: I4a2b05954be2886f0af4ae791cbabd569b24d364
2020-01-13 09:10:03 +01:00
libraryupgrader f1e53c929b build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Id160d62640178e829908da34b5019b8005954466
2020-01-09 05:39:24 +00:00
Translation updater bot 3677e52317 Localisation updates from https://translatewiki.net.
Change-Id: Ic9557feeef55c1304db1461c2f65b482e8ba4951
2020-01-06 08:48:38 +01:00