Commit graph

3558 commits

Author SHA1 Message Date
Translation updater bot 54f8e104fd
Localisation updates from https://translatewiki.net.
Change-Id: If69ad15279a0856c420478339cc3584399240797
2024-09-23 09:21:12 +02:00
Translation updater bot 863268f185
Localisation updates from https://translatewiki.net.
Change-Id: I8a1fb5f106425a5d81e4e2104a00e135bbe6e2aa
2024-09-20 09:23:26 +02:00
Translation updater bot 0c5494c8db
Localisation updates from https://translatewiki.net.
Change-Id: Ia69fe7114422c901f7fbfc58b7776aad17e2c95b
2024-09-19 09:18:00 +02:00
Translation updater bot 12387b9f2b
Localisation updates from https://translatewiki.net.
Change-Id: Idb0284f2cc27fa0c98e213df1f0c64ab17e1e280
2024-09-18 09:18:44 +02:00
jenkins-bot cd2955534f Merge "Replace uses of mw.Uri with browser native URL" 2024-09-17 23:40:47 +00:00
jenkins-bot 31c26eaa77 Merge "Fix confusing usages of TestingAccessWrapper" 2024-09-17 23:27:24 +00:00
Ebrahim Byagowi 639dbc5cd7 Replace uses of mw.Uri with browser native URL
Uses of mediawiki.Uri apparently wasn't explicit but this
makes uses of URL's polyfill explicit which later will
be removed.

Bug: T374314
Change-Id: I62b92b3bc923269226512ab50b0708ce5a382abf
2024-09-17 22:53:53 +03:30
jenkins-bot bac39ab8fe Merge "Use more trivial HashConfig in CaptchaTest" 2024-09-17 11:13:21 +00:00
thiemowmde 8180e6450d Fix confusing usages of TestingAccessWrapper
Some of this is not necessary at all because all properties are
public anyway.

In other cases only one property needs to use the wrapper, the rest
is public and can be accessed normally.

In other cases we just missed the @var annotation to make the IDE
aware of what's actually going on.

Change-Id: I29b526ee3aad9f0c9671fb133c625b9f14309db9
2024-09-17 08:53:41 +00:00
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 498dac5cc1
Localisation updates from https://translatewiki.net.
Change-Id: Icb4bb3547ed9346ea7a2bd726a03559f23567afd
2024-09-16 09:25:46 +02:00
jenkins-bot be21cb388f Merge "Merge trivial @dataProviders in CaptchaTest" 2024-09-15 05:22:36 +00:00
thiemowmde 50f533c9e9 A few very minor code cleanups
A bunch of very minor code cleanups I collected in my local dev
environment the past months:
* Remove dead code.
* Make use of the ??= operator where possible.
* Fix inconsistent @var syntax.

Change-Id: Ie8de34f15503eb2bf0f6df855af55c212235dff3
2024-09-13 13:04:53 +02:00
thiemowmde 9639f30ed5 Merge trivial @dataProviders in CaptchaTest
These providers don't really do anything but provide the two possible
booleans. That's it. Why not make the code say that?

Change-Id: I0cbca6222e8130d504494ae86b1a963a92430a61
2024-09-13 13:02:24 +02: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