Commit graph

3495 commits

Author SHA1 Message Date
thiemowmde 7913547820 Use more trivial HashConfig in CaptchaTest
HashConfig is a rather trivial value class with not much behavior.
The complexity of an actual moc is not needed here, it seems.

Change-Id: I80025e67f248889ffff4d7237793e7d83dd269d5
2024-09-17 06:58:43 +00:00
Translation updater bot 5a86fd08ff
Localisation updates from https://translatewiki.net.
Change-Id: I108aa3185feff38a3bd5ad875d45c9cfe3a6f717
2024-09-12 09:17:43 +02:00
Translation updater bot b375ba354f
Localisation updates from https://translatewiki.net.
Change-Id: I41158510619fb123c8b503bea90bd206edd4ade4
2024-09-10 09:28:53 +02:00
Translation updater bot a6d94a988b
Localisation updates from https://translatewiki.net.
Change-Id: I281fe6efc8f690a56f6b7f3fc12117d35e05220a
2024-09-06 09:39:16 +02:00
Translation updater bot e498a08397
Localisation updates from https://translatewiki.net.
Change-Id: I6bbbb3f96a8c86e520feeca98c09abf89091deb5
2024-09-03 09:32:12 +02:00
Translation updater bot 0581336821
Localisation updates from https://translatewiki.net.
Change-Id: Ia3f53b5b300e48c142839417041498ce0acff80b
2024-09-02 09:20:29 +02:00
jenkins-bot 484f30b4a5 Merge "Keep sending CAPTCHA info if an unrelated save error happens" 2024-08-28 20:21:28 +00:00
Translation updater bot 7eb90c6767
Localisation updates from https://translatewiki.net.
Change-Id: Ic8c36dd9f4887dfa7206c180acdd610eede702c9
2024-08-28 09:37:49 +02:00
Bartosz Dziewoński 6e4fd9cff7 Keep sending CAPTCHA info if an unrelated save error happens
Bug: T371041
Change-Id: Id18095d830f6b78770a4f9167268d9717352e7e4
2024-08-27 23:53:43 +02:00
Translation updater bot c6b0bdfb34
Localisation updates from https://translatewiki.net.
Change-Id: Id96645e6e05df9142f93c453176f65952675d1d4
2024-08-27 09:47:28 +02:00
Translation updater bot 9aec7c4ece
Localisation updates from https://translatewiki.net.
Change-Id: I6ddc86bd147340f65c2f2fbb9988efec838cc93e
2024-08-26 09:21:58 +02:00
libraryupgrader db5a5bcd4f build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I873c7caf32ed1539b8f4399667975c09b20079fc
2024-08-26 02:18:03 +00:00
James D. Forrester fbd2ef2947 build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I0fcf7343ca5bfcdeb3f3447bd335beaa29b488ad
2024-08-22 16:51:16 -04:00
Translation updater bot ae7be8e66b
Localisation updates from https://translatewiki.net.
Change-Id: I390aa730dd660db6365697dde76dc5799208c959
2024-08-22 09:21:59 +02:00
Translation updater bot 01176575f8
Localisation updates from https://translatewiki.net.
Change-Id: I7e14215bdb66752d24d78c3d59dfac115a920db9
2024-08-21 09:23:09 +02:00
jenkins-bot a1047fd2f6 Merge "Replace gettype() with get_debug_type() in exception messages" 2024-08-20 21:49:50 +00:00
jenkins-bot 5342db1053 Merge "Add missing documentation to class properties" 2024-08-20 14:01:55 +00:00
Translation updater bot 56299c2fec
Localisation updates from https://translatewiki.net.
Change-Id: I9e5fb94e6c27c31ed37365b7fe02baa9cabfbff6
2024-08-20 09:42:34 +02:00
Umherirrender 29103eecde Add missing documentation to class properties
Change-Id: Ic7872cd2539dc79f88c70548cbd82d9de98f66b0
2024-08-19 21:36:23 +02:00
Translation updater bot 406b04553e
Localisation updates from https://translatewiki.net.
Change-Id: I042509d9f627108e54d0024d4cf0fc24223c8d57
2024-08-19 09:22:50 +02:00
jenkins-bot 25f3750553 Merge "captcha.py: Simplify and sort import statements" 2024-08-19 06:02:36 +00:00
Translation updater bot 93add7e71d
Localisation updates from https://translatewiki.net.
Change-Id: I31fa42f2e76c9875d79447c1671567e55e0bd87e
2024-08-16 09:27:38 +02:00
Translation updater bot 6e1b6cb55a
Localisation updates from https://translatewiki.net.
Change-Id: I36c2a85203f2ee026e142c8b14e11b5f08356e1e
2024-08-14 09:22:25 +02:00
Translation updater bot 2a09d9fa23
Localisation updates from https://translatewiki.net.
Change-Id: I4c54a0a4c90f41c674568a1c8c5d6e96a0638d05
2024-08-13 09:50:36 +02:00
Bartosz Dziewoński 78b1492a04 Replace gettype() with get_debug_type() in exception messages
get_debug_type() does the same thing but better (spelling type names
in the same way as in type declarations, and including names of
object classes and resource types). It was added in PHP 8, but the
symfony/polyfill-php80 package provides it while we still support 7.4.

For reference:
https://www.php.net/manual/en/function.get-debug-type.php
https://www.php.net/manual/en/function.gettype.php

Change-Id: Ib07dccfe476adc203371a9082e52db56cba2e057
2024-08-12 23:05:31 +02:00
Translation updater bot 089d63c2c5
Localisation updates from https://translatewiki.net.
Change-Id: Ia0cc5fbafaf016b2ef37135b46f71f1247499dbc
2024-08-12 09:22:20 +02:00
libraryupgrader a0a9bf6cb2 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Ia9625c375a20563f2f3529f84522d021fab25529
2024-08-11 05:01:38 +00:00
Reedy 9f1f29dd8d captcha.py: Simplify and sort import statements
Change-Id: Iaf968a4d69dba0550c8580b09e8029fee7b5fa94
2024-08-08 08:49:37 +00:00
Reedy 99b1478884 captcha.py: Add json output mapping
Bug: T370535
Change-Id: I0c8964b3d6ef087bd41ed11cfaa91cd83fff6275
2024-08-08 08:45:52 +00:00
Translation updater bot db5ce2dba1
Localisation updates from https://translatewiki.net.
Change-Id: Ib6d820bc1a0f24f32ce491264ddb68b1125c1ef4
2024-08-08 09:19:24 +02:00
Translation updater bot 7a994c14df
Localisation updates from https://translatewiki.net.
Change-Id: I83e589dbf819262754302178453fac1357a15298
2024-08-06 09:46:34 +02:00
Translation updater bot 1409aa3f64
Localisation updates from https://translatewiki.net.
Change-Id: I7106b11c9445d85510c8d592de2a0f13ea745078
2024-07-29 09:26:24 +02:00
jenkins-bot 46fab021f4 Merge "Use namespaced MessageSpecifier" 2024-07-28 21:30:03 +00:00
Bartosz Dziewoński 8ee87bf121 Use namespaced MessageSpecifier
Depends-On: I9ff4ff7beb098b60c92f564591937c7d789c6684
Change-Id: I45481710477a3b9bda86670e10fb2fdf75f63260
2024-07-28 21:59:31 +02:00
Translation updater bot 7a03e63f59
Localisation updates from https://translatewiki.net.
Change-Id: Ib924a0ae90832ab5e3f48b37290e0e6c5d1513c2
2024-07-26 09:44:09 +02:00
Translation updater bot 02961d1d2b
Localisation updates from https://translatewiki.net.
Change-Id: Ibfcaa078b0073d643898c42f6bfbfc88094ecb88
2024-07-25 09:18:44 +02:00
Translation updater bot 4e46e4b7d5
Localisation updates from https://translatewiki.net.
Change-Id: Ifacf58ccbf7e854ed9bcf797edbd7d00be9b3139
2024-07-24 09:22:41 +02:00
Fomafix 07646e4a65 Replace setMwGlobals by overrideConfigValue/overrideConfigValues
Change-Id: If63e84d8101f2169f684c4db822f7df907d2deec
2024-07-22 13:33:09 +00:00
Translation updater bot 90fdec4095
Localisation updates from https://translatewiki.net.
Change-Id: I6d68104c652d9178f9cf9b97d5f5f289ece0c74b
2024-07-22 09:24:14 +02:00
jenkins-bot c9bc0f036e Merge "captcha.py: Split parser.add_option() calls onto newline per parameter" 2024-07-22 05:51:33 +00:00
jenkins-bot 499fa589b2 Merge "captcha.py: Swap x0/x1 and y0/y1 values before d.arc() call" 2024-07-20 23:08:58 +00:00
Reedy 34733bf6e3 captcha.py: Split parser.add_option() calls onto newline per parameter
Change-Id: I6be4101dd8444a19ec3c3e9a600fb2da0fce8397
2024-07-19 16:52:26 +00:00
Reedy 7f02c769df FancyCaptcha: Fix return type for showImage()
Change-Id: I53875ffa1d795c267f6d9d04caa6bda4c5aba038
2024-07-19 16:02:41 +00:00
Reedy a12e5cd5b0 captcha.py: Swap x0/x1 and y0/y1 values before d.arc() call
Bug: T354099
Change-Id: I0dfd7dfcb2130d612817b4cf8bd644a7d4eb4e40
2024-07-19 14:15:42 +00:00
Translation updater bot 7f93c46dc5
Localisation updates from https://translatewiki.net.
Change-Id: I3844a82448f32b7694e7985b5cab6e585a1f3f17
2024-07-16 09:39:38 +02:00
Translation updater bot 819cd09d04
Localisation updates from https://translatewiki.net.
Change-Id: Ia64762335ba3e1f89f4210631e7376efdb75566c
2024-07-15 09:23:44 +02:00
Translation updater bot b07629013e
Localisation updates from https://translatewiki.net.
Change-Id: I316d18ed8cb4dda30095929db09596f767eb2a10
2024-07-12 09:40:22 +02:00
jenkins-bot d9d71e173e Merge "Turnstile's response field uses a static name instead of IDs" 2024-07-11 08:41:05 +00:00
Translation updater bot c992c6d7f6
Localisation updates from https://translatewiki.net.
Change-Id: Ic81d4961348adf2e1b9c2709509be09738b11acb
2024-07-11 09:29:50 +02:00
Kosta Harlan 6f78a3ac57 SimpleCaptcha: Show captcha-edit message if forceShowCaptcha is set
Why:

- forceShowCaptcha is set if another extension wants to ensure that a
  CAPTCHA is presented to the user. In this case, the 'captcha-edit'
  message is more appropriate than 'captcha-edit-fail' as
  'captcha-edit-fail' implies that the user already tried and failed to
  solve the CAPTCHA.

What:

- Use 'captcha-edit' message on confirm edit hook failure if
  'shouldForceShowCaptcha' is set
  - ... but use 'captcha-edit-fail' if the user submitted an attempt.
    Note that the updated message only works in the source editor,
	not in VisualEditor or DiscussionTools

Depends-On: I5a0698d84932a474800a68dba9b76b3433b19290
Bug: T20110
Change-Id: Ie13181b78b8e2903c6cc0f0f778689bcc8b8ce2e
2024-07-10 09:50:26 +00:00