Commit graph

128032 commits

Author SHA1 Message Date
Translation updater bot
3018c752a5 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 6e7a11e58df47f67fa236b47600fae22f72949bc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia06705c0ca5f21f7c7949cd3f3f2253bd6016d71
2025-01-21 06:14:25 +00:00
Translation updater bot
a802b481f3 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 6c9d6276d62cfa880cdacf4973b80d2be01e5e60
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib6e449c8072bfafaedf9ec37d17f74671bc92c5e
2025-01-21 06:14:08 +00:00
Translation updater bot
cc6acff96e Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to b4c8e5cf8064bef550634d6a4a2fb5bfed25fcc8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id87548983a4119e216faa7612d0b1f3e457854d0
2025-01-21 06:13:47 +00:00
Translation updater bot
059fd564f4 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 25ed4acb583cd1ccf2437435071c2265079ccbd1
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie4713bd79662dea3c8168ac0684a29a7efccd503
2025-01-21 06:13:32 +00:00
Translation updater bot
df74a544e0 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 2281d851f4c0f4be1d6d3c7148bcb23a66d7cad9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I674a753dd499d1450065a8766a42cd4dcd5cc780
2025-01-21 06:13:31 +00:00
Translation updater bot
c6343d3f0e Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 6b3e3e9ef88cc99ca788191dfc462f18b9a03995
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I033d6e8fc1830b61a9dbb430658d022d3faa4f94
2025-01-21 06:13:22 +00:00
Translation updater bot
cd934bdddf Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to 627d1ac42e6daf18ba439812d5d5b38001db6d71
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iced16eca2dd2a3f85a2c8634d5a83d518db11d8f
2025-01-21 06:13:17 +00:00
Translation updater bot
53e9de9184 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to e73998a382ed21367ccb37ef28b4983dfb7b9848
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I277d4c5ce3bd9985d5670f6ce180a97cae07b0cf
2025-01-21 06:13:16 +00:00
Translation updater bot
79f357d4c6 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 3fb1c9ed8956debdcce05f16fb4b7580579cdd3a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If00cb5a9c6a690ae42ad0ff15f113f6940c9bec6
2025-01-21 06:13:06 +00:00
Translation updater bot
78cf748aed Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 0282dce4e3bf7049053d035cb8d1ca0546b43fd5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If39516921175a316eafd2bb5a4b0e381554e7db6
2025-01-21 06:13:05 +00:00
Translation updater bot
6479c088a2 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to aecd4fddc964424ce157324c577bea58d7b078a4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3198ca894f95cf25c9e4225fb9f944cd7bf9b613
2025-01-21 06:12:44 +00:00
Translation updater bot
922ba6c190
Localisation updates from https://translatewiki.net.
Change-Id: Iadbd52cbddf89c6f862d60d9f778c9a891d4010c
2025-01-21 06:32:19 +01:00
SomeRandomDeveloper
56d8d3ea6a Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to 54d4a7ec3b026766b9c6c360cffdd7693539f033
  - Replace hardcoded colors with codex tokens
    
    This improves the colors for the search options section in dark mode. Before,
    the section had white and gray text on a white background. The divider border
    color is now slightly different since there is no codex token that exactly
    matches the color that was hardcoded before, but the difference is barely
    visible.
    
    Bug: T380656
    Change-Id: Id04073e85866ecc415e5d17fab926749937793b8
    (cherry picked from commit 57a0db123b398d6f3bf43b8ce63abdc14afbcd4d)
2025-01-20 18:16:08 +00:00
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