* Update extensions/Echo from branch 'REL1_43'
to 1f01255482616f9fc481f6e821a3afb5e342b37a
- Localisation updates from https://translatewiki.net.
Change-Id: I337776bfbca0f9fdd0799df4e4f918baa08a8731
* Update extensions/DiscussionTools from branch 'REL1_43'
to 4d28bbdd810b6e3cc0f29cd40dfbc066c65372ec
- Localisation updates from https://translatewiki.net.
Change-Id: Ie7abfce6b63c97dfdebf05758a05d3db28806afa
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 5f39b1179e2eb318d46ee0e3d8beb5e9c11a3f03
- Localisation updates from https://translatewiki.net.
Change-Id: I660a0b5c67977a5dfa917683607698cf3f43bbe1
* Update extensions/Cite from branch 'REL1_43'
to bb63f3e881c0a399cadb1c42998f1c73ee3e31dc
- Localisation updates from https://translatewiki.net.
Change-Id: I87af050a06dff747f938ab9b9e7d389cf701159b
* Update extensions/CategoryTree from branch 'REL1_43'
to 7a4d4216c845227cbe388bdec0f28ef6fa81e4fb
- Localisation updates from https://translatewiki.net.
Change-Id: I4f2479c11e33dcc72a6c45c66ed03a8ffc1e9fb9
* Update extensions/AbuseFilter from branch 'REL1_43'
to 7523fb8997d07d7a80989e0299e8d304ec4971b6
- Localisation updates from https://translatewiki.net.
Change-Id: I0eeb3ccd51d34bdcd0529afb6133e45647084ba5
It is not clear who the "brand-new users" are in this case so help-message is required here.
Bug: T381205
Change-Id: Idfc1b7e4b5b1686f0edf69b32e0d4152b30e54ae
(cherry picked from commit 141be6c7f7a3be92d702db1e26ba7d0493aa8a0f)
This reverts commit 4563e41f20.
Reason for revert: The expected DatabaseSqlite is not directly used here, it is still DBConnRef and the patch does not work as is.
Bug: T386891
Change-Id: I83b1e299b698c004dcacb9aa90901dfe28097403
(cherry picked from commit 7fdc51ed4d27ba6211215c6198b7e448de799cde)
* Update extensions/Cite from branch 'REL1_43'
to b0e1c7ef4c6046dda811dd942ada47ec80b157ee
- Localisation updates from https://translatewiki.net.
Change-Id: I714b0abbdd095e8cfab29e53ea98f24a0971cdd9
* Update extensions/CategoryTree from branch 'REL1_43'
to a6e27fdbe6a4f63ea17521e6dc320a4e129f5758
- Localisation updates from https://translatewiki.net.
Change-Id: Ie354b6c26a58a8ad4bf066c8eaac925e22fd0d35
Why:
Both AtomFeed::formatTime() and RSSFeed::formatTime() short-circuit with
null if the input is falsy. This caused deprecation warnings down the
line, as the return value was later fed into str_replace(), which raises
a deprecation warning on PHP 8 if it gets null.
It also caused unexpected output on all PHP versions: the Mustache
templates for both Atom and RSS conditionally emit the date elements
(<updated> in Atom, <pubDate> in RSS), but this conditional output is
skipped only if the variable is null, not when it’s an empty string –
which is exactly what the XML encoding returned on all PHP versions.
What:
Introduce a new method, xmlEncodeNullable(), which properly handles null
values, and returns them as-is, without trying to encode them. This:
- Avoids the deprecation warnings on PHP 8, since str_replace() is no
longer called.
- Makes the conditional output work: the <updated>/<pubDate> elements
are no longer output if no date is available.
- This makes the RSS output spec-compliant, as no garbage is output
anymore. The RSS <pubDate> is optional [1].
- It doesn’t make the Atom output entirely spec-compliant, as Atom
requires <updated> to be present [2], but the removal of garbage
(it was a single letter Z) should still increase compatibility.
[1] https://www.rssboard.org/rss-specification#hrelementsOfLtitemgt
[2] https://validator.w3.org/feed/docs/atom.html#requiredEntryElements
Bug: T385332
Change-Id: Iafd89c0d61baecd7c68f62b2a0764cc78cf25069
(cherry picked from commit 60c57b0fd5303e9627b7684ebac4cd369c1fe7a6)
* Update skins/MinervaNeue from branch 'REL1_43'
to ba850e2ca6b8e5256553b6c336d50efeac4da140
- Localisation updates from https://translatewiki.net.
Change-Id: Iebb600ad71e9fb58847cabe0229268f3ad6c3787
* Update skins/Vector from branch 'REL1_43'
to 34e36ecb91b98064288a911c400fa03f59e07144
- Localisation updates from https://translatewiki.net.
Change-Id: I5916802af950a3c07fb492670fce298bb920eb89
* Update skins/MonoBook from branch 'REL1_43'
to d1800222e664e8ac5636225ef68c82f9e2fd9b95
- Localisation updates from https://translatewiki.net.
Change-Id: I98ea489b8a836dd4c74ebcd6c929fa1a83edfbfe
* Update extensions/VisualEditor from branch 'REL1_43'
to cf6665c16b3f8db755a335d5fc0c0be035e8243f
- Localisation updates from https://translatewiki.net.
Change-Id: Ia446e43ed3da3c737390f08ff2ab3fcf4e3b9f13
* Update extensions/WikiEditor from branch 'REL1_43'
to 3537984d0a86a18db3c079ddcac4b94f28e41e09
- Localisation updates from https://translatewiki.net.
Change-Id: I66e8a4b0c4003bad7a1adc8743752759c0259a8b
* 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