Commit graph

3402 commits

Author SHA1 Message Date
Reedy ed6b393644 captcha.py: Swap x0/x1 and y0/y1 values before d.arc() call
Bug: T354099
Change-Id: I0dfd7dfcb2130d612817b4cf8bd644a7d4eb4e40
(cherry picked from commit a12e5cd5b0)
2024-07-21 10:13:32 +00:00
alex4401 317d472e8a Turnstile's response field uses a static name instead of IDs
The script was originally looking for the field by ID. This resulted in an infinite challenge loop when saving edits through the VisualEditor.

This bug stopped our [wiki.gg] rollout of Turnstile over the network last week, so upstreaming this fix in case someone else needs it.

Bug: T361098
Bug: T368852
Change-Id: I0354a33d0d1af988c8788ad2bb021c585384b038
(cherry picked from commit 92bcb7f2a2)
2024-07-19 17:21:24 +00:00
Translation updater bot c52cc04a3f
Localisation updates from https://translatewiki.net.
Change-Id: Iffd291106cee7386082a77dd71a586859a459616
2024-07-18 08:14:08 +02:00
Translation updater bot e62a16e8c6
Localisation updates from https://translatewiki.net.
Change-Id: I67a73de39ff532a2d9324ee20a6b65d51d523853
2024-07-11 08:01:59 +02:00
Translation updater bot 50982f72bd
Localisation updates from https://translatewiki.net.
Change-Id: I7a66e387990cc601637f4233861e6605a3fa7abf
2024-07-04 08:32:06 +02:00
Translation updater bot 48757725a8
Localisation updates from https://translatewiki.net.
Change-Id: I07b34df0507154bee195f6b3e711d64754b97428
2024-06-27 08:43:01 +02:00
Translation updater bot 878b629293
Localisation updates from https://translatewiki.net.
Change-Id: I8406234ab427f1337d13cce4d38916a2ac66cfdf
2024-06-20 08:43:29 +02:00
libraryupgrader c12d7d8219 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I39561022b8d1779af576b61a4ceb8c3f85adc3e5
2024-06-16 17:31:40 +00:00
Translation updater bot 31d79ef809
Localisation updates from https://translatewiki.net.
Change-Id: Iecba0cee0e06282c117b5a5742a74683c88162f9
2024-06-13 08:35:47 +02:00
Translation updater bot 64e058603f Localisation updates from https://translatewiki.net.
Change-Id: I8d8e665408c217ee9bad7df8f5883783eab43c44
2024-06-06 08:38:29 +02:00
Translation updater bot 5cb6d1064c Localisation updates from https://translatewiki.net.
Change-Id: Idc5f6fee96193d780722ac7c9c67025323c7083a
2024-05-30 09:11:38 +02:00
Translation updater bot 152dff1e7e Localisation updates from https://translatewiki.net.
Change-Id: Iadded43a5a810116cf16c193ebe809f37182dd7f
2024-05-23 08:38:23 +02:00
Translation updater bot c2458d2fd7 Localisation updates from https://translatewiki.net.
Change-Id: I19619d42907f3a065ccbe44f70d0c4de1229dbb7
2024-05-16 08:29:29 +02:00
Translation updater bot 98b40f64f7 Localisation updates from https://translatewiki.net.
Change-Id: Iffff977c9c6189f999f4c9a8f3d3931adeb45a62
2024-05-09 08:07:41 +02:00
Translation updater bot f36aabcc44 Localisation updates from https://translatewiki.net.
Change-Id: I2e1f84d471546cd35347f4f25deb5794c48219ec
2024-05-02 08:10:50 +02:00
Translation updater bot b422f6dd3f Localisation updates from https://translatewiki.net.
Change-Id: I132f2343baa401e9a5c3cb080fcbe39ed80a1ff3
2024-04-25 08:30:19 +02:00
Bartosz Dziewoński cb79b5bc55 Fix captcha image overflow
Bug: T358024
Change-Id: Ibbbd434a06f683ed9aae0d80ec04ee4df9864a50
(cherry picked from commit 24ca43e5ca)
2024-04-24 00:32:14 +00:00
Translation updater bot 9103ee8957 Localisation updates from https://translatewiki.net.
Change-Id: Id55958f4a20a5180897f33c9627fbada7728e307
2024-04-18 08:09:46 +02:00
Translation updater bot 20f3fb9b43 Localisation updates from https://translatewiki.net.
Change-Id: I8e8dff5cbe9b042f92f90e7380925132be888d7e
2024-04-05 09:37:54 +02:00
Translation updater bot 0802b72ece Localisation updates from https://translatewiki.net.
Change-Id: I31c2abbba4186a5048f2d1e94958ebc506411f4d
2024-04-04 09:37:35 +02:00
Umherirrender b2ec6b2955 Replace isset() with null check in SimpleCaptcha
Found usage of isset() on expression $this->captchaSolved that appears
to be always set. isset() should only be used to suppress errors. Check
whether the expression is null instead.
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset

Change-Id: I5520786060b2aa2fca81acd40924d84e94e8dff2
2024-04-01 13:38:44 +02:00
Timo Tijhof 5c1fc0f2e0 tests: Remove redundant wgMainCacheType=hash
Follows-up 5b3765f7b, which refactored the way this was set.

Introduced in 2016 with 31c59374a, but redundant since 2020 with
commit c6c62e2c8f in MediaWiki core.

Bug: T139216
Change-Id: Iaf0a2f60833797ecf0b74f69dd797ca3c53cc550
2024-03-29 23:03:41 +00:00
Translation updater bot 42b6bcaa3b Localisation updates from https://translatewiki.net.
Change-Id: I0679113b316d84fb9fab215d5f9720ac6a6f6f27
2024-03-29 08:46:30 +01:00
Translation updater bot a59f780cd4 Localisation updates from https://translatewiki.net.
Change-Id: I73e0b0a7b13210208e6f039f3264c29690be3011
2024-03-26 08:19:21 +01:00
Umherirrender bcdde67ebd Add explicit parentheses around mixed boolean operator
Mixing different binary boolean operators within an expression
without using parentheses to clarify precedence is not allowed (T358966)

Change-Id: I908691348d259d868f39a7737614be82c9ce0c75
2024-03-23 00:52:19 +01:00
Translation updater bot a1a566a1c1 Localisation updates from https://translatewiki.net.
Change-Id: Ifd8ee307ae123da45da4a5b1fc67d2fcbf8f8e21
2024-03-22 08:43:58 +01:00
Reedy ec6f8c5fee GenerateFancyCaptchas: Include stderr result if captcha.py returns an error code
Bug: T360653
Change-Id: Ie998180e5a74441c76e236074961cf0d34aaecaf
2024-03-21 16:40:49 +00:00
Translation updater bot 8a94dca6f2 Localisation updates from https://translatewiki.net.
Change-Id: Iff70272e0cad637401c9fc55e1cdf987c38d383d
2024-03-20 08:23:23 +01:00
Translation updater bot 1ca0b338e2 Localisation updates from https://translatewiki.net.
Change-Id: I39ba5cf12e9a0d86e718d26442bc81c8bfedb527
2024-03-19 08:24:48 +01:00
Translation updater bot 78ba529096 Localisation updates from https://translatewiki.net.
Change-Id: I90c432110e3e63db95889d7064654f660f330d6d
2024-03-18 08:30:41 +01:00
Dringsim f3cd5b0bc9
Replace usage of wfGetDB()
Bug: T357638
Change-Id: Ibb03f914f90e711d5b28fa24073428617fbaf955
2024-03-17 00:44:39 +08:00
Translation updater bot 4d3fa16089 Localisation updates from https://translatewiki.net.
Change-Id: I864416a1632386f82f0feeb2305d78c35d01d27c
2024-03-13 08:25:22 +01:00
Translation updater bot 3dd3e02b80 Localisation updates from https://translatewiki.net.
Change-Id: I5778377294be13e85203be81e668e3c28877b0a9
2024-03-12 08:24:15 +01:00
Translation updater bot fc342c4c8f Localisation updates from https://translatewiki.net.
Change-Id: Iee04a7e56831d68294f0b2fd4044694938fb5a68
2024-03-11 08:26:37 +01:00
Umherirrender af6ecdecf7 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I5b46168e1e845747ae0a92b28a7f9e56e06309aa
2024-03-10 17:18:48 +01:00
jenkins-bot 6588e7c57e Merge "Fix ConfirmEdit to avoid global state" 2024-03-08 16:36:47 +00:00
Translation updater bot 619143041a Localisation updates from https://translatewiki.net.
Change-Id: I44b854dfc3437ab0e2daada115b59280de018237
2024-03-08 08:22:51 +01:00
Derick Alangi 5b3765f7b5
Fix ConfirmEdit to avoid global state
ConfirmEdit will try to mess with ObjectCache::$instances, clean this
up so that we migrate consumers to go through ObjectCacheFactory.

Bug: T358346
Change-Id: I317a1a17f4f39e99a9b31660eebcd0185adb88f8
2024-03-07 15:05:23 +03:00
Translation updater bot 43f2f36462 Localisation updates from https://translatewiki.net.
Change-Id: Icb81ed4ae441b5c6582e8c3f2907a244658bd31d
2024-03-07 08:48:18 +01:00
Translation updater bot 613f419b8a Localisation updates from https://translatewiki.net.
Change-Id: I6545a2f056671afd0215a49ab8767d260e509a82
2024-03-04 08:23:10 +01:00
Translation updater bot 00741aac24 Localisation updates from https://translatewiki.net.
Change-Id: I32503e97df61b88cc7e30a7ed77767260e69e8a4
2024-02-29 08:35:45 +01:00
Translation updater bot a59c010195 Localisation updates from https://translatewiki.net.
Change-Id: I4c833ded00377a3db4dee02909410bb613110c88
2024-02-28 08:14:06 +01:00
Translation updater bot 9d93795d18 Localisation updates from https://translatewiki.net.
Change-Id: I8a282e84d78be52014b6a14a88498976012fb0b5
2024-02-27 08:19:47 +01:00
Translation updater bot be4c730cf8 Localisation updates from https://translatewiki.net.
Change-Id: Ide9e4cbcfbb694087f93b48d178ae248b0bc678c
2024-02-26 08:35:45 +01:00
Translation updater bot 6f42354e94 Localisation updates from https://translatewiki.net.
Change-Id: I12e0b745375ffd5347c8884b2996ab2084527ebe
2024-02-22 08:43:17 +01:00
Translation updater bot d523383d6e Localisation updates from https://translatewiki.net.
Change-Id: I96cbb18680f3dbf0d1077d942fcb5352b8bf07a7
2024-02-21 08:35:28 +01:00
Reedy 86af079ed9 Deprecate use of captcha-old.py
Bug: T357930
Change-Id: I69a2e68d430d7a5769fb8b4391f1163ee99ad8fb
2024-02-19 19:11:43 +00:00
Translation updater bot be305ed8a5 Localisation updates from https://translatewiki.net.
Change-Id: I903b38ce6a9f1adb230b29213740baf42a7c5b6e
2024-02-19 08:39:54 +01:00
jenkins-bot 7fed1dc57a Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()" 2024-02-17 03:20:15 +00:00
Bartosz Dziewoński 1349c099c6 Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994
Change-Id: I706a44af75c85bb8d1e4dd6b8e813e436fd8943b
2024-02-17 02:55:53 +01:00