Commit graph

2984 commits

Author SHA1 Message Date
Florian 610ac36573 Remove unused and not working code fragment
Bug: T250236
Change-Id: Ia85d61a81234abe8d238424bcabcf5f5dc4d839f
2020-04-17 17:31:36 +02:00
jenkins-bot 22842fb0d2 Merge "Add hCaptcha" 2020-04-17 14:56:45 +00:00
Reedy f005a5cb4a Add hCaptcha
Mostly working from Florian's ReCaptchaNoCaptcha

Bug: T249854
Change-Id: I5c3ac71bdfd528339b846b5811e78a88e8135e46
2020-04-17 16:43:27 +02:00
Bartosz Dziewoński f786536715 Extract CaptchaInputWidget from VE code for use in other extensions
* ext.confirmEdit.CaptchaInputWidget.js:
  Based on code from ve.init.mw.CaptchaSaveErrorHandler.js

* ext.confirmEdit.CaptchaInputWidget.less:
  Based on code from mw/ext/VE repo in ve.ui.MWSaveDialog.css

* ConfirmEditHooks.php:
  Based on code from mw/ext/VE repo in VisualEditorHooks.php

Change-Id: I6605017fd31a4f96c529dd0beb69e9f4433cebc1
2020-04-15 16:06:58 +02:00
Translation updater bot c30999fa1b Localisation updates from https://translatewiki.net.
Change-Id: I9c67ba6efd4f118d84917fca71081b55a8d79eb8
2020-04-15 08:23:28 +02:00
Reedy d648372f7f Fix MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
Change-Id: Idc03460327095e19438fd9a3a542bf4229db4be2
2020-04-15 00:45:00 +01:00
Reedy 274e6079f8 Fix PSR12.Properties.ConstantVisibility.NotFound
Change-Id: Ib76375fed58fddb1f96728dd2baeec08e222dc83
2020-04-15 00:25:50 +01:00
Translation updater bot 5065332a92 Localisation updates from https://translatewiki.net.
Change-Id: Ibea0572c140e72ade9cec2166502990e89f409f7
2020-04-13 08:59:56 +02:00
Reedy 74eb713da9 Fix some indenting and whitespace
Change-Id: Ib2c21563f823c6d31a71a94562f808cd2fca3782
2020-04-11 02:27:12 +01:00
Translation updater bot f390c92b98 Localisation updates from https://translatewiki.net.
Change-Id: Id1620e9023b13be2d43b02ea5fa85b97293e1377
2020-04-09 08:38:34 +02:00
Translation updater bot e115281e77 Localisation updates from https://translatewiki.net.
Change-Id: I1adfcf5d9cc14441ff7d4537f705c456dec2a25a
2020-04-07 08:38:24 +02:00
jenkins-bot a048941208 Merge "Remove use of Revision::newFromTitle" 2020-04-07 02:11:52 +00:00
jenkins-bot e1509b9190 Merge "Localisation updates from https://translatewiki.net." 2020-04-06 07:24:34 +00:00
jenkins-bot 65d422c567 Merge "Localisation updates from https://translatewiki.net." 2020-04-06 07:22:22 +00:00
Translation updater bot 126dc038e2 Localisation updates from https://translatewiki.net.
Change-Id: I4be3427f79fcd39a4d9bd4c57630c0d3860a5c42
2020-04-06 09:01:36 +02:00
Translation updater bot 0677cd595c Localisation updates from https://translatewiki.net.
Change-Id: Id50cc94abdf3eda67bebbbc9aa28a6a451ba8fd5
2020-04-06 08:19:42 +02:00
libraryupgrader 8043b8f994 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I10957eb915a0b0111801826b42af3b1a05974011
2020-04-05 15:24:36 +00:00
jenkins-bot b330a8c463 Merge "Use MediaWikiServices::getFileBackendGroup" 2020-04-05 09:49:14 +00:00
Umherirrender 76ff299d8c Use MediaWikiServices::getAuthManager
This required MediaWiki 1.35 (already set in extension.json)

Change-Id: Ic640f25b299dd7be429766f028ec91ab9481c85c
2020-04-04 16:57:51 +02:00
DannyS712 f0e26d680b Remove use of Revision::newFromTitle
Bug: T249183
Change-Id: I0532af197c7bf4ae88c85c27cdfb5e55ea46feb3
2020-04-04 04:10:13 +00:00
jenkins-bot 1c9c00b507 Merge "docs: Remove mention of $wgMemc from CaptchaCacheStore README" 2020-04-03 06:22:32 +00:00
Brad Jorsch 003237ce9c Fix test hooking of 'PingLimiter'
The code was setting $wgHooks['PingLimiter'] to a Closure rather than
an array of callables, which resulted in the hook never actually being
called.

Interesting that that didn't make any of the tests fail. Anyway, let's
switch to using the setTemporaryHook() method now provided by MW's base
test class.

Change-Id: I6ac22b3c43735dcab4920de827bf06e25f9adc04
2020-04-02 15:22:22 -04:00
Timo Tijhof ea7aba4c6a docs: Remove mention of $wgMemc from CaptchaCacheStore README
Follows-up 63d0bc66.

Bug: T160813
Change-Id: I480d1ffba4e7370298a8a83eb227577ac72bebc6
2020-04-02 17:40:01 +01:00
Translation updater bot 356b64e3d7 Localisation updates from https://translatewiki.net.
Change-Id: Iaf98d23cfac46a2c29cfa609cccc1844726b1232
2020-04-02 08:24:17 +02:00
Translation updater bot 9010394ca8 Localisation updates from https://translatewiki.net.
Change-Id: I1d75b13995cbce38c65a2040636dd676d4ae072d
2020-04-01 08:24:38 +02:00
Umherirrender 615c7d4fdb Use MediaWikiServices::getFileBackendGroup
This required MediaWiki 1.35 (already set in extension.json)

Change-Id: Id403091d4831735410e09727ebba2ab87c406894
2020-03-31 19:38:07 +02:00
jenkins-bot 610264acb8 Merge "Localisation updates from https://translatewiki.net." 2020-03-30 07:24:49 +00:00
Translation updater bot f48a6e5feb Localisation updates from https://translatewiki.net.
Change-Id: Ib73529025a5d20ae5e1afbc2c4bc45db8400eb1b
2020-03-30 09:13:28 +02:00
Translation updater bot 8c526bd344 Localisation updates from https://translatewiki.net.
Change-Id: I30837d5b5feb32c961f8ce799b219403a2673c3b
2020-03-30 08:38:38 +02:00
jenkins-bot 9bc593bf35 Merge "Add skipcaptcha to the basic grant" 2020-03-27 11:59:20 +00:00
Translation updater bot 9c47ab720d Localisation updates from https://translatewiki.net.
Change-Id: I2307181a54e3b7e03dd59c13c8a01b51c0797d84
2020-03-25 08:32:26 +01:00
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