Commit graph

129342 commits

Author SHA1 Message Date
C. Scott Ananian
bf1cf7a349 Add polyfills for PHP 8.4
These were already added to mediawiki-vendor in
I196827ca475efb9b8c9ec7d125cf4e7f8ccb3253.

Follows-Up: I196827ca475efb9b8c9ec7d125cf4e7f8ccb3253
Change-Id: Ibe2c5a94fb741a2a9b1a55be3ec2d0442aa109a7
2025-11-05 14:30:44 +00:00
Antoine Musso
2284d4698b Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 18426afba58c3da02a154c70d36945e0a9b35a59
  - tests: skip config reset when ConfirmEdit is not loaded
    
    The ConfirmEditHandlerTest integration tests has a tearDown() function
    invoking MediaWiki\Extension\ConfirmEdit\Hooks::getInstance(). When
    ConfirmEdit is NOT loaded the test fails with:
    
      RuntimeException: mediaWikiSetUp() was called but not mediaWikiTearDown()
      use assertPostConditions() instead of tearDown() for post-test assertions.
    
    The reason is the class is not available which leads to an exception and
    parent::tearDown() is not invoked. In MediaWikiIntegrationTestCase,
    $setupWithoutTeardown is thus not reset and the next case claims
    tearDown has never been called.
    
    This was caused by Ib223d0fee8096d1bc768bf0a49ff453384dab3ef which
    rightfully moved markTestSkippedIfExtensionNotLoaded() from the test to
    setUp() but missed tearDown() had a call to ConfirmEdit code.
    
    Change-Id: I6ecb82e4c92d8100b8376c6c720da009f09e8883
    (cherry picked from commit 7406ed8fedd173d88a9e594d05f18f967ceaa9b5)
2025-11-05 14:15:09 +00:00
Reedy
8da56104bb Update git submodules
* Update vendor from branch 'REL1_43'
  to cf26c797547c07cb8511bb1dc1956fd65eb48883
  - Add symfony/polyfill-php85 v1.33.0
    
    Bug: T407770
    Change-Id: Icc5fb624a0d5882966bb76f25dd26a0596c7dded
2025-11-05 13:56:49 +00:00
Reedy
63f84398c4 Update git submodules
* Update vendor from branch 'REL1_43'
  to 5ab8e7f87f1eeab908d66dc3f8b3a8eeafcc642c
  - Add symfony/polyfill-php84
    
    Change-Id: I196827ca475efb9b8c9ec7d125cf4e7f8ccb3253
2025-11-05 13:56:45 +00:00
Translation updater bot
cda2d336b9 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to a760979b197243a570b2f514793189924c794c69
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I002c57e2db6d1a44b7e79045167e706c766cd177
2025-11-04 07:42:51 +00:00
Translation updater bot
e64b9d867c Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 0b6f38baa2404009a61c2fc6a6d43a61fbe45cb9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I016abd4d6850d878589b083a56e4b77d2155916e
2025-11-04 07:42:49 +00:00
Translation updater bot
e8972ecc31 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to f7060da45f71006025952257f0509c83be32b27a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ica329aa8599a415cb71417ab5ef8a71948f770d6
2025-11-04 07:42:48 +00:00
Translation updater bot
1f6c23c724 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to f4c93b2b1bc5713546aa8de123208cf5b5d868d8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I82fb159451b82e58aa82519d877d0d668dd62dfe
2025-11-04 07:40:13 +00:00
Translation updater bot
286bb82fdb Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 49c7a2ff5c2326f424d86e686df569932f13300c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1b15f14347b1f6c1919e77053d70d3ed9d4de98a
2025-11-04 07:40:03 +00:00
Translation updater bot
d0a3467204 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 45143109d2af600664b6e10d8501ebcdd55a5920
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I07a722ec76ab6cade8324cc8895789bed8bdd03d
2025-11-04 07:39:43 +00:00
Translation updater bot
0cea377a20 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 8c0e5eb4e18ae2e2abae2b381cd1751709a12822
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8ba3bea41af495424d073f3838c76fa6f588c8b4
2025-11-04 07:39:24 +00:00
Translation updater bot
9c1b1fe183 Update git submodules
* Update extensions/SpamBlacklist from branch 'REL1_43'
  to 4409e938ae1901cf3933c1fa491d9c8302182eb0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie7ce2f16586f7243a6a882ebc16611dd521387bc
2025-11-04 07:39:19 +00:00
Translation updater bot
eed2f093e8 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to a3bdfc0d24d53f504becfd5ce70c739d7e25457a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I22e75252c7722d2ef031293a521b4d587e154298
2025-11-04 07:39:14 +00:00
Translation updater bot
9b25d290ea Update git submodules
* Update extensions/PdfHandler from branch 'REL1_43'
  to de41cc4864d775635868b7a0ddef30304fa29a2f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6a356f019235561ac909eafce770fb8cedbdc240
2025-11-04 07:38:52 +00:00
Translation updater bot
6794b8e42d Update git submodules
* Update extensions/PageImages from branch 'REL1_43'
  to 7d5fd46d6d5b1683bb7d24e6d9521e54328a2550
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I86a971ff88269f0e5464b2b9085c018eb10250ed
2025-11-04 07:38:46 +00:00
Translation updater bot
93d55f2c29 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to b6d784c40b5a54ed31e6030879091ef18ab4e5a4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I372f20b37057062c97ea7c36ef241a367727c800
2025-11-04 07:38:41 +00:00
Translation updater bot
256f3feb36 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to bf0e371d771ca4774a5af81a3b1b0d92bc18b260
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2aed50dfd5271f5e1684d2d510ceb4946d78e399
2025-11-04 07:38:30 +00:00
Translation updater bot
342dc10f7c Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to a4848af17f17b29635c3d24e06f98cfea71d2907
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I449f754f7fe05a1fa361f2580e89d44c53ffdba1
2025-11-04 07:38:19 +00:00
Translation updater bot
b3b0742e7e Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to b12b990f359577323414280e5ef215363f684500
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id06d430a5f202bcac414ee82d13d989b595bd83d
2025-11-04 07:38:09 +00:00
Translation updater bot
298a9b664b Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to ec62b2070d8746e07a4f61761b6180b4248e0b26
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1516339b519225ad0c1176cbfbd3a8146804f898
2025-11-04 07:37:53 +00:00
Translation updater bot
1f3f19a3fa Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 5e4a362e593b7b3de53ed032214d274cebbadb8d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic7abdb9c9090bf49dc6df1a442acaf20f6792f64
2025-11-04 07:37:43 +00:00
Translation updater bot
4fc16bd702 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 00bc77fbf74f09f93971b596787505fdf95a6f19
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I41a9d2ae208a3a6695047708c0664be2d8daabef
2025-11-04 07:37:37 +00:00
Translation updater bot
784528a6ec Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to eb1ecc174ea9e9ee007a7741820ce93e727653f2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I31c965b8f208f12881c89839a5c772801ee4dc47
2025-11-04 07:37:19 +00:00
Translation updater bot
190f9f814b Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to d1272d1214cd115fa78f70f4b90df30b443e9881
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I12d4e26d3718d8a4b84ebf096f8d46315683d07b
2025-11-04 07:37:08 +00:00
Translation updater bot
e0c0524065 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to c7d2f2b3f3a3b3ab1fedc1c0fb84ec1e6476920c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I35c52a93c295c00053f4e5aff55211fd1dd73cd7
2025-11-04 07:37:05 +00:00
Translation updater bot
8170b21478 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 352785581d86fd03d52d7aebf0cdbf5b5d82b5b5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I066539c898d4bd5bfff3da273d0243e9f1514e06
2025-11-04 07:36:15 +00:00
Translation updater bot
241d814f8b
Localisation updates from https://translatewiki.net.
Change-Id: I4f135114a0205b7e5e1e0959fcd35c225d63698e
2025-11-04 06:41:59 +01:00
C. Scott Ananian
0db702cd48 i18n: Remove deprecated behavior switches without underscores in et/sh-latn/vep
These localizations lack the underscore prefix/suffix expected of
behavior switches.  Use of these localizations was deprecated in MW
1.45 and all usage has been added to a tracking category.  With the
help of global search and the tracking category, all preexisting usage
on these wikis has been removed and replaced with aliases which
properly contain a double-underscore prefix and suffix.

Bug: T407289
Change-Id: I7874b78162bee377b5caf6bfdd66a557b83fe463
(cherry picked from commit 3c796ed973050c9744a19163e4ce27b4b4ae9c2c)
2025-11-03 18:12:24 +00:00
C. Scott Ananian
b59b076e50 i18n: all behavior switches should start/end with __ (part 2)
In a previous patch all behavior switch magic words that did not
start/end with __ were deprecated, and new aliases added that *did*
start/end with __.  This previous patch missed two cases, in the
`sv` and `nds-nl` languages, which are fixed in this patch.

Follows-Up: I458e3c981c07394ab81259fadb3d68a0399e7953
Change-Id: I6eb78ae7edd8a2d76878af45f0eb6eac1dcfbef7
(cherry picked from commit a0ee969205fe62793497ec4d39b6675b8a381681)
2025-11-03 18:11:00 +00:00
C. Scott Ananian
504079744b i18n: deprecate double-underscore magic words which don't start/end with __
All "double underscore" behavior switches should actually begin and end
with either a double underscore or a double U+FF3F (a fullwidth
underscore used in Japanese).  Parsoid's tokenizer will not match a
localized behavior switch which does not start with double underscore.

In this patch localized aliases are added which start/end with double
underscore, and a few erroneous localizations were corrected which
had leading spaces or zero-width spaces.  In addition, pages which
use a localized behavior switch which does not start/end with double
underscore are added to a tracking category for manual fix up.

In a future release (I8dd522d605c2b9e5310d169d7c51bcf424089497),
aliases which do not start/end with double underscore will be removed.

Bug: T407289
Change-Id: I458e3c981c07394ab81259fadb3d68a0399e7953
(cherry picked from commit 37772271cd6099327fb57f7c3139206be1ad72c6)
2025-11-03 18:10:10 +00:00
libraryupgrader
10a9e9ace1 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 1631b10d8b27ed2a430b630b25396dd77e4c4382
  - build: Updating validator to 13.15.20
    
    * https://github.com/advisories/GHSA-9965-vmph-33xx
    
    Change-Id: If5432b81c3908442c21f3f2f1d48ec065809483e
2025-10-30 22:16:10 +00:00
libraryupgrader
7d35c8118a Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 74f12d460581b2739cfbe004f5f4081dd29af732
  - build: Updating validator to 13.15.20
    
    * https://github.com/advisories/GHSA-9965-vmph-33xx
    
    Change-Id: I40683252a9f2fbfbbbbc69932177c1ade0636adb
2025-10-30 18:50:00 +00:00
libraryupgrader
a32d0f02df Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to d28df59d03f9b709a8e510850fc37ffa15d0787c
  - build: Updating validator to 13.15.20
    
    * https://github.com/advisories/GHSA-9965-vmph-33xx
    
    Change-Id: Iccda9f6f5e7a01c093582abb30e1a7db1b721187
2025-10-30 08:05:18 +00:00
libraryupgrader
8bcf424630 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 3e2bc45182b3ed04a37b8934c5b460d50c5afefd
  - build: Updating validator to 13.15.20
    
    * https://github.com/advisories/GHSA-9965-vmph-33xx
    
    Change-Id: I39a23808e26cbbadcc3bf254c295c573518f74c0
2025-10-30 04:26:11 +00:00
libraryupgrader
faaf38e3b0 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to e77063bb583d638d8920e2edfea9ffaa815c2d15
  - build: Updating validator to 13.15.20
    
    * https://github.com/advisories/GHSA-9965-vmph-33xx
    
    Change-Id: I9cfa98cb038c5372d456c102056c55881b1abb35
2025-10-30 01:11:50 +00:00
Mbergen
9153d6998d Fix the premature loop exit in Parser.cleanUpTocLine
When a TocLine contains elements with no children, the loop would terminate without reaching the end of the line.

Bug: T405064
Change-Id: Ica73c0166a039d9d0479e8d2357bdc610a61b42f
(cherry picked from commit 71c4df259b0fd34abe27bc957d0cebdb36547864)
2025-10-29 19:17:31 +00:00
Brian Wolff
908c2f9c46 Improve CSS checking in SVG filter
Use more in depth CSS parsing to better check for CSS rules
that cause external resources to be loaded.

Backport of 07f3d831def13b718b2155732b3452bec9516231

Bug: T85085
Change-Id: I526a815f8ec8e357abae3dcf5ef4e6c3081ab7c0
2025-10-29 13:17:35 +00:00
Timo Tijhof
498190ea4b ResourceLoader: Update cssjanus/cssjanus to wikimedia/cssjanus
No rel-note since it is the same version as before.

Ref Iebe1ee249d738c956b8 in php-cssjanus.git.
Ref https://packagist.org/packages/cssjanus/cssjanus
Ref https://packagist.org/packages/wikimedia/cssjanus

Depends-On: I5345056a8af729a7b5d15d71dc6ba01b16c4cd49
Change-Id: Ibc378ff282ff710ac6ed8150ccba68a5f164557e
2025-10-29 13:15:29 +00:00
Timo Tijhof
0a85d78758 Update git submodules
* Update vendor from branch 'REL1_43'
  to 5b45d523f0553f58cb57ac8294ec34b9715d7495
  - Replace cssjanus/cssjanus with wikimedia/cssjanus
    
    Ref Ibc378ff282 in mediawiki/core.
    
    Change-Id: I5345056a8af729a7b5d15d71dc6ba01b16c4cd49
2025-10-29 12:45:22 +00:00
C. Scott Ananian
7f75a56adc Forward-compatibility: allow output flags to be serialized in OutputFlags
This will allow a future patch to remove the specific properties for
$mNoGallery, $mNewSection, etc and just use the $mFlags array, which
will DRY out and shrink ParserOutput and its serialization code.

This patch includes forward-compatibility data according to the process
outlined in
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility

Bug: T292868
Change-Id: I52e0bc9e4ecdc5fc9580d0e13bd0322ffdc9abf1
(cherry picked from commit c13d69bfa0a192491d69c34df57383e2b80e05d0)
2025-10-28 11:20:18 -04:00
Bartosz Dziewoński
71c9afd57a Make the login and signup forms wider
According to Codex Style Guide:
https://doc.wikimedia.org/codex/latest/style-guide/constructing-forms.html#layout
forms "should span the entire parent container of the page".

We need to leave some space for the account benefits column,
so we can't quite do that, but we can make it less cramped.

Allow the benefits column to shrink a little, so that this change
doesn't push it offscreen at common screen resolutions.

Bug: T355853
Bug: T407172
Change-Id: I70bdbd414e2dc871dadc58922b34acb91cd66381
(cherry picked from commit f0cf5e6393663f319f1d7697f4527d9a4635e760)
2025-10-28 14:54:47 +00:00
C. Scott Ananian
f2816a3b29 ParserOutput: Add default values for JSON deserialization
This is a forward-compatibility patch: it will eventually allow us to
slim down the serialized form of the ParserOutput by omitting
properties which are set to their default values.

Change-Id: I52ba7b1560b67347b4c08eb3a2a45ed464b8f4f7
(cherry picked from commit f54f2a98ea18d2b974728e46dd7ccd2ecf0d78fd)
2025-10-28 14:27:32 +00:00
Timo Tijhof
14f02f3e49 Update git submodules
* Update vendor from branch 'REL1_43'
  to 33b2d2576c1c2f9a522f183e4a0dae5db21fc01a
  - build: Switch local image from composer-php74 to composer-php81
    
    In theory we could keep this on an arbitrarily different and older
    PHP version for quite a while (e.g. PHP 7.2 even if we wanted) since
    Composer generally does not execute or validate the code it downloads,
    and the way it resolves the dependency tree and PHP requirement is
    deterministic in the software, regardless of local runtime version.
    
    But for consistency it feels right to use php81 here.
    
    Note that this does NOT change the composer.json#require.php field
    which remains at `php >= 7.4`, and thus this also does not change the
    auto-generated `composer/platform_check.php` file which hardfails
    execution on any PHP <= 7.4 server.
    
    Bug: T328921
    Change-Id: I6b674e74aeaaec2678a06eea99eded2684f75990
    (cherry picked from commit f21952e554147262c749365ae219edaa1e33c7a0)
2025-10-28 11:24:46 +00:00
Translation updater bot
a7e3966643 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 961a4867109880058ce9848fe68dbbdd9870b89b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7873479e91c3e846a477a4ee98ed4f4d7ab2b97b
2025-10-28 07:36:49 +00:00
Translation updater bot
b34fd1fb60 Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to f86fbf733f430d932b476213a91f71c116f508bf
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I24faf26767edaaee52305a0ebe965da32a55e189
2025-10-28 07:36:46 +00:00
Translation updater bot
ff63c7f622 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to f818f56e5214f9ac16dfe885438d5dad957275fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib5efcb4305272ec89cf856a4b8f652d82af3ed77
2025-10-28 07:35:13 +00:00
Translation updater bot
13f0c760a6 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 3255ee462ec1a8cf9182b332e68a65180fc772d3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib5efcb4305272ec89cf856a4b8f652d82af3ed77
2025-10-28 07:35:09 +00:00
Translation updater bot
e2669c5b4c Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 84301428b3a24b75a8b9ed75122cb70d5d52eaa8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7d43be75a5601bc1bb1cbc717c0db51ca333e1fb
2025-10-28 07:34:39 +00:00
Translation updater bot
71a5f7040d Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to faffea13692ef9cc71a0d22ab5307a2fc72c68f8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8beeaf27eaa165c65f944bd9104a9b4aee7009a6
2025-10-28 07:34:38 +00:00
Translation updater bot
38d13dcf28 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 3e9bd001ee24b9ad01a4a52a411a0b9757dd6256
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4e79d9a7022b66951e0ff6a94c7508d19954358d
2025-10-28 07:34:16 +00:00