* 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)
* 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
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)
* 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)
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)
* Update skins/Vector from branch 'REL1_43'
to 634f5a2b4ec4f42c10cc7786a85d92956b4f158c
- Localisation updates from https://translatewiki.net.
Change-Id: I7fd52bb5c73794e966e169b574fbe9455e326638
* Update skins/MinervaNeue from branch 'REL1_43'
to 1439673935f45539ed245320d244fdfc57b9c65f
- Localisation updates from https://translatewiki.net.
Change-Id: I768f9c22b4b3e51ba70a6ade930fddb2083fe3f9
* Update extensions/VisualEditor from branch 'REL1_43'
to af45a04767741587c787547c7818387d7e513a34
- Localisation updates from https://translatewiki.net.
Change-Id: I4b70b1bf8747a3619c8061b9649103fbc906690e
* Update extensions/WikiEditor from branch 'REL1_43'
to 3774e45f4e7a4d983aef8e64f3f46efeffb19b32
- Localisation updates from https://translatewiki.net.
Change-Id: I2584b6b9bee8ce69d92e2b0f5031b17b2b66e20b
* Update extensions/Thanks from branch 'REL1_43'
to 2f624c3fc09d31b6a969af177c84d79e6f9dfc87
- Localisation updates from https://translatewiki.net.
Change-Id: I1aa3b39af738943e94ea5028429b8fefe5073011
* Update extensions/TemplateData from branch 'REL1_43'
to 0b5a884975d92efdab677ec91510b67cf7e8220e
- Localisation updates from https://translatewiki.net.
Change-Id: I50451948fa13d58239ff3fbf675c6759207a50d6
* Update extensions/Scribunto from branch 'REL1_43'
to 9634002e484bc9031e3c42c0b17987d2dcbc483c
- Localisation updates from https://translatewiki.net.
Change-Id: Idb659f888251f1b788407f2ff2bcf8b50e5c51e8
* Update extensions/ParserFunctions from branch 'REL1_43'
to f0eae2416283e8b94ceeb12d7542ef599e410271
- Localisation updates from https://translatewiki.net.
Change-Id: Ia38d0d3159808cd8e09c31bc242beac0a648ca9f
* Update extensions/MultimediaViewer from branch 'REL1_43'
to aa425b40ca0e8c1031f1b7077caa13197c211d3d
- Localisation updates from https://translatewiki.net.
Change-Id: Ifced1fc6429eb0ce0e5d99c8c839ea13110a645f
* Update extensions/OATHAuth from branch 'REL1_43'
to af56ddbb17486a40213e471bdd1a5753d309a7be
- Localisation updates from https://translatewiki.net.
Change-Id: I9adc563925bbbb9b2468550d8384e1f054b90f09
* Update extensions/Math from branch 'REL1_43'
to 8d65ce0f6c30d3bd03c554c9afdb67be95263dd8
- Localisation updates from https://translatewiki.net.
Change-Id: I8e3c4a62d2ce6ec0253c82c971e3bbe754bca663
* Update extensions/Linter from branch 'REL1_43'
to 871c0fd2b096b9490a01ff4e9df5c09302c975b6
- Localisation updates from https://translatewiki.net.
Change-Id: I0f84e1de598dced98c61b00788aad497678aa379
* Update extensions/InputBox from branch 'REL1_43'
to 587955d260ede99b3cc6ce21ca9fadac35a594f8
- Localisation updates from https://translatewiki.net.
Change-Id: I70a15653d232e9239741ad08be0bc24884169b58
* Update extensions/Gadgets from branch 'REL1_43'
to 01f1776fa5bb436378d616f0ed566757f618d075
- Localisation updates from https://translatewiki.net.
Change-Id: I52cffbac1f58d8d4470035d84450de04bb92adf7
* Update extensions/Echo from branch 'REL1_43'
to f38e3f0d91df90a19fa84bcdb4b8fa2c12008a92
- Localisation updates from https://translatewiki.net.
Change-Id: I9c483aa7d6dbb2afd558fcaeb293be03ccf7b089
* Update extensions/DiscussionTools from branch 'REL1_43'
to ebf321178a0d9b6ea15bbab15f5623b8c72ba3a4
- Localisation updates from https://translatewiki.net.
Change-Id: I5327d484ab131af96f1188a961858dfb6b842dff
* Update extensions/ConfirmEdit from branch 'REL1_43'
to b4e6c9d36b206214942b4add1eaa5bfb0e878f2d
- Localisation updates from https://translatewiki.net.
Change-Id: Iaa13c0544cf49d004182f404d575be7b3665dc5e
* Update extensions/CiteThisPage from branch 'REL1_43'
to a12c2cf7b335e79f2ca2d713aef687a754e40eea
- Localisation updates from https://translatewiki.net.
Change-Id: Ifbc61e29a879d7834f0af91751dfbfd96374029e
* Update extensions/Cite from branch 'REL1_43'
to def878a3d804d2699300e7d76ad5e2fa9929b586
- Localisation updates from https://translatewiki.net.
Change-Id: Ic15a43ee093a93dc5251ec71d1dae2af6f0359dc
* Update extensions/AbuseFilter from branch 'REL1_43'
to 87a9dbaf0418219c141e0de74b983b4332ae3d2f
- Localisation updates from https://translatewiki.net.
Change-Id: I2b390cfaffaf0d0f8a29246fd35ee77ac6f94a84
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)
* 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)
* 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)
* 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)
* 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)
Oops, this should have landed before the release.
Change-Id: Ied53880771367e2338370cc72996a64445203ecd
(cherry picked from commit 7cfef131a4f74bc9fdf1f956f2dc09aa4aa3d8e3)
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)
* Update skins/Timeless from branch 'REL1_43'
to 3cc5ea9debd9ecf3fd4a0b87a7d98dd69f816262
- Localisation updates from https://translatewiki.net.
Change-Id: I989aea9e4311f99c0585304f2d732b42ce928dea
* Update skins/Vector from branch 'REL1_43'
to e213ce0106121e922f6d33fb586e6e5df949b66c
- Localisation updates from https://translatewiki.net.
Change-Id: I4679d699424df3073380db9e8bc57ad267cc2e17
* Update skins/MonoBook from branch 'REL1_43'
to 166be7720a9b997b33dc81a8d1807f6f39e360d0
- Localisation updates from https://translatewiki.net.
Change-Id: I998c5b6042ac860cfb9740994381762ed2a4f614
* Update skins/MinervaNeue from branch 'REL1_43'
to 5771a3a3f99d84a95c7851dd552e200d1c160981
- Localisation updates from https://translatewiki.net.
Change-Id: I998c5b6042ac860cfb9740994381762ed2a4f614
* Update extensions/VisualEditor from branch 'REL1_43'
to c1305a270eb081dec1bf455f9bb3f984158367d0
- Localisation updates from https://translatewiki.net.
Change-Id: I1b02c8a6b414706e906a7cbb607c584a07d9a614
* Update extensions/WikiEditor from branch 'REL1_43'
to cbd68c53fff24edc4a5c461acdc4f2bbd9dd86c8
- Localisation updates from https://translatewiki.net.
Change-Id: I1fb2b41e0e23a4088d0b19417551cd3a1dcec4dc
* Update extensions/TemplateData from branch 'REL1_43'
to 0c2c76abb219c05572cd967605c163342f0e9f18
- Localisation updates from https://translatewiki.net.
Change-Id: I1b4f879e8f8de26c4799ff6b42eb7eb7cf6de11b
* Update extensions/OATHAuth from branch 'REL1_43'
to 79c3ab825f218f12cf559b9ce716af407c4e013c
- Localisation updates from https://translatewiki.net.
Change-Id: Idda9eff6c72925505fb980655748233c499009ce
* Update extensions/MultimediaViewer from branch 'REL1_43'
to d297d0e026c3da3692863ea490d07487d7068b42
- Localisation updates from https://translatewiki.net.
Change-Id: I7fd9077390ca63d8579229a0ac0ad09162dfe32e
* Update extensions/Math from branch 'REL1_43'
to 13876f330770ae0fa3312a3f219ca5d284eaf9fc
- Localisation updates from https://translatewiki.net.
Change-Id: Ic8a1d16c0c09656db4597f75f49d5bae0cdcdab4
* Update extensions/Nuke from branch 'REL1_43'
to 712a75b1a46a0c98b4992c79ab4603fa80b92c90
- Localisation updates from https://translatewiki.net.
Change-Id: Ife84781660188c404a2fb91c80ceb3a218c762e6
* Update extensions/LoginNotify from branch 'REL1_43'
to 779ddfb8a374adb7bc75c5adfd47b08ce7234edd
- Localisation updates from https://translatewiki.net.
Change-Id: I80afd6c0d3d6910a930a6e80647335ca1f3788bc
* Update extensions/Linter from branch 'REL1_43'
to 659346b38b3075d67a47e448fe56ce3ba9e94fa0
- Localisation updates from https://translatewiki.net.
Change-Id: Ifa91bf443098a0b9d7ad99fa36bcd4b983ea3db0