Commit graph

3469 commits

Author SHA1 Message Date
Daimona Eaytoy 32f9cf26a6 Replace assertNotRegExp -> assertDoesNotMatchRegularExpression
Follow-up to I6859b48f7a9084101e981fb48449c1c1dc17a80c.

Bug: T243600
Change-Id: Ifdba0f9e98eb6bce4590b7eb73170c51a697d7c6
2022-10-07 16:52:36 +02:00
Daimona Eaytoy b156d227aa tests: Replace assertRegExp with assertMatchesRegularExpression
The method was renamed in PHPUnit 9.

Done automatically with:
grep -rl assertRegExp tests/ | xargs sed -r -i "s/>assertRegExp\(/>assertMatchesRegularExpression\(/"

Also extend MediaWikiIntegrationTestCase, so that it can use the
forward-compatible assertMatchesRegularExpression method.

Bug: T243600
Change-Id: I6859b48f7a9084101e981fb48449c1c1dc17a80c
2022-10-07 15:31:59 +02:00
Translation updater bot fd686f79d6 Localisation updates from https://translatewiki.net.
Change-Id: I0fdb816b0809a83b286a8ae6ae0310e699e11908
2022-10-03 09:45:30 +02:00
Reedy b1c0c0f6af HCaptchaAuthenticationRequest: Use namespaced CaptchaAuthenticationRequest
Change-Id: Idda9e6962e1236db344eda561a0ba8120468e380
Follows-Up: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-10-03 00:09:36 +00:00
Translation updater bot 9892d43725 Localisation updates from https://translatewiki.net.
Change-Id: I304a72b4b71d6bb7e2a2ff7a7330e8a9f2b9ec5c
2022-09-28 08:21:07 +02:00
Translation updater bot 8dfddb9666 Localisation updates from https://translatewiki.net.
Change-Id: I904f8310d5cb2c94242afb68937be201e5202da4
2022-09-26 08:14:59 +02:00
Translation updater bot bf7f84371e Localisation updates from https://translatewiki.net.
Change-Id: I55d0bd3561e96368ac7c2350b57144be534f87e3
2022-09-23 08:28:52 +02:00
Translation updater bot 548e5265fe Localisation updates from https://translatewiki.net.
Change-Id: I6cc41943d27800e8d856cbb5b7794e4cd0836025
2022-09-22 08:45:46 +02:00
Translation updater bot 7f42430a72 Localisation updates from https://translatewiki.net.
Change-Id: I7a63635aee412eb15aa72d4cef8de55a7ead5922
2022-09-19 08:24:13 +02:00
Translation updater bot 035e2afe61 Localisation updates from https://translatewiki.net.
Change-Id: Ib688716e4f23d31b1c7abaca21c3e8adae969d73
2022-09-12 09:36:16 +02:00
Translation updater bot 1adaae3b2a Localisation updates from https://translatewiki.net.
Change-Id: I7cbacb974e1514202fadc0d55cc69c3eec6f07e4
2022-09-08 09:58:54 +02:00
Translation updater bot 7bd6ba3f4c Localisation updates from https://translatewiki.net.
Change-Id: I64f024af7c032f9984b03585fd411f4493cdfedd
2022-08-31 09:34:58 +02:00
Translation updater bot 1f6cdf19a1 Localisation updates from https://translatewiki.net.
Change-Id: I582e71770373746dcfea5f05c1d02f50b07a7aaf
2022-08-29 09:13:45 +02:00
jenkins-bot 16acc34ed1 Merge "Restore auth request ID from before namespacing" 2022-08-28 18:36:21 +00:00
Fomafix 6582f334ed Remove LEFT-TO-RIGHT MARK (U+200E) from comments
'LEFT-TO-RIGHT MARK' (U+200E) is not needed in the source code
comments.

c8caf26ffd9 removed already the LRM/RLM from Names.php in core.

Change-Id: If77c8135b1d4b6dee0331e1c6297ebd7e7d7f1f7
2022-08-27 08:49:20 +00:00
Gergő Tisza d0e1c811c7 Restore auth request ID from before namespacing
Bug: T316410
Change-Id: I144af55c368d93326d0ae78a85790e81bc3d9c7f
2022-08-27 00:29:16 +00:00
Translation updater bot 67775f19a4 Localisation updates from https://translatewiki.net.
Change-Id: Ifec5836f3c09243545d7492173a359b7199906f7
2022-08-22 08:22:36 +02:00
Translation updater bot a36c475980 Localisation updates from https://translatewiki.net.
Change-Id: I85fdcbc17376e8cde6bbcea5ba011a79c5afe2f9
2022-08-19 08:29:11 +02:00
Translation updater bot d4416e5320 Localisation updates from https://translatewiki.net.
Change-Id: I869ea37f9b1faf91b3625a5a25d1c83a6ce0e8e4
2022-08-17 08:24:07 +02:00
Translation updater bot 75f5d16978 Localisation updates from https://translatewiki.net.
Change-Id: I0367d69eedde2ff63a114ca38845195bb297de75
2022-08-16 08:34:08 +02:00
Translation updater bot 7fb4671524 Localisation updates from https://translatewiki.net.
Change-Id: I0113e97519e098df4fd2554e408a5db365ada2da
2022-08-15 08:25:59 +02:00
Translation updater bot 72b83ec440 Localisation updates from https://translatewiki.net.
Change-Id: I0ccf74ecc7ca7e8f3a578e1801d8a3ea20be9b8c
2022-08-09 08:19:27 +02:00
Translation updater bot 1d780b20ad Localisation updates from https://translatewiki.net.
Change-Id: I34acbd7e4985f4a01846738eab1f117a10d6cc56
2022-08-08 08:58:19 +02:00
Translation updater bot 3f29382d9c Localisation updates from https://translatewiki.net.
Change-Id: Ib7fc600219622666c124cdf8cfd39a339e4347fb
2022-08-05 08:33:31 +02:00
jenkins-bot 00470e1388 Merge "Run ConfirmEditTriggersCaptchaHook under correct name" 2022-08-04 20:05:44 +00:00
Alexander Vorwerk 16fcb03340 Run ConfirmEditTriggersCaptchaHook under correct name
also fix the var name to match the one in the interface

Bug: T303433
Follow-Up: If48689fe068aa3ec56e51e01b84cf25c63bcbf0b
Change-Id: Ie47b98d08cba5217f8661aa44f6331447575d7ae
2022-08-04 21:45:01 +02:00
jenkins-bot 2fff494f71 Merge "Namespace base classes" 2022-08-03 12:22:46 +00:00
Translation updater bot 7a683a1fb6 Localisation updates from https://translatewiki.net.
Change-Id: I1fed9ed90cb329fe679e8e1f8a7387aa0ac23c2a
2022-08-03 08:18:10 +02:00
Translation updater bot bcbc2016ae Localisation updates from https://translatewiki.net.
Change-Id: I1ac0a11811a9ba632682c31096b5a262685d20ec
2022-08-01 08:21:59 +02:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Translation updater bot 7e09b93ba7 Localisation updates from https://translatewiki.net.
Change-Id: I36b55312560c0262d149d302b8c6bce847926b8a
2022-07-29 08:52:49 +02:00
Translation updater bot a2daa171bb Localisation updates from https://translatewiki.net.
Change-Id: I7ffda62c216c60da7fb8584b90eee36079efbe19
2022-07-25 08:35:58 +02:00
Translation updater bot cd5fbaaa6c Localisation updates from https://translatewiki.net.
Change-Id: Ibf7c00bff78dfe2515f4cde8de043c5e3c5bddea
2022-07-20 08:27:29 +02:00
Translation updater bot 9145c85f86 Localisation updates from https://translatewiki.net.
Change-Id: I701dcf3ce7936e36cfa1cff807c3ba564c5901f6
2022-07-19 08:16:18 +02:00
Translation updater bot 2f5947f596 Localisation updates from https://translatewiki.net.
Change-Id: Iaaf168d1a24719cac72bb7e641b9bb2467df4b53
2022-07-18 08:14:19 +02:00
Translation updater bot 60a05ffdc4 Localisation updates from https://translatewiki.net.
Change-Id: I859b1df9d811be23fd3c51dd1c8db1e8a815a622
2022-07-15 08:42:56 +02:00
Kosta Harlan aca8deafb1
phpunit: Check for MW_PHPUNIT_TEST constant
$wgWikimediaJenkinsCI may not be enabled in LocalSettings.php.

tests/phpunit/phpunit.php reads this global, but vendor/bin/phpunit does
not.

Bug: T90875
Change-Id: I91628f0e63d4f67d1d3060cca3a17b95e0faf826
2022-07-12 18:44:01 +02:00
Translation updater bot bb500cc638 Localisation updates from https://translatewiki.net.
Change-Id: If0ec22b555c380fa5c92aabb806468667a8d439a
2022-07-11 09:49:23 +02:00
Alexander Vorwerk 84b2e67aa4 Use new array syntax in README
Change-Id: I9583de4577d0260a70bbb38116f971fba560bb6d
2022-07-08 23:36:53 +02:00
Translation updater bot 091922ea03 Localisation updates from https://translatewiki.net.
Change-Id: I6c23a47816e418e06f01cfc489db424267845a95
2022-07-05 08:37:55 +02:00
Reedy db06ec876b FancyCaptcha: Deprecate and add alternative for blacklist parameter in generation
Bug: T277936
Change-Id: I8e758023b38a4d450a0bf02b3bfc0b5033959be7
2022-07-04 16:16:20 +00:00
Translation updater bot 2c08028ea4 Localisation updates from https://translatewiki.net.
Change-Id: If195e37fee1d609942735bd3da22ccfc38549fec
2022-07-04 08:21:53 +02:00
Translation updater bot 0e2298036d Localisation updates from https://translatewiki.net.
Change-Id: If228e1efef013dddf9bdf28110583ec9691958a7
2022-07-01 08:52:13 +02:00
jenkins-bot fc1298b033 Merge "Add new ConfirmEditTriggersCaptchaHook" 2022-06-30 19:23:53 +00:00
Alexander Vorwerk 607452ef05 Add new ConfirmEditTriggersCaptchaHook
This allows the dynamic activation of CAPTCHAS triggering without the
need to change the configuration.

This lays the foundation for stewards to later be able to activate
'emergency captchas' via an on-wiki interface.

Bug: T303433
Change-Id: If48689fe068aa3ec56e51e01b84cf25c63bcbf0b
2022-06-30 18:59:45 +00:00
Translation updater bot 0df8aecabb Localisation updates from https://translatewiki.net.
Change-Id: I64eb8842f6154856c125b53a9a51bc798e0cc0cb
2022-06-23 09:02:41 +02:00
Translation updater bot 6a9e055740 Localisation updates from https://translatewiki.net.
Change-Id: I226e6ef4c17cf36d782227022581f9780755d117
2022-06-21 08:30:18 +02:00
Translation updater bot 498452751f Localisation updates from https://translatewiki.net.
Change-Id: I2a62474a8fae319d62b90b0eb68181951f024e0e
2022-06-20 08:16:35 +02:00
jenkins-bot 1f17aa7ed2 Merge "Add missing use statement in ConfirmEditHooks" 2022-06-16 15:20:22 +00:00
Translation updater bot 2301ea515a Localisation updates from https://translatewiki.net.
Change-Id: I127eb7ffe384f7e70f68c026a9c732f581b8c904
2022-06-15 08:41:13 +02:00