Commit graph

128892 commits

Author SHA1 Message Date
Translation updater bot
e9fae6b959 Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to 13378812a800b628bc3cc278f385d866986d4476
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7606641b703abfbe25967e4be0fe957bbe078a4f
2025-07-22 06:44:35 +00:00
Translation updater bot
e03e33a83f Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 78617a33c0598367cc7d83865c458f5f1b7bcb21
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1b1f1cdf9cdb59c13fe613d2cbe524232e5c4360
2025-07-22 06:44:22 +00:00
Translation updater bot
f1fb0f0f25 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to a8dbd6b44e929cd52d738de6623251f140c814fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I46bf92a193c9e534ed54e76f6d82f2b31a419d64
2025-07-22 06:44:07 +00:00
alex4401
6ecb7a4272 rdbms: Fix GTID style detection for MySQL servers
WHAT:
- Return the GTID style from `MySQLPrimaryPos::parseGTID`, which already identifies the style during parse.
- Rely on `parseGTID`'s detection in `MySQLPrimaryPos::init`.

WHY:
- When GTID-based replication is enabled and MySQL is used for the database, MediaWiki misidentifies the engine as MariaDB.
- This causes position waits to fail with "No active GTIDs in $1 share a domain with those in $1".
- This is a regression caused by I232274feb12c0ce4826be2c46a35315b425f6673:
  - Before that change, parseGTID returned the domain ID as an integer for MariaDB and as a string for MySQL.
  - The `init` method used this fact (`is_int`) when determining the GTID style.
  - After the change, parseGTID always returns the domain ID as a string.
  - The check in `init` was incorrectly updated to expect a string for MariaDB, but did not account for MySQL's source ID also being a string.

Change-Id: I4951e7967a45bae10d26b06ee236a55279fa8fb9
(cherry picked from commit 54154c87c084543fd659f24ae6b4c276184259cc)
2025-07-18 20:46:50 +00:00
TehKittyCat
8728f29a32 PermissionManager: Fix missingPermissionError() not returning early when $short is true.
This regression was introduced in I6670a58fe1.

Bug: T399793
Co-Authored-By: Jonathan Lee <cookmeplox@weirdgloop.org>
Change-Id: I26b61e2a08b51aaca5d2740dcaf20b509be380eb
(cherry picked from commit fa05279424e0688a7b34f1186050dca1e2ec5f4b)
2025-07-18 20:07:08 +00:00
C. Scott Ananian
330ef61cbe Parser::extractBody: Use possessive matcher and once-only subpattern
We were getting PREG_BACKTRACK_LIMIT_ERROR in production from certain
inputs to Parser::extractBody().  Use possessive matchers and a
once-only subpattern to ensure that we don't backtrack unnecessarily
once a <body> tag is found.

Bug: T399064
Follows-Up: I59abad3a58ccd6edc6517b13a56d8253ba0e0928
Change-Id: If6860ca268236cf428d574f6bb21c2070f5aa6a3
(cherry picked from commit 2c56237235a5603a1757982f02d3e542bdafaf06)
2025-07-17 12:56:52 +00:00
Arend Pieter
e7fa1c246c Parser: Handle regex failure in extractBody method
Add a check for regex failure in the extractBody method and throw
a RuntimeException with the error details if preg_replace returns null.

Bug: T388729
Change-Id: I59abad3a58ccd6edc6517b13a56d8253ba0e0928
(cherry picked from commit 3b297d37dd368d1d66f7afd78851bbb7a47cab0b)
2025-07-17 12:56:27 +00:00
Derk-Jan Hartman
21ec3daaa7 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 2afe8fcbe02084540406685c4c7f66be5e95bb23
  - Add white border around QR code to fix dark mode
    
    A white border surrounding the qr code helps code scanners to detect
    the edges of the code in dark mode.
    
    Bug: T392657
    Change-Id: I638fe365b88e0fb1d8d455b3cf6a4341ded96e18
    (cherry picked from commit 927a7e82dfde80de85624ac93fb1fe2232180c02)
2025-07-16 16:15:02 +00:00
apaskulin
9b503d1e52 docs: Add link to CORS setting for REST API
Bug: T391180
Change-Id: Iba11859a36b519feeb460d8ce6c315678011cdb3
(cherry picked from commit d84d8222734dafb31cda1c5dc13032bf67362180)
2025-07-16 11:53:21 +00:00
Timo Tijhof
bdf3614252 mime: Add mime types for *.less
This enables serving Less static files from /w/static.php at WMF,
which un-breaks the VisualEditor demo. In WMF production, static files
are routed through /w/static.php which for safety reasons denied
serving of files not of a known mime type.

Ref https://github.com/less/less.js/blob/v3.13.1/packages/less/src/less-browser/file-manager.js#L31
Ref https://en.wikipedia.org/w/extensions/VisualEditor/lib/ve/demos/ve/desktop.html

Bug: T399672
Change-Id: Ibb44af73c375cb0cb1588b3aca9607ba9ad187f0
(cherry picked from commit 8e29c316b073c8efc3c57cd45ee73e908e85722d)
2025-07-16 10:58:47 +00:00
Wendy Quarshie
87b34ec850 REST: JSON schema definitions for additional response bodies
Bug: T376603
Depends-On: I4193b9be4516717c7ce423131370a7d0b6ea8962
Change-Id: Ic2d9471ad446eb5f9d5e7072f1ef93f7196a20f8
2025-07-15 11:40:08 +01:00
Wendy Quarshie
c192133daf Define and store MediaWiki REST API ‘page’ endpoint responses as JSON schemas
Bug: T375530
Change-Id: I4193b9be4516717c7ce423131370a7d0b6ea8962
2025-07-15 11:39:54 +01:00
Translation updater bot
14b1f8b88f Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to d09fef55333cb0cbb5963c945bf2dc878f3b35ca
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib9ea39eec487028c46fce5553b11edb6602245e6
2025-07-15 06:56:37 +00:00
Translation updater bot
03a3c78cfe Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 6e31b31e9c2c60aaee0cc14ec6feff2f2983a2ea
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib2f78e050c3206368c4ade2353d8bbffc8375412
2025-07-15 06:56:35 +00:00
Translation updater bot
5358ebd860 Update git submodules
* Update skins/MonoBook from branch 'REL1_43'
  to 6dd91c65d66ab40b948cf8200eeeebd8987fbc64
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1bf02465fcabdcf624eb4e503206eede75882a8e
2025-07-15 06:56:34 +00:00
Translation updater bot
310c44a864 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 5cb33c9e6b628f90b69eb0e18edb54912f7e5e4b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I04d613c845c1c548d85b591dbb87e13f965b9bf4
2025-07-15 06:56:34 +00:00
Translation updater bot
c9e3fc29f0 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 34cf5345add0fa8d353e76334a8a948772e77f2b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie6efc7c16f2698887818e3072122b4c103eb98dc
2025-07-15 06:54:53 +00:00
Translation updater bot
373368f43b Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 847d10db226f6fde298bc813361aac8b8b66559f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I98856daf303152143c9e2c4ce29a34538cd6af2d
2025-07-15 06:54:49 +00:00
Translation updater bot
81f5ff6dcd Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to d67714f5c37b1123b5e9d450bbcc3ca4321c6639
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I381a630df56abb73fede49458ae070c2be9c50cd
2025-07-15 06:54:22 +00:00
Translation updater bot
cea94be653 Update git submodules
* Update extensions/TextExtracts from branch 'REL1_43'
  to 12339f9929b7a182733858321e1e8f7e9555143d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5d71d874bcad52bea712a8c09b7c5497e61c30c6
2025-07-15 06:54:20 +00:00
Translation updater bot
98ef15615c Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 6b64cf0366fad7b337d233927adfe2660f98939d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3c1ffcaca0615e6d7d7a17887b3b59889d5e3cb1
2025-07-15 06:54:09 +00:00
Translation updater bot
4b798b9414 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to 89fb0fe19ae6b66d95fb0493dc987dbea34d8371
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4b3396f9776931d4b757ce04673e8d88bd64137c
2025-07-15 06:54:01 +00:00
Translation updater bot
2ce3245e72 Update git submodules
* Update extensions/SpamBlacklist from branch 'REL1_43'
  to 90b426c5d3685d60e9a16020241aa6f42b9aaa01
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I9be4de8dfadc435861eb237b46506e72e28a755f
2025-07-15 06:54:01 +00:00
Translation updater bot
aefad027ab Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 7d2f2f5bddafd9e740c14e8d656c0408cbf130dc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iaf369ad0ac2e587672ae124447e0b07a0a689751
2025-07-15 06:53:49 +00:00
Translation updater bot
a3d61cf9f7 Update git submodules
* Update extensions/PdfHandler from branch 'REL1_43'
  to 581b31b8cf43befdc7c2bc76262f300e347b21fa
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic3adca50f7631e33886e0ee250c24bc27f3be836
2025-07-15 06:53:41 +00:00
Translation updater bot
48c6f14377 Update git submodules
* Update extensions/PageImages from branch 'REL1_43'
  to 1a5a4eff5a16fc04da30d4d5f14cf47c4f008bac
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ief84e404eb940fcf5d7e3952ced09138561d1713
2025-07-15 06:53:37 +00:00
Translation updater bot
4b1a474926 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 45f3a6f247787659c7549f019d552bfdcf11a269
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1979c4190b001a976b3b6c45cbe028349cd7f5b8
2025-07-15 06:53:32 +00:00
Translation updater bot
af5a139cd5 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to c7ff0eabbcb9e77df4da2074179b16424a33e4bb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I73b3da45c92806bd1ab8225ec65979be8161b1c4
2025-07-15 06:53:20 +00:00
Translation updater bot
4da59d16c1 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 389181a4a3c92e9febba9d890f3c39818f1187a8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I40e4e779bb74c0f943f5e12a785cf3707385fa7e
2025-07-15 06:53:12 +00:00
Translation updater bot
289c4ccbd0 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 15771103dc0dab6c070d61dbf3d02a6af6729a99
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If4f50b992dd5e23e0318ba4c3fb7ebc3751a3a1c
2025-07-15 06:52:54 +00:00
Translation updater bot
6113f5aa8d Update git submodules
* Update extensions/LoginNotify from branch 'REL1_43'
  to 5be9d95d8e581804498f246049f2cc91769ea9a3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I772218262bf4be61dcc3def8ef526bc308d19231
2025-07-15 06:52:53 +00:00
Translation updater bot
eb9131ec26 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to c8491de62db604889b91428659c721794652d1fa
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idd0c3cbc07f0e821f85f7629ecbf02d505a50511
2025-07-15 06:52:41 +00:00
Translation updater bot
b921c866bf Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 30306e663fa016f98070148c7b506df7a69a6842
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5b1e64fdcf60c3bb3f16058e99b9616dcf8def12
2025-07-15 06:52:29 +00:00
Translation updater bot
b6125ecf0c Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to a7df21e3572817c0fb51d7e00072748bee1075fc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iae7dd0b59ec88b6c69573dc997d4e0fe4ff592e0
2025-07-15 06:52:09 +00:00
Translation updater bot
3e16e60998 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 510122cc06caf265df6dbc81a6b25a75a9ec6849
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8f2ec9d2b9bb961c13605b9ad5e015dbc938facb
2025-07-15 06:52:08 +00:00
Translation updater bot
ea4ce1ad85 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 1f2302156bc97da0330890d96c1df0733b721751
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I80782648f763f45e6d959f153898bd47ae3f2ecd
2025-07-15 06:51:55 +00:00
Translation updater bot
465bea8338 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to ca0037fb887f0bdbf36785b485adde2b8ba6690f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib3517a9fc10487e0d93fe8b00d860610eccd01d4
2025-07-15 06:51:53 +00:00
Translation updater bot
bb3b5f00fb Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to f93842c17bc7622f8ce2d81cb0aacfe44d44b4d2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7eb8470233ba44474624f948cb990630dc274dcd
2025-07-15 06:50:42 +00:00
Translation updater bot
a13c7cad6e
Localisation updates from https://translatewiki.net.
Change-Id: I8a9758cc9475d503948bdef92a4ea60a27cda6b3
2025-07-15 07:33:49 +02:00
Timo Tijhof
a3f7a093a1 mediawiki.page.ready: Fix undefined mw.user during temp user logout
Follows-up Ib62cdb5ba7 (ab89fff633), which added a call to mw.user
without declaring a dependency.

Clicking "Exit session" consistently fails on a plain install with:

```
Uncaught TypeError: mw.user.isTemp is not a function
    logoutViaPost ready.js:195
```

Bug: T378163
Change-Id: I9c4a788228a70131700769d3fd2a991c6cb0cd27
(cherry picked from commit d3ddfd942592a6a2b511b34ba8872e51d51377c6)
2025-07-12 02:35:05 +00:00
Meno25
59ff804dab Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 807e8d39516a56978a3bc452596646a311edda06
  - Update redirected links
    
    Change-Id: I9cc474eccae2e23e737fef69bc4c4f85ddb9bd51
    (cherry picked from commit f5f4ee59634645b3b203037a6958820b40ceb79f)
2025-07-09 14:28:15 +00:00
Translation updater bot
2328b6eeaf Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 70ac6588d7ad1135f2e8211d23e465c97697cca1
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I55c6a6a11da1006a3267defa3ebcc25edd845077
2025-07-08 06:26:35 +00:00
Translation updater bot
ea1eebb3a3 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to cbc4c24a01745b87f8f4d1b8cdbc5014314f1b12
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I278e7b677e400da328219055c1284cddbb0bd9aa
2025-07-08 06:26:33 +00:00
Translation updater bot
6239241191 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 38e89021bc22de8c5e00f73a09c9db90ab7574a7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If3ca6309306c01d3dfd790924de5f53a899a5c22
2025-07-08 06:26:32 +00:00
Translation updater bot
0b1bcfcc70 Update git submodules
* Update skins/MonoBook from branch 'REL1_43'
  to f65e713044604ee9335a2aead79c68903750506a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Icd8b1d3ef0a69311bac9cfc061a64888c90c474e
2025-07-08 06:26:30 +00:00
Translation updater bot
69f958164a Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to b79caf7c2791eec4dd526b72112bb831d76953e7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I43944f8d7d57a03b3faf454d6b5a8244a893f3cc
2025-07-08 06:25:25 +00:00
Translation updater bot
1724731ffc Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to b9d432c995ac17ac03af1505f9e088da700af8ae
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I21b831f63890bfc3d6f814a6b69c70aa814de0fe
2025-07-08 06:25:09 +00:00
Translation updater bot
3c1c46b436 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 99eccd8c44146775e698277d519e69ae5498e758
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie5a0d4ffe483d6c2106732400b727d14b5d0e0ba
2025-07-08 06:25:00 +00:00
Translation updater bot
f9782f4c41 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 1cb7fa05979f05c6b9c724e6958f3c8512852294
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I71635b1b3ec6fdca24fada69e416022b0482fed8
2025-07-08 06:24:57 +00:00
Translation updater bot
4ffbbdca7d Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 69bdf17dc31222bd0d260e8e50426372eab2f27f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id0250d7899faa0aec46cda0b7611d2d47afad39f
2025-07-08 06:24:49 +00:00