* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
to 56bdce6a2e3ddc61db604f57c47006af43874cc8
- Localisation updates from https://translatewiki.net.
Change-Id: Ic6f0e67d03a63f154249cfc9ce962e1f3e9f98dd
* Update extensions/TemplateData from branch 'REL1_43'
to 5d9ccbdfd292ed7501aa76e63876308f50ff65c5
- Localisation updates from https://translatewiki.net.
Change-Id: I390d5db1509d1ecad07219e092631c7e8dc6fca7
* Update extensions/Scribunto from branch 'REL1_43'
to 3c4e4b51ef4a356b6ad1456cf352f58af90d8c59
- Localisation updates from https://translatewiki.net.
Change-Id: I346eb35a09357f54a7517d42628999bc2ace9c94
* Update extensions/MultimediaViewer from branch 'REL1_43'
to ec6e2f772dacab881cb9be31a43f9db525104246
- Localisation updates from https://translatewiki.net.
Change-Id: I126e1b15f62c0c02c65c3b7e4517cda2df595bdf
* Update extensions/OATHAuth from branch 'REL1_43'
to 8a7c4a6d096cdacc47d10cd18e3f33717790a2bd
- Localisation updates from https://translatewiki.net.
Change-Id: I32f96503228213f67402bd06613499cad7a1a01a
* Update extensions/Nuke from branch 'REL1_43'
to 382591dc50ce85c813fd5b52ccee9a9cb9c67942
- Localisation updates from https://translatewiki.net.
Change-Id: I362e6de55b6be3e0beed707b262447c5cceba172
* Update extensions/Math from branch 'REL1_43'
to 8bb9ee4926a568a05263e8c7c82277537f6f32ce
- Localisation updates from https://translatewiki.net.
Change-Id: Id10ef1b1a634b439e978db1ac7033c13aafb83b8
* Update extensions/InputBox from branch 'REL1_43'
to 807e888687529a246f4f46980e47e144b73c6f8a
- Localisation updates from https://translatewiki.net.
Change-Id: Ib4178995794ddc80dedadd98d3972eefcf80062b
* Update extensions/Gadgets from branch 'REL1_43'
to 11bbad519ddc464e8d15d38165b1c269de4ce8ba
- Localisation updates from https://translatewiki.net.
Change-Id: I6c114c2b0c232e13cc7f25263c76142cb1d5ddd5
* Update extensions/DiscussionTools from branch 'REL1_43'
to 9417473ae6f28bcbfae5886854c0987b32a2e444
- Localisation updates from https://translatewiki.net.
Change-Id: I55cd091a98bc2d3c4e3945e8d3e906dd406cc6ac
* Update extensions/Echo from branch 'REL1_43'
to cb61296a70c39506ee768f3681bbd5f25c8f4775
- Localisation updates from https://translatewiki.net.
Change-Id: I7278c91ac331533c37c8fd44767d3abccc86c034
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 9118eab24d82fb727ceed32a65bc2736c9abcd42
- Localisation updates from https://translatewiki.net.
Change-Id: Ibafc1aeaf6a34936ca4c739baa230b8b86d12248
* Update extensions/CiteThisPage from branch 'REL1_43'
to 86058bfb34139f701da2ccd5ce46113ae8115d76
- Localisation updates from https://translatewiki.net.
Change-Id: I57fd56880968fc0eb45ab208cd07abece08de8d9
* Update extensions/AbuseFilter from branch 'REL1_43'
to 8c2bc0b4032020e45b28e736e248a05bca783ea0
- Localisation updates from https://translatewiki.net.
Change-Id: I88866e4fcb3ca0b2bbf4b897f8c11195f1bb44b2
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)
* 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
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)
* Update skins/MinervaNeue from branch 'REL1_43'
to 92fd097eb02b8c452ae5a80af838486f8d57a7e2
- Localisation updates from https://translatewiki.net.
Change-Id: Ibfe3a06395930c23cd55cd265b5f705d91b74c4b
* Update skins/Vector from branch 'REL1_43'
to 2e08d5eabd942e6f98b33d2d7c3ce31caf660aaa
- Localisation updates from https://translatewiki.net.
Change-Id: Idb89ac0b6bf94c488a629b508136927571c9199a
* Update extensions/VisualEditor from branch 'REL1_43'
to 1b9a96181f8b90399f3656dff393eef2264f4971
- Localisation updates from https://translatewiki.net.
Change-Id: I6c909858a9de17374af65aa5da327e6fe74bdb0f
* Update extensions/WikiEditor from branch 'REL1_43'
to d5184e3396e36465f467a51b61eeefe631502054
- Localisation updates from https://translatewiki.net.
Change-Id: I778f6ae9b6db0879491f3519d14aff117e64aa27
* Update extensions/Thanks from branch 'REL1_43'
to e78c7da5148d0b6cde93d2614fd35ee96024f21c
- Localisation updates from https://translatewiki.net.
Change-Id: Id99375299d612677a879668cd54964d2e90cbf0d
* Update extensions/MultimediaViewer from branch 'REL1_43'
to e2edc9c62e16c4a29abfad2ab0096187a97dd338
- Localisation updates from https://translatewiki.net.
Change-Id: Ia217f53fd9314577b4a8ea25ba307dbba981c7de
* Update extensions/Linter from branch 'REL1_43'
to 026865f5ef07d0074369f78d536b1898d6c5f61f
- Localisation updates from https://translatewiki.net.
Change-Id: Iffacce49280a3ef34c84bb5b57b3a334a1abe950
* Update extensions/Nuke from branch 'REL1_43'
to 6b6673e8b8291d66771963120fdb232b4a2bf0f0
- Localisation updates from https://translatewiki.net.
Change-Id: I32ce5c8cb25236daf987585851906cdc9b845797
* Update extensions/Echo from branch 'REL1_43'
to 70a2f80be89675c8c24ad2fedac06d0de140ab65
- Localisation updates from https://translatewiki.net.
Change-Id: Iae012e94bed2cd36e32660a49ce4a8a6e618ad5e
* Update extensions/InputBox from branch 'REL1_43'
to 91117f41996260fdd61f4e960dddbe74b64df8f8
- Localisation updates from https://translatewiki.net.
Change-Id: I759a9c93f2719b6ad511fef9b1931e36f9e4dd0f
* Update extensions/ImageMap from branch 'REL1_43'
to 8a34479ecede081f5aaae07bcf84aa10558538a9
- Localisation updates from https://translatewiki.net.
Change-Id: Idb7e3afd4d4caad0c0758ae2abcef19535d12824
* Update extensions/DiscussionTools from branch 'REL1_43'
to 2adb85bea8bc6a2146752e61ccb4fed448c8354b
- Localisation updates from https://translatewiki.net.
Change-Id: I99eb2bf0514946f72266677909a61f198acb7d12
* Update extensions/ConfirmEdit from branch 'REL1_43'
to f4c6ed018f5e7a2824845fc5137755af94324871
- Localisation updates from https://translatewiki.net.
Change-Id: Ibdf7e6f05eeef219a173864e72aabb935ff60c35
* Update extensions/CiteThisPage from branch 'REL1_43'
to 975e6a53197ab89dad2073b2337a18d3ccf1fc26
- Localisation updates from https://translatewiki.net.
Change-Id: Ib1af943f2f30cf55befac725db6c308e202159c6
* Update extensions/CategoryTree from branch 'REL1_43'
to 0dc3c8e5f0432b4da2be818aeefe6a4fb13ebf54
- Localisation updates from https://translatewiki.net.
Change-Id: Iefb05ed111b19668b82f1cc466e0e0646ed1bf41
* Update extensions/Cite from branch 'REL1_43'
to 2e4685bed8218c9f4f0c1f607b8ba02c75a0781e
- Localisation updates from https://translatewiki.net.
Change-Id: I24c37fb52c7cf7b25ff7c29488cd144d17de7bd3
* Update extensions/AbuseFilter from branch 'REL1_43'
to 1f56bbf8fb51aa00efb72113e51cc112fcf20991
- Localisation updates from https://translatewiki.net.
Change-Id: Ie902dab7a4cf7f96ffc524e06c474aec54a644b2
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)
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)
* 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)
* Update skins/Vector from branch 'REL1_43'
to e3a1e3b3fc73f4c5257a2774a68105899952c307
- Localisation updates from https://translatewiki.net.
Change-Id: Ib448290cc2f37ae2a15409fffbe0e080aec93323
* Update skins/Timeless from branch 'REL1_43'
to 4fb4f38f2a69dd525898a64acef6924ef5c45d67
- Localisation updates from https://translatewiki.net.
Change-Id: Ic2928071e06c6535a0190d0aa1dde10108da3bf3
* Update skins/MinervaNeue from branch 'REL1_43'
to e7cbd7d6e60ed9c1885443b0194babd16bb0f25e
- Localisation updates from https://translatewiki.net.
Change-Id: I3af0da4b59c11cfc16af21f7682c87436bd01e7e
* Update extensions/VisualEditor from branch 'REL1_43'
to 265052ed3b5f687b3409a196594bace3e7eeb0b5
- Localisation updates from https://translatewiki.net.
Change-Id: I66a6820de42190f29da26393a3ebecaa3e8adf5d