Commit graph

128119 commits

Author SHA1 Message Date
James D. Forrester
ab301f8e6b Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to fd63f7b409de73720706a5707fac48e03cf9993c
  - MathStatus: Restore logged-in restriction, and make unlisted
    
    == Background ==
    
    This follows-up I98eabfbeda2fbef3c (T252362) which replaced an
    inline "purge" permission check, with a declarative "purge"
    restriction in 2020. This way MediaWiki knows about it, and thus it becomes
    effectivey unlisted from Special:SpecialPages, when viewing it
    as logged-out user.
    
    In 2023, with MediaWiki 1.41, the "purge" right was replaced with
    an implicit grant that both logged-out and logged-in users have, thus
    making Special:MathStatus listed Special:SpecialPages, and this time
    world-accessible.
    
    == This change ==
    
    * Make the page explicitly unlisted, instead of using a user right
      as proxy for this.
    
    * Make the page explicitly for logged-in users only,
      like it was prior to I98eabfbeda2fbef3c, but based on isNamed
      instead of by proxy of a user right.
    
    Bug: T344206
    Change-Id: I408d1d71dc8cb3c32ad6bd124726d96b26209a1b
    (cherry picked from commit 67ad6c030daa45c9af2b0af75f3637d85f78eaa1)
2025-01-18 22:30:08 +00:00
physikerwelt
bfa6fc2793 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 2ecf54d3e17967dffb9c4f119659fa9ac5287594
  - Add backslash to limit function name
    
    We recently changed the internal treatment of macros
     to include the `\` in the macro names.
    In Ic1c28be2a5669183c3dd5d15577a35a1b5a76971, we ignore misplaced limits; however, only without the leading \.
    
    Bug: T382716
    Change-Id: I5f85496246501284ff9153e080bc14f87c6704ee
2025-01-18 20:40:34 +00:00
Máté Szabó
1761b1b760 dumps: Use proc_close() to close proc_open() subprocess
Why:

- TextPassDumper may spawn PHP subprocesses via proc_open() when invoked
  with --spawn.
- The script uses pclose() to try and close these, which is incorrect,
  because the resource returned by proc_open() should be closed via
  proc_close().[1]
- This causes a TypeError on PHP 8.1 and newer.

What:

- Use proc_close() to close the resource instead of pclose().

Test Plan:
- Run `php maintenance/dumpBackup.php  --current --stub | php maintenance/dumpTextPass.php --spawn`
  on a local test wiki using PHP 8.1 or newer. It should succeed.

[1] https://www.php.net/manual/en/function.proc-open.php

Bug: T382484
Change-Id: I66cd733cdbc1b8bc1470c14851a0700401c36d1e
(cherry picked from commit 8b9c3ab08eddc86032166f5b9dc208e51c2aaebb)
2025-01-18 06:03:18 +00:00
jenkins-bot
ac62dc3d71 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 7c9860cba058c9cbb08616b83ad070d56206c0e6
  - Merge "Refactor AmsMappings identifiers" into REL1_43
  - Refactor AmsMappings identifiers
    
    Ref T382643.
    (cherry picked from commit 1245cddd3873d59182bae86c634a666c8d5d28fc)
    
    Change-Id: If507827ab6cb046a6cfdd6adfe568e1a6eeb3b73
2025-01-17 18:47:04 +00:00
physikerwelt
2dd9953042 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 6eb457c18229fd4c1f60e8e7019a18323620fa42
  - Add fallback unicode mappings for bold font
    
    - use fallback tables for both forms {\bf x}
      or \mathbf{x}
    - make setFont call mathFont as the functions
      currently do almost the same. However,
      keep them seperated as one might want to have
      them behave differently in the future.
    
    Bug: T382672
    Change-Id: I547aa4ff7b73e8a427fb97d51df20e67248740c2
    (cherry picked from commit 22690e65b29d6aafb91a55ff3db80d4e6e35feb2)
2025-01-17 18:47:03 +00:00
Kunal Mehta
39edc88921 Commit swagger-ui's NOTICE
It contains the copyright statement that accompanies the LICENSE.

This doesn't not address the concerns in T382086, which is that
swagger-ui bundles other projects without retaining their copyright
statements, but gets us one step closer by including at least some
information.

Change-Id: I11e80abee385576e7e0350bd5d7a43758d2b2e92
(cherry picked from commit 9361efc5bc0d92c4e49ed5a3cadae357bafb79a7)
2025-01-15 16:09:22 +00:00
Translation updater bot
f95e3d047f Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 634f5a2b4ec4f42c10cc7786a85d92956b4f158c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7fd52bb5c73794e966e169b574fbe9455e326638
2025-01-14 06:22:54 +00:00
Translation updater bot
aeeb901113 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 1439673935f45539ed245320d244fdfc57b9c65f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I768f9c22b4b3e51ba70a6ade930fddb2083fe3f9
2025-01-14 06:22:54 +00:00
Translation updater bot
731eb7e572 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to af45a04767741587c787547c7818387d7e513a34
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4b70b1bf8747a3619c8061b9649103fbc906690e
2025-01-14 06:22:20 +00:00
Translation updater bot
8e2d2e6b8e Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 3774e45f4e7a4d983aef8e64f3f46efeffb19b32
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2584b6b9bee8ce69d92e2b0f5031b17b2b66e20b
2025-01-14 06:22:19 +00:00
Translation updater bot
429aa17028 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 2f624c3fc09d31b6a969af177c84d79e6f9dfc87
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1aa3b39af738943e94ea5028429b8fefe5073011
2025-01-14 06:21:57 +00:00
Translation updater bot
988f084e08 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 0b5a884975d92efdab677ec91510b67cf7e8220e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I50451948fa13d58239ff3fbf675c6759207a50d6
2025-01-14 06:21:56 +00:00
Translation updater bot
0fdf1036be Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 9634002e484bc9031e3c42c0b17987d2dcbc483c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idb659f888251f1b788407f2ff2bcf8b50e5c51e8
2025-01-14 06:21:48 +00:00
Translation updater bot
a747adf07b Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to f0eae2416283e8b94ceeb12d7542ef599e410271
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia38d0d3159808cd8e09c31bc242beac0a648ca9f
2025-01-14 06:21:35 +00:00
Translation updater bot
c599b9fee1 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to aa425b40ca0e8c1031f1b7077caa13197c211d3d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifced1fc6429eb0ce0e5d99c8c839ea13110a645f
2025-01-14 06:21:29 +00:00
Translation updater bot
c4319c94ad Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to af56ddbb17486a40213e471bdd1a5753d309a7be
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I9adc563925bbbb9b2468550d8384e1f054b90f09
2025-01-14 06:21:27 +00:00
Translation updater bot
e3479c9193 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 8d65ce0f6c30d3bd03c554c9afdb67be95263dd8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8e3c4a62d2ce6ec0253c82c971e3bbe754bca663
2025-01-14 06:21:11 +00:00
Translation updater bot
f1e236156d Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 871c0fd2b096b9490a01ff4e9df5c09302c975b6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0f84e1de598dced98c61b00788aad497678aa379
2025-01-14 06:21:08 +00:00
Translation updater bot
4ffebb8621 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 587955d260ede99b3cc6ce21ca9fadac35a594f8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I70a15653d232e9239741ad08be0bc24884169b58
2025-01-14 06:21:05 +00:00
Translation updater bot
cbfa288fcd Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 01f1776fa5bb436378d616f0ed566757f618d075
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I52cffbac1f58d8d4470035d84450de04bb92adf7
2025-01-14 06:20:52 +00:00
Translation updater bot
02c18f8969 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to f38e3f0d91df90a19fa84bcdb4b8fa2c12008a92
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I9c483aa7d6dbb2afd558fcaeb293be03ccf7b089
2025-01-14 06:20:42 +00:00
Translation updater bot
2ce586d36e Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to ebf321178a0d9b6ea15bbab15f5623b8c72ba3a4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5327d484ab131af96f1188a961858dfb6b842dff
2025-01-14 06:20:35 +00:00
Translation updater bot
c0bc1a748a Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to b4e6c9d36b206214942b4add1eaa5bfb0e878f2d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iaa13c0544cf49d004182f404d575be7b3665dc5e
2025-01-14 06:20:23 +00:00
Translation updater bot
92d863dbc6 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to a12c2cf7b335e79f2ca2d713aef687a754e40eea
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifbc61e29a879d7834f0af91751dfbfd96374029e
2025-01-14 06:20:18 +00:00
Translation updater bot
3eaca06d38 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to def878a3d804d2699300e7d76ad5e2fa9929b586
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic15a43ee093a93dc5251ec71d1dae2af6f0359dc
2025-01-14 06:20:14 +00:00
Translation updater bot
da50b98fbe Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 87a9dbaf0418219c141e0de74b983b4332ae3d2f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2b390cfaffaf0d0f8a29246fd35ee77ac6f94a84
2025-01-14 06:19:31 +00:00
Translation updater bot
9530b23ee3
Localisation updates from https://translatewiki.net.
Change-Id: I7c5c2921596e509850cfa828ff4da00e9fbb6ea0
2025-01-14 06:31:37 +01:00
Paladox
23fded0cd0 phpunit: Don't override --bootstrap if supplied
SemanticMediaWiki creates its own bootstrap and displays
a bunch of information. In [0] this broke this.

We already look for bootstrap anyways, we just don't use it.

We fix this by checking for bootstrap and only setting a default
if not supplied.

[0] d2a30096f1

Change-Id: Iebb1949cc6a253640f40f1ac048ab50f99cac02a
(cherry picked from commit d43c69b25f05801ac3c255a2dfdbe03e820029ca)
2025-01-13 15:14:27 +00:00
jenkins-bot
fbe98a246f Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 2e8b4cd6982e48b692fe83b2680d5ef0c0f42c44
  - Merge "tests: Remove accidentally generated 'phpunit' namespace" into REL1_43
  - tests: Remove accidentally generated 'phpunit' namespace
    
    Follows-up I0eda7d4213a5f703ab7.
    
    Change-Id: Iab717954a638340973b01b5c660f5cd50a09452c
    (cherry picked from commit ef81158cf3287d529f8083d9c288d7b109dc5e67)
2025-01-13 04:12:24 +00:00
physikerwelt
ed384bc1f1 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to c6a8010e1cfca9cd9f398a67ea89624ac2f32fee
  - Refactor BaseMappings operators
    
    Migrate from BaseMappings to texutil.json
    Note that MMLutil::uc2xNotation is idempotent and only changes
    text that starts with '\u'. This method might be removed in the
    future and inlined in the data.
    
    * The maintenance script UpdateTexutil.php was committed mainly
    for reviewing purposed.
    
    Bug: T382215
    Change-Id: I4898666ba6cbc14a08f1c03d4ec831cfc98d53ef
    (cherry picked from commit 302fe6c5442d869d609521db026b279d608328f2)
2025-01-13 04:09:55 +00:00
Derk-Jan Hartman
82c9c2d88c MimeAnalyzer: detect magic number for gltf binary
Bug: T383037
Change-Id: I8aea7f120c670ac17e286a8280eae96af975fe4a
(cherry picked from commit 8765932c5f0bdb51a46eb38dbaf44da17fb2b284)
2025-01-09 14:57:11 +00:00
Derk-Jan Hartman
442f09d479 MimeMap: add gltf and glb mime types
Bug: T383037
Change-Id: Ic2e5fb5e6267dfc07ef66d74afbce8b96523055d
(cherry picked from commit aee7af136bfc653826342806c797073e07958c27)
2025-01-09 14:56:56 +00:00
Máté Szabó
e1fc901218 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 1fe136e47ac2cf6a8659f5422842274f0bdf649e
  - Use delayed job push for RecordLintJob
    
    Why:
    
    - RecordLintJob is currently enqueued eagerly via JobQueueGroup::push().
    - Since this also occurs on pageviews with Parsoid enabled, it's taking
      up ~1.1% of total request wall time according to Excimer data from Jan
      2nd.[1]
    - We don't want the request to fail if the job cannot be enqueued,
      so we can safely use lazyPush() instead to allow this job to be
      batched and enqueued as part of a post-send deferred update.
    
    What:
    
    - Use lazyPush() instead of push() to enqueue RecordLintJobs.
    - Remove the now-redundant error handling wrapping the enqueue.
    
    [1] https://performance.wikimedia.org/arclamp/svgs/daily/2025-01-02.excimer-k8s-wall.all.svgz?s=onParserLogLinter
    
    Bug: T382975
    Change-Id: I5df7e63e497fe509096200be68b38e4888d9dc02
    (cherry picked from commit c6afaa2b3721c2e3ef74d9e4ef5504f5ef08a8af)
2025-01-09 11:40:10 +00:00
physikerwelt
2f04e2f4aa Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 9778c22be4c4c4af13fee55f2b0cd9844551f611
  - Fix space rendering
    
    Due to trimming of macro names the macro '\ ' requires 
    special treatment.
    Render as mtext with a  
      is not always known in XML context, therefore
    use the numeric representation.
    
    Bug: T382215
    Change-Id: Ia9de613c10a6db8fba2209e821326407deb618bf
    (cherry picked from commit 657a33d39c0c7ae6907b438c16a341e2001ef703)
2025-01-09 00:25:33 +00:00
Slri
003f25f9f6 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 7f8f5d04fd8edb856941d9d4b0ed858e89870b0c
  - Fixes Special:MathStatus so native test doesn't fail due to change in default attributes for operators in Literal.php line 97
    
    Change-Id: Ief8c0652ba25ea5aed9782127951b989c4eff819
    (cherry picked from commit 6b659abd37f7a2f304c71d5ccb31c6dff09f408d)
2025-01-08 02:53:41 +00:00
James D. Forrester
a1d809b7aa RELEASE-NOTES-1.43: Add final count for namespacing effort
Oops, this should have landed before the release.

Change-Id: Ied53880771367e2338370cc72996a64445203ecd
(cherry picked from commit 7cfef131a4f74bc9fdf1f956f2dc09aa4aa3d8e3)
2025-01-07 21:06:24 +00:00
Bryan Davis
9affb6b447 dev(docker): Bump mediawiki-web container to dev/bookworm-apache2:1.0.1
Update the image used by the mediawiki-web container to the newly built
dev/bookworm-apache2:1.0.1 which includes an Apache2 config change to
make the container work better under a qemu runtime emulating AMD64.
This should be a noop change for other clients.

Bug: T382709
Change-Id: I6f9833af38e2e0d07b5c0a696e604a594db94127
(cherry picked from commit dbc68e8cb477c30f25c9037ebd4dc0eda0a4de5e)
2025-01-07 17:02:36 +00:00
Translation updater bot
3a74f1a7ac Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 3cc5ea9debd9ecf3fd4a0b87a7d98dd69f816262
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I989aea9e4311f99c0585304f2d732b42ce928dea
2025-01-07 06:15:53 +00:00
Translation updater bot
fb62fc0bad Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to e213ce0106121e922f6d33fb586e6e5df949b66c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4679d699424df3073380db9e8bc57ad267cc2e17
2025-01-07 06:15:53 +00:00
Translation updater bot
41bf96d750 Update git submodules
* Update skins/MonoBook from branch 'REL1_43'
  to 166be7720a9b997b33dc81a8d1807f6f39e360d0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I998c5b6042ac860cfb9740994381762ed2a4f614
2025-01-07 06:15:52 +00:00
Translation updater bot
c92c745182 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 5771a3a3f99d84a95c7851dd552e200d1c160981
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I998c5b6042ac860cfb9740994381762ed2a4f614
2025-01-07 06:15:51 +00:00
Translation updater bot
0eb3e45d28 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to c1305a270eb081dec1bf455f9bb3f984158367d0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1b02c8a6b414706e906a7cbb607c584a07d9a614
2025-01-07 06:14:41 +00:00
Translation updater bot
6c0758dda1 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to cbd68c53fff24edc4a5c461acdc4f2bbd9dd86c8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1fb2b41e0e23a4088d0b19417551cd3a1dcec4dc
2025-01-07 06:14:35 +00:00
Translation updater bot
ab2cd11e9e Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 0c2c76abb219c05572cd967605c163342f0e9f18
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1b4f879e8f8de26c4799ff6b42eb7eb7cf6de11b
2025-01-07 06:14:06 +00:00
Translation updater bot
b5d43e7b38 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 79c3ab825f218f12cf559b9ce716af407c4e013c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idda9eff6c72925505fb980655748233c499009ce
2025-01-07 06:13:51 +00:00
Translation updater bot
93400a869f Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to d297d0e026c3da3692863ea490d07487d7068b42
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7fd9077390ca63d8579229a0ac0ad09162dfe32e
2025-01-07 06:13:49 +00:00
Translation updater bot
238ff9ba3e Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 13876f330770ae0fa3312a3f219ca5d284eaf9fc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic8a1d16c0c09656db4597f75f49d5bae0cdcdab4
2025-01-07 06:13:40 +00:00
Translation updater bot
39cda974b9 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 712a75b1a46a0c98b4992c79ab4603fa80b92c90
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ife84781660188c404a2fb91c80ceb3a218c762e6
2025-01-07 06:13:40 +00:00
Translation updater bot
22fb41bc20 Update git submodules
* Update extensions/LoginNotify from branch 'REL1_43'
  to 779ddfb8a374adb7bc75c5adfd47b08ce7234edd
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I80afd6c0d3d6910a930a6e80647335ca1f3788bc
2025-01-07 06:13:33 +00:00
Translation updater bot
84282923b9 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 659346b38b3075d67a47e448fe56ce3ba9e94fa0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifa91bf443098a0b9d7ad99fa36bcd4b983ea3db0
2025-01-07 06:13:33 +00:00