Commit graph

3182 commits

Author SHA1 Message Date
Reedy 5876e3bd38 DeleteOldFancyCaptchas: Add some simple chunking to actual delete operation
Change-Id: Ia8f7dcc170a1e9a72313d72ac22ad7e6b3c97aa8
2021-11-16 14:53:30 +00:00
Reedy b24721bb96 Suppress SecurityCheck-DoubleEscaped in ConfirmEditHooks::onAlternateEditPreview
Bug: T295708
Change-Id: If9018f4bc5c2df11a7ac48c3f26a6e0f1b6835e3
2021-11-16 14:51:35 +00:00
Translation updater bot 12f0dc6daa Localisation updates from https://translatewiki.net.
Change-Id: I37495cb68ad4c11dbf9e84fc4e896c50824da6e5
2021-11-16 08:15:57 +01:00
Translation updater bot 395449752b Localisation updates from https://translatewiki.net.
Change-Id: Ibc0e137434c5c23af571a9cf904748bc44df2e22
2021-11-15 08:11:27 +01:00
jenkins-bot 99de268e3c Merge "Replace deprecated methods IContextSource::getWikiPage && IContextSource::canUseWikiPage" 2021-11-12 15:37:04 +00:00
Roman Stolar 87c1b07038 Replace deprecated methods IContextSource::getWikiPage && IContextSource::canUseWikiPage
Use CacheKeyHelper to collect status of captchas that was activated instead of set random properties on page object.

Bug: T275710
Change-Id: I7942ccd6b58584f436f872bf7c9deb63ab84482a
2021-11-11 17:02:30 +02:00
Translation updater bot f3c7f640f7 Localisation updates from https://translatewiki.net.
Change-Id: I64691e7a592c3bae3834967581f7cce6d00a8bee
2021-11-11 10:02:02 +01:00
jenkins-bot db69a8f1ae Merge "build: Updating mediawiki/mediawiki-codesniffer to 38.0.0" 2021-11-09 14:01:37 +00:00
Translation updater bot 4e78793cd7 Localisation updates from https://translatewiki.net.
Change-Id: Icf12abe84f58b11fc5985248704d69cfdbcd5838
2021-11-09 07:28:43 +01:00
libraryupgrader dbbd26d8fb build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I7af742d57c24a9a385a7db0f522571c31f2b601a
2021-11-08 22:43:15 +00:00
Translation updater bot dc405747ad Localisation updates from https://translatewiki.net.
Change-Id: Id51827aef6def8080626d0d942ad13e902033b82
2021-11-08 08:16:45 +01:00
Daimona Eaytoy 6da60010a4 Don't put HTML via RawMessage in the EditFilterMergedContent hook Status
This just won't work:
- For edits via the UI, errors are wrapped in an errorbox div by
  EditPage.php, so this code is outputting an errorbox inside an
  errorbox, which is simply painful to see.
- API edits don't format errors via HTML, so trying to pass raw HTML
  there results in broken formatting

Bug: T293818
Change-Id: Ib74d128cc71246c7cfa72456cbe453e8086f2d63
2021-11-02 18:59:46 +01:00
sbassett 1493c928c2 SECURITY: Avoid double-escaping html tag contents
* Avoid double-escaping the captcha-edit-fail message
via both Html::element and RawMessage.

* Also add suppress comment due to overall taint of
RawMessage.

Bug: T293818
Change-Id: I6b985266a26f6b152bca05a91f6054ed1a5f2a5a
2021-11-02 09:45:06 -05:00
Translation updater bot d0995dcef7 Localisation updates from https://translatewiki.net.
Change-Id: I6db3777002b431da567e3b8360642a2369da478f
2021-11-01 09:33:19 +01:00
Translation updater bot 47fb473ef3 Localisation updates from https://translatewiki.net.
Change-Id: Ie3f56faadd89f3fec0fac1769402c455e620d786
2021-10-28 08:27:29 +02:00
Translation updater bot 483314c1b8 Localisation updates from https://translatewiki.net.
Change-Id: I8e75a0ee36432450a7dd913dddf762dd2e7d60cf
2021-10-27 08:21:54 +02:00
Translation updater bot f5080ffe66 Localisation updates from https://translatewiki.net.
Change-Id: I2ab0af0cc7cdea32a7b1887b5263bc912b22d2c3
2021-10-25 08:51:09 +02:00
Translation updater bot 6c43cc521d Localisation updates from https://translatewiki.net.
Change-Id: Ic9a4a9b64e52de76728c0d3ff38734f7a42915bb
2021-10-22 08:14:50 +02:00
Translation updater bot ee9757ba6d Localisation updates from https://translatewiki.net.
Change-Id: I272da6b560a70d9590ef9847c8f8da29612d3236
2021-10-21 08:21:32 +02:00
Translation updater bot 70e78e2098 Localisation updates from https://translatewiki.net.
Change-Id: Iddf1eb793294f730d9fec45167de2c74723c2ef4
2021-10-18 15:19:45 +02:00
Translation updater bot af28588fb2 Localisation updates from https://translatewiki.net.
Change-Id: Ib7c52de0918844578bdcb5f95dc051df3c32d5a5
2021-10-08 09:20:35 +02:00
Translation updater bot 8e8aee0081 Localisation updates from https://translatewiki.net.
Change-Id: I7bffb0c3096645d2c021247a6c1fd8e9d09e6087
2021-10-06 09:28:13 +02:00
libraryupgrader 6fe24f58d4 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I590e22ca7495a854850586eb614a6dc523572130
2021-10-04 18:12:13 +00:00
Umherirrender f139d9f543 Use namespaced MathRenderer in MathCaptcha
Change-Id: Ib6646f0c4dbe244eec9078f56f3341029826212a
2021-10-03 22:15:57 +02:00
Translation updater bot 52c23ae143 Localisation updates from https://translatewiki.net.
Change-Id: I626f63e68af82b4db0f8a3171104d9422d6a8aa4
2021-10-01 09:29:44 +02:00
Translation updater bot b1f293b062 Localisation updates from https://translatewiki.net.
Change-Id: I2305ba0dba8271b71e193300c11af56861041bf2
2021-09-30 08:57:18 +02:00
Translation updater bot bb273c6d01 Localisation updates from https://translatewiki.net.
Change-Id: Ica88c36e26c46c48880c9db2cbd2f83b880c7b80
2021-09-29 09:01:37 +02:00
Translation updater bot 7e5aa0b0aa Localisation updates from https://translatewiki.net.
Change-Id: I6f7ba62f62f0ea20c0fc5aed5d3f00ec19c855c2
2021-09-28 08:18:37 +02:00
Translation updater bot 3e7325a31c Localisation updates from https://translatewiki.net.
Change-Id: I97872247f91fa54a1a5acbc71ee56a9fa7d3e66e
2021-09-27 08:34:32 +02:00
Translation updater bot 2affd72838 Localisation updates from https://translatewiki.net.
Change-Id: I0dbfb5742643b9d7aa4f33889e769f15dd23fc9b
2021-09-24 08:26:06 +02:00
Translation updater bot d513b1a797 Localisation updates from https://translatewiki.net.
Change-Id: I85bb50eb2f714225888a2138e5694725b58de8d1
2021-09-22 08:10:33 +02:00
Translation updater bot 6f314af4d8 Localisation updates from https://translatewiki.net.
Change-Id: Ie0c3170a82f35d0399fa197731e2a21562d9a4eb
2021-09-20 08:18:43 +02:00
Translation updater bot 19b17851e9 Localisation updates from https://translatewiki.net.
Change-Id: I3eaf1e936490bb82cd7f66f81d97149f60dd3634
2021-09-16 08:11:29 +02:00
Translation updater bot c75f26282c Localisation updates from https://translatewiki.net.
Change-Id: I9f2bc4e8629eb39557ba29ebb98fac8742da4640
2021-09-15 08:14:00 +02:00
Translation updater bot c6976e58e8 Localisation updates from https://translatewiki.net.
Change-Id: I36a687590d8f3b2660a39c849148c5a6ffcd8037
2021-09-14 08:32:34 +02:00
Translation updater bot 3eec3c61f7 Localisation updates from https://translatewiki.net.
Change-Id: I0d3ef6d1c00df2a0ca033d027e7029655aaefed0
2021-09-13 08:29:17 +02:00
libraryupgrader 5a256ffa65 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: If86cb3cf74e27abd544aefc15a7579dd554fe419
2021-09-08 23:10:31 +00:00
Translation updater bot 65cabb9f06 Localisation updates from https://translatewiki.net.
Change-Id: Ib0074b4abccdfdd3ac3a535f0d31046030db0542
2021-09-08 08:10:12 +02:00
Translation updater bot 79979cfa3f Localisation updates from https://translatewiki.net.
Change-Id: Iff92daf8108bdd5654943f2ec5bd585d8c41581f
2021-09-07 08:10:36 +02:00
Translation updater bot 2f61582cc5 Localisation updates from https://translatewiki.net.
Change-Id: I37c6c25ecf3d47651589a76e44f67bf3da9bd8b9
2021-09-06 08:20:34 +02:00
libraryupgrader ea600e46b6 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I224243231256d76041adc47a41c6c0bb4db88558
2021-09-04 19:19:31 +00:00
Translation updater bot b500bf2080 Localisation updates from https://translatewiki.net.
Change-Id: I39fc4ba130dc1d1111454e90a432d796c0a95809
2021-09-02 08:26:07 +02:00
Translation updater bot cf215597ca Localisation updates from https://translatewiki.net.
Change-Id: Ie9775e20620334d2ba7813c317b5feab61df8d7e
2021-09-01 08:16:06 +02:00
Translation updater bot 29514d9a1d Localisation updates from https://translatewiki.net.
Change-Id: Ie3749f2d77cb6d8b01b26b64310f3b226abc4537
2021-08-31 08:15:35 +02:00
Translation updater bot a11554e8c0 Localisation updates from https://translatewiki.net.
Change-Id: I2e886503c5fbfc850f015b5adb94e249f6af504a
2021-08-30 08:19:59 +02:00
Translation updater bot c372093dac Localisation updates from https://translatewiki.net.
Change-Id: I1aeb7b33343957d0426cad511c1b917055ac1e2f
2021-08-27 08:43:35 +02:00
Translation updater bot c2e814561d Localisation updates from https://translatewiki.net.
Change-Id: Ie3d29e7c7226392b0c7df9bc631771ab239d84ce
2021-08-26 08:35:49 +02:00
Alexander Vorwerk fc7a88124e Use Parser::getUserIdentity() instead of ::getUser() in SimpleCaptcha
ParserOptions::__construct() and Parser::preSaveTransform() both
accept an UserIdentity and don't need a full user object.

Bug: T289731
Change-Id: I9e3d3f21452167ae1b1e9dca664605ee471f90e2
2021-08-25 22:13:32 +02:00
Translation updater bot adf3f5885e Localisation updates from https://translatewiki.net.
Change-Id: Id61518dc70e125f2badc8c73db68c463a618ffa5
2021-08-23 09:03:46 +02:00
Translation updater bot a124aa1f04 Localisation updates from https://translatewiki.net.
Change-Id: I61982f44bddbd395597df6dcafc41687b9b7b107
2021-08-19 08:13:16 +02:00