Commit graph

128108 commits

Author SHA1 Message Date
Translation updater bot
869a82797d Update git submodules
* Update extensions/ImageMap from branch 'REL1_43'
  to 8a34479ecede081f5aaae07bcf84aa10558538a9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idb7e3afd4d4caad0c0758ae2abcef19535d12824
2025-02-11 06:21:01 +00:00
Translation updater bot
7c12e6e307 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 2adb85bea8bc6a2146752e61ccb4fed448c8354b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I99eb2bf0514946f72266677909a61f198acb7d12
2025-02-11 06:20:57 +00:00
Translation updater bot
3522750c16 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to f4c6ed018f5e7a2824845fc5137755af94324871
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibdf7e6f05eeef219a173864e72aabb935ff60c35
2025-02-11 06:20:56 +00:00
Translation updater bot
33e3974d4e Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 975e6a53197ab89dad2073b2337a18d3ccf1fc26
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib1af943f2f30cf55befac725db6c308e202159c6
2025-02-11 06:20:39 +00:00
Translation updater bot
e5ec22436a Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 0dc3c8e5f0432b4da2be818aeefe6a4fb13ebf54
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iefb05ed111b19668b82f1cc466e0e0646ed1bf41
2025-02-11 06:20:38 +00:00
Translation updater bot
9a0b8f4165 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 2e4685bed8218c9f4f0c1f607b8ba02c75a0781e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I24c37fb52c7cf7b25ff7c29488cd144d17de7bd3
2025-02-11 06:20:36 +00:00
Translation updater bot
c54aa2968b Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 1f56bbf8fb51aa00efb72113e51cc112fcf20991
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie902dab7a4cf7f96ffc524e06c474aec54a644b2
2025-02-11 06:20:19 +00:00
Translation updater bot
921fcc4d4c
Localisation updates from https://translatewiki.net.
Change-Id: If800b2998c86a9d9333057ccbcfe4e638dfbaca4
2025-02-11 06:32:37 +01:00
anterdc99
4da53e4e00
Fix indentations of special page aliases in Trad. Chinese
Change-Id: If502ebe94f3b6414f51c7238df4c49e756393d07
(cherry picked from commit b6ecdfb087106abf405691f48a222ae628c2ff14)
2025-02-06 21:06:56 +08:00
anterdc99
41e8b8d5e7
Add special page aliases for Simp. & Trad. Chinese
Change-Id: I1d30fe0ca4c1956201e465a32c9ca1aa5919f931
(cherry picked from commit 076db709a912ce23c922e4e10f8e9e94712201ac)
2025-02-06 21:02:36 +08:00
jenkins-bot
637e4121dc Merge "rest: Return a 400 for invalid render IDs" into REL1_43 2025-02-04 16:01:04 +00:00
jenkins-bot
ce24650bfa Merge "parser: Gracefully handle invalid ParsoidRenderID keys" into REL1_43 2025-02-04 15:58:58 +00:00
Reedy
a973a62478 Update git submodules
* Update extensions/Poem from branch 'REL1_43'
  to 8c1e853e2e7f08d20e0c78309509c90b46f73bae
  - Poem: Null coalescence $in
    
    Bug: T385588
    Change-Id: I64c660cd4518e12c4a1c543bf3b1732dbd7066a2
    (cherry picked from commit 88dead04dcbb01df42c1397df3dde3fcfdb80b52)
2025-02-04 15:43:21 +00:00
Máté Szabó
c4e9f987f1 rest: Return a 400 for invalid render IDs
Why:

- The REST API takes an optional renderid param when converting HTML
  back to source wikitext, which is user-provided and may be invalid.
- Invalid render IDs cause an InvalidArgumentException to be thrown that
  causes a 500 response.

What:

- Introduce a new error message for invalid render IDs in the REST API.
- Return a 400 with this new error message for HTML reverse-parses with
  an invalid render ID.

Bug: T385568
Change-Id: I062419fe8952329a39781a49cdca2e94c3996447
(cherry picked from commit cd1d42a5066e4bcb9b9d4ed9b4f7714fd428fea3)
2025-02-04 14:54:50 +00:00
Máté Szabó
b99dcc23bc parser: Gracefully handle invalid ParsoidRenderID keys
Why:

- ParsoidRenderID::newFromKey() validates incoming keys and throws an
  InvalidArgumentException if a required key component was missing.
- It does so by eagerly destructuring the return value of explode(),
  which causes a PHP Notice for invalid inputs as the expected offsets
  won't exist then.

What:

- Check the count of key parts before destructuring.
- Add unit tests.

Bug: T385567
Change-Id: I1d936ae038f85ffa2e5d1d3d8a75fdc75e4c8ef8
(cherry picked from commit eec130925c081c2da1c475f9a9ce719e6838ca51)
2025-02-04 14:54:31 +00:00
Reedy
e751026153 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 3ef08eb81ec11e009cf79bc92ba172b59c073001
  - Hooks: Check for null option in onSpecialMuteModifyFormFields
    
    Bug: T385169
    Change-Id: I38c5614745abeb2fa66e881b586cd1660ff8ef9d
    (cherry picked from commit 35519f33b5c1bcdf344d689c356c32f4fd7f118f)
2025-02-04 12:15:50 +00:00
Translation updater bot
f4bd2c03a4 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to e3a1e3b3fc73f4c5257a2774a68105899952c307
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib448290cc2f37ae2a15409fffbe0e080aec93323
2025-02-04 06:22:21 +00:00
Translation updater bot
b9ae5c0b22 Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 4fb4f38f2a69dd525898a64acef6924ef5c45d67
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic2928071e06c6535a0190d0aa1dde10108da3bf3
2025-02-04 06:22:18 +00:00
Translation updater bot
68983e9a80 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to e7cbd7d6e60ed9c1885443b0194babd16bb0f25e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3af0da4b59c11cfc16af21f7682c87436bd01e7e
2025-02-04 06:22:18 +00:00
Translation updater bot
e66458ddc2 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 265052ed3b5f687b3409a196594bace3e7eeb0b5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I66a6820de42190f29da26393a3ebecaa3e8adf5d
2025-02-04 06:21:03 +00:00
Translation updater bot
45dd734111 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to fbd58ba53bb285464a2f9dba544c642e162c75d0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic3844da80ae2ced94ccf938fbf6d7f3fbd0a7abe
2025-02-04 06:20:34 +00:00
Translation updater bot
f7e22ce19c Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 15489e52eb7e460a3c428724235c8f2ecfde4c28
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6789f34658d2f33be5b3fbe50db5567252288092
2025-02-04 06:20:33 +00:00
Translation updater bot
f2e6990dbd Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to b90daf8a5b31af4f85b60b8051557b65278ab77b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I44ff68f947d7628254bfcdd69d67dd61b4b37193
2025-02-04 06:20:27 +00:00
Translation updater bot
7245e53d6d Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to 104b122f08bcf1fd4ad76bff196632cf78973320
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4ebfe3435b650db01d0c3c53c8240cf91d7f1af1
2025-02-04 06:19:58 +00:00
Translation updater bot
3a8bdca214 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to b5e66028486119f25412d571c2bd293b2ae265b9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6337cd30f29f5383b64754d9dd543564d591cc05
2025-02-04 06:19:49 +00:00
Translation updater bot
680a036df7 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 972ae7df592efce073439fe8729a5ca797592c1f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia2f0781aa251b2cc6bc903b29e65ca2b55f674a4
2025-02-04 06:19:48 +00:00
Translation updater bot
9f401c3a77 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 6e3b7452b5ab9310aeca4522840964422bcf41ab
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1b8a531389b51542c1c5e6a380e63a08c46c6b71
2025-02-04 06:19:48 +00:00
Translation updater bot
785c2935e3 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 118451fc50d58479a0ce49ae1bad5180ab8cb943
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3edbd54f20d2b6e21d5abb3eb37a930629db0b23
2025-02-04 06:19:31 +00:00
Translation updater bot
3e8f2b0c7d Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to c4b8e4c90a955e7d72e38e2799c02bf5357519ab
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0c346648a5fbf21879f29b9990f672443cb23d74
2025-02-04 06:19:30 +00:00
Translation updater bot
c8aed8ea48 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 2fdd9dcc0f6286e2215b9b9c9b4aec2b06ce499f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5fa515f46cb1561ae73b09f96fb3673d5ec509a5
2025-02-04 06:19:17 +00:00
Translation updater bot
5de96fc3e7 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 5cb6026104f0a622b82721edf8510e75597ecc6c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic1edd34b9db49486cc1592f10ba81ca7fc1e55e1
2025-02-04 06:19:02 +00:00
Translation updater bot
ff196f4629 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 6a6c0e83440845786b4d461e629a907ca8605519
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie63f8da15c9b2293c6a73576f3e8f0ee8aac4a27
2025-02-04 06:19:01 +00:00
Translation updater bot
0931e965f0 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 37a821dd417a29e42cc26e4592f7634564e603f7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2fd8f046d2c004732ae318bc6cbc015678fa4200
2025-02-04 06:19:00 +00:00
Translation updater bot
c6cf58eb5e Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 544867f81dd669e1d74c2a804ce69b643b16c029
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4316885a3946bf67c5de27d03af222c08aad4f33
2025-02-04 06:18:43 +00:00
Translation updater bot
761cbc5e45 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to cfa090ab129e7bfa6919f74ab8538eca06fc1880
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifaa82a8d7645863a31c32299d743d970091cae68
2025-02-04 06:18:35 +00:00
Translation updater bot
f7894ca439 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to e030f2a57e014ace207a732e9be2db6cb6061544
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4371ec11073feb6380dc197717fe0839790e295b
2025-02-04 06:18:27 +00:00
Translation updater bot
e00a967d45
Localisation updates from https://translatewiki.net.
Change-Id: If24feed544ade08f7f94ff61566392de84bb6a19
2025-02-04 06:32:24 +01:00
Reedy
3460542437 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 57169440aca246992f8aa75b88213b4e5597a43f
  - SpecialMathWikibase: Null-coalescence $par
    
    Bug: T385269
    Change-Id: I2023f7e44e27348895a2aee8b25546fc9ffdacda
    (cherry picked from commit 5dd7a8505871cdf66d225d09cf0a3d143b65e7ca)
2025-01-31 15:36:04 +00:00
Reedy
f9381d65f1 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to eeff5667cc3d450beefceb66e79873b358cb2675
  - SpecialMathWikibase: Null-coalescence getDescription() call
    
    Also document in MathWikibaseInfo what can be null
    
    Bug: T385170
    Change-Id: I3eb0c28b2feefcde058c909bb854d8ec5dc70e8f
    (cherry picked from commit dac8e2c4285376437ac1798a0c32ffac080dc1f5)
2025-01-31 00:16:38 +00:00
Yaron Koren
f3a47e06de Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to dd4afb8c0e90854748ae3cbf729421a7906b28cb
  - Try to avoid "Expansion depth limit exceeded" error in page text
    
    Change-Id: Ibc1f8f2a3a557802477f829a9c4495f31198b82e
    (cherry picked from commit 65e39f14620c76646572a1f048450302ffe4b292)
2025-01-30 22:00:22 +00:00
Reedy
c8ad182926 MultiUsernameFilter: Don't try to split ids if they're not a string
Bug: T385169
Change-Id: I97e22139846a28b91021c463de2dbb1db3b73909
(cherry picked from commit 75a2dc996d9ee665c2dcf0e503215fc3bbfc39f8)
2025-01-30 15:26:00 +00:00
Reedy
b218b92931 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to b6cadfa9b2e112c522ce4cb9afd7e791fc35b65b
  - FancyCaptcha: Return early in passCaptcha in numerous cases
    
    * If not using Delete On Solve
    * If the passed index (of the captcha) is null
    
    Bug: T384858
    Change-Id: Ic7caff68921f41e46ef15c51a02d3377f1927e73
    (cherry picked from commit e23941a2ae58eab22abd5a47b7de4372342b984d)
2025-01-30 15:24:17 +00:00
Roan Kattouw
e402fc7d91 resourceloader: Fix hash computation for virtual files with versionFilePath
A regression in 69ad795df7 caused virtual
files with a versionFilePath to be silently dropped from the version
hash computation. This caused changes in these files to not be reflected
in the version hash of the file.

Bug: T385055
Change-Id: Ibde41f07bb6fa7610660cb5b7a3f7aafbe9d6bd3
(cherry picked from commit bce48b6358cd2176d9fbc9a7c22f008bfbcf73d2)
2025-01-29 21:26:20 +00:00
Ammarpad
8713498046 specialpage: Improve handling of invalid lang codes on login/signup
Special pages for login and signup contain language selector links
to change the interface language, the available languages are defined
via the `loginlanguagelinks` message. Invalid codes will make the
pages completely inaccessible, preventing account creation and login.

This patch improves the link generation logic to only create links
for codes considered valid by LanguageNameUtils.

Bug: T384995
Change-Id: I4f470dc417a773225ba335f95da1151525a2f620
(cherry picked from commit da179c65056d65dc5d610af1e29fed57df4f1082)
2025-01-29 16:04:57 +00:00
Reedy
73ae8ac576 FormatMetadata: Prevent running preg_match() on null
Bug: T384879
Change-Id: I439d000515198e43f65a13f8676cadb21ee65d28
(cherry picked from commit 55ad2b22e9b1339f5c0405b5bf4fc1afc0f11952)
2025-01-28 12:05:59 +00:00
Translation updater bot
c6537d6261 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to dcfd639d0cf9b0d0ff502766e620c2d0d68947e8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibbdacb5895066c2894b152a1efbbc8a3c8735e52
2025-01-28 05:59:23 +00:00
Translation updater bot
65d5b6143e Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to b8febf782b5291d85c0d7a5f97fca9fd1b21abac
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib8ff88095181fb4078437e3854a15abce8acd01a
2025-01-28 05:59:21 +00:00
Translation updater bot
8e16694ed3 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to cab983ee3234b111f0fb57bc2f8dee885ee6fae3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7aa2f897fb30b8da2618f735954fbba09d5b2135
2025-01-28 05:58:42 +00:00
Translation updater bot
41d736ed75 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to b89c60348041816658fd392561c86f1cbe86099c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If0b777b4d57157ab7a0b8a026b68f2092eb15281
2025-01-28 05:58:35 +00:00
Translation updater bot
8ed9e51c9b Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to d7b76a5ff98aa5ab3191d99510b9807980b04f6a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I15830120ed7d116aa704b246d32de875b0b83a0f
2025-01-28 05:58:10 +00:00