Commit graph

128138 commits

Author SHA1 Message Date
Translation updater bot
94d88807c2 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to 56bdce6a2e3ddc61db604f57c47006af43874cc8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic6f0e67d03a63f154249cfc9ce962e1f3e9f98dd
2025-02-18 06:26:33 +00:00
Translation updater bot
52eaa49c42 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 5d9ccbdfd292ed7501aa76e63876308f50ff65c5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I390d5db1509d1ecad07219e092631c7e8dc6fca7
2025-02-18 06:26:32 +00:00
Translation updater bot
67ead8fee2 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 3c4e4b51ef4a356b6ad1456cf352f58af90d8c59
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I346eb35a09357f54a7517d42628999bc2ace9c94
2025-02-18 06:26:26 +00:00
Translation updater bot
e1600400ca Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to ec6e2f772dacab881cb9be31a43f9db525104246
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I126e1b15f62c0c02c65c3b7e4517cda2df595bdf
2025-02-18 06:26:03 +00:00
Translation updater bot
75f5fb0aa8 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 8a7c4a6d096cdacc47d10cd18e3f33717790a2bd
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I32f96503228213f67402bd06613499cad7a1a01a
2025-02-18 06:26:03 +00:00
Translation updater bot
8d372e3200 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 382591dc50ce85c813fd5b52ccee9a9cb9c67942
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I362e6de55b6be3e0beed707b262447c5cceba172
2025-02-18 06:26:02 +00:00
Translation updater bot
a0f1f8a396 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 8bb9ee4926a568a05263e8c7c82277537f6f32ce
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id10ef1b1a634b439e978db1ac7033c13aafb83b8
2025-02-18 06:25:59 +00:00
Translation updater bot
dcd5b58aad Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 807e888687529a246f4f46980e47e144b73c6f8a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib4178995794ddc80dedadd98d3972eefcf80062b
2025-02-18 06:25:54 +00:00
Translation updater bot
4549972932 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 11bbad519ddc464e8d15d38165b1c269de4ce8ba
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6c114c2b0c232e13cc7f25263c76142cb1d5ddd5
2025-02-18 06:25:32 +00:00
Translation updater bot
c3ee11f1b8 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 9417473ae6f28bcbfae5886854c0987b32a2e444
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I55cd091a98bc2d3c4e3945e8d3e906dd406cc6ac
2025-02-18 06:25:19 +00:00
Translation updater bot
4796f6ee46 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to cb61296a70c39506ee768f3681bbd5f25c8f4775
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7278c91ac331533c37c8fd44767d3abccc86c034
2025-02-18 06:25:18 +00:00
Translation updater bot
c4bfc0d128 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 9118eab24d82fb727ceed32a65bc2736c9abcd42
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibafc1aeaf6a34936ca4c739baa230b8b86d12248
2025-02-18 06:25:15 +00:00
Translation updater bot
377907f373 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 86058bfb34139f701da2ccd5ce46113ae8115d76
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I57fd56880968fc0eb45ab208cd07abece08de8d9
2025-02-18 06:25:04 +00:00
Translation updater bot
464fe96123 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 8c2bc0b4032020e45b28e736e248a05bca783ea0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I88866e4fcb3ca0b2bbf4b897f8c11195f1bb44b2
2025-02-18 06:24:26 +00:00
Translation updater bot
086f0b5236
Localisation updates from https://translatewiki.net.
Change-Id: Ie6671ad9a673374b4d70a6fdfe0447e310d1db56
2025-02-18 06:32:08 +01:00
Timo Tijhof
d1ebddf51b installer: Restore "complete" success message
Bug: T384524
Change-Id: I433e381eb1f388584e36bbfd2b40665b61ec22eb
(cherry picked from commit ec17519993e4475588e70c0b9a3b9b7bfcda3268)
2025-02-18 02:01:37 +00:00
Timo Tijhof
6ea3f2f4f5 installer: Restore success messages
Bug: T384524
Change-Id: I688e310ab08d4fb83d5dc47bd1fa79617cead9d3
(cherry picked from commit 379d3842bd4fcc2bd0587ea85a81bb68ed5a285a)
2025-02-18 02:01:00 +00:00
Umherirrender
398fdb85b8 language: Use fallback chain to create NumberFormatter
php8.4 validates the locale and rejects invalid one.
Just use the fallback chain to find an usable language, mostly en.
Cache the created NumberFormatter instance, to avoid performance impact
for some languages due to more attempts to create a NumberFormatter.

Also C is rejected, so resolve it directly with Locale::getDefault()

Bug: T376711
Change-Id: I686f77baea33ea2852c546e30e9cc08618d44321
(cherry picked from commit 8b2cc12bd3724cd213ac581d220b50f91e282630)
2025-02-17 21:24:24 +00:00
Timo Tijhof
dff35eaa42 installer: Fix conflation between warning and info messages
* Fix getInfoBox to not be a warning box, but an information notice
  like it is intended to be.

* Update getInfoBox() to use codex class names, same as showMessage().

* Update getInfoBox() to bold the "Information" title, as per Codex
  examples and guidelines, e.g.
  https://doc.wikimedia.org/codex/latest/components/demos/message.html#multiline

* Remove infoBox() utility, it was used only once, in getInfoBox().
  The `mw-installer-box-*`, `mw-installer-infobox-*` CSS classes
  are also unusd now, however there is nothing to remove because
  these were already removed in a previous refactor.

* Introduce showWarning(), and apply it to showMessage() calls that
  convey non-fatal issues.

Bug: T384524
Change-Id: I6722346ef81a0a9cf8983153271be579905c7898
2025-02-17 03:57:42 +00:00
Amir Sarabadani
f680c0edc1 installer: Simplify the information box
The image passed to ::getInfobox is never passed to ::infoBox() it is
only called twice with an image which also doesn't work, it is never
called with 'class' option so remove both.

Bug: T383646
Change-Id: I4abe9f608e9b5dd657e3948988f28ad991495f25
(cherry picked from commit 412e602cd6586b9ce25b9c3cc9fcde14748fa146)
2025-02-17 01:21:10 +00:00
Translation updater bot
aebca8ecc8 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 92fd097eb02b8c452ae5a80af838486f8d57a7e2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibfe3a06395930c23cd55cd265b5f705d91b74c4b
2025-02-11 06:24:01 +00:00
Translation updater bot
1937cfaa38 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 2e08d5eabd942e6f98b33d2d7c3ce31caf660aaa
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idb89ac0b6bf94c488a629b508136927571c9199a
2025-02-11 06:23:56 +00:00
Translation updater bot
54651a179e Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 1b9a96181f8b90399f3656dff393eef2264f4971
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6c909858a9de17374af65aa5da327e6fe74bdb0f
2025-02-11 06:22:08 +00:00
Translation updater bot
3846eff118 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to d5184e3396e36465f467a51b61eeefe631502054
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I778f6ae9b6db0879491f3519d14aff117e64aa27
2025-02-11 06:22:03 +00:00
Translation updater bot
5e44d49b2e Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to e78c7da5148d0b6cde93d2614fd35ee96024f21c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id99375299d612677a879668cd54964d2e90cbf0d
2025-02-11 06:21:53 +00:00
Translation updater bot
2d6804eb9b Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to e2edc9c62e16c4a29abfad2ab0096187a97dd338
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia217f53fd9314577b4a8ea25ba307dbba981c7de
2025-02-11 06:21:24 +00:00
Translation updater bot
73a1d9cead Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 026865f5ef07d0074369f78d536b1898d6c5f61f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iffacce49280a3ef34c84bb5b57b3a334a1abe950
2025-02-11 06:21:18 +00:00
Translation updater bot
daeadb58e5 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 6b6673e8b8291d66771963120fdb232b4a2bf0f0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I32ce5c8cb25236daf987585851906cdc9b845797
2025-02-11 06:21:16 +00:00
Translation updater bot
b8c1d3b891 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 70a2f80be89675c8c24ad2fedac06d0de140ab65
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iae012e94bed2cd36e32660a49ce4a8a6e618ad5e
2025-02-11 06:21:04 +00:00
Translation updater bot
d9ade76c1e Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 91117f41996260fdd61f4e960dddbe74b64df8f8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I759a9c93f2719b6ad511fef9b1931e36f9e4dd0f
2025-02-11 06:21:02 +00:00
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