Commit graph

128849 commits

Author SHA1 Message Date
Translation updater bot
d5e97d42ac
Localisation updates from https://translatewiki.net.
Change-Id: Id5113b17063ac0d61bc9ab3638814ad4d6e13e8e
2025-06-10 07:33:07 +02:00
Bartosz Dziewoński
994f95f757 Treat File::getShortDesc() as possibly unsafe HTML
File::getShortDesc() is documented to return HTML, but some handlers
return unescaped plain text.

Bug: T395834
Change-Id: I150f0215339b4ac18254fce2be138b1cde2277d5
(cherry picked from commit b2a9cc1564397e27fd80e44e99e1905fcbd10684)
2025-06-04 21:18:13 +00:00
jenkins-bot
707e98bb1f Merge "Update wikimedia/parsoid to 0.20.3" into REL1_43 2025-06-04 01:14:22 +00:00
Arlo Breault
1af0cd0710 Update git submodules
* Update vendor from branch 'REL1_43'
  to e81b93847b7a9b189b3cb762409e6bcfb3295a1e
  - Update wikimedia/parsoid to 0.20.3
    
    Bug: T382963
    Change-Id: I1ec004b6914173c14f66ac0300192035122f6ae0
2025-06-04 00:58:33 +00:00
Arlo Breault
0e3fcccd5c Update git submodules
* Update vendor from branch 'REL1_43'
  to ff6edc415996157f9f80020d273554e2d211278f
  - Bump wikimedia/wikipeg to 4.0.2
    
    This is the same as 4.0.0, released because 4.0.1 was unpublished.
    
    Change-Id: Ic98898b5c5fb62505fdd81cc0a3c37e1f3b5e8e2
2025-06-04 00:46:38 +00:00
Arlo Breault
d46488212a Update wikimedia/parsoid to 0.20.3
Bug: T382963
Depends-On: I1ec004b6914173c14f66ac0300192035122f6ae0
Change-Id: I968df278a3aefec02e1b53aff484419311e5df34
2025-06-03 20:40:11 -04:00
jenkins-bot
58a2eed8d3 Merge "Sync up core repo with Parsoid" into REL1_43 2025-06-03 22:10:15 +00:00
jenkins-bot
3da6713b95 Merge "Improve BrokenRedirects display" into REL1_43 2025-06-03 21:44:00 +00:00
Arlo Breault
e49931aca1 Sync up core repo with Parsoid
This now aligns with Parsoid commit 9fac646fe95054a8b68765b381d987b46c4eebca

Bug: T382963
Change-Id: Iec78163a320210e411845017619e99bf1af7c9ec
2025-06-03 17:36:27 -04:00
Pppery
9ac90f7816 Improve BrokenRedirects display
- Don't strike all entries in Miser Mode
  - This does a query for each entry, however other pages like
    Special:DoubleRedirects already do that so it shouldn't cause
    performance problems.
- If the redirect is no longer broken because its target now exists then
  strike the entire entry rather than displaying a red link to a page
  that actually exists

Bug: T351055
Change-Id: I9189b1ba537f0ca590b41a3db76621f11df2a224
2025-06-03 20:52:50 +00:00
Pppery
a43f368b65 Update RfC links to bypass redirect
Per https://meta.wikimedia.org/wiki/Talk:Interwiki_map/Archives/2024#RFC

Bug: T71997
Bug: T382963
Change-Id: I2b6b63f7809e5801c78de370c828bbca5fe95e64
2025-06-03 16:37:04 -04:00
Translation updater bot
7e2f1706a1 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 132150941b99452fde3c0bea41347e4a1dfda7dc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3135e28ba98f9f55abb529c12af0c88526bccd84
2025-06-03 06:29:59 +00:00
Translation updater bot
e90cc53b2c Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 1b3431d735b60a3f075fa7ed896d40d75eb34560
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I288fd7eb896a0adb1f0f5e42ddca776258550315
2025-06-03 06:29:56 +00:00
Translation updater bot
d7c13ea27b Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to f038b091f71e12e2d25fb10647a78e6e10831c02
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibe613c67a9356caeef144382926e1e6da2e3d5e8
2025-06-03 06:29:55 +00:00
Translation updater bot
33626ab684 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to fdbcc3793ef099f277ba11b441f1647315bf8065
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I17110fd21bc47f3fa355d1f71b19d3087002b691
2025-06-03 06:27:27 +00:00
Translation updater bot
8a5261ee5c Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to cc33d8ead857c9b3ea9089da9e028a61b00affa0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I432ce6fbfee436a4a8aa8413813ed9aaa68d1d1e
2025-06-03 06:27:14 +00:00
Translation updater bot
1087aa236a Update git submodules
* Update extensions/TitleBlacklist from branch 'REL1_43'
  to 387727d1cc09c3c10ffe1c56ee10a770dba3dd9c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0ed33fe5e6de43a100cdc62174525db99d5e1f69
2025-06-03 06:27:06 +00:00
Translation updater bot
67b329fbb6 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 9956918a9112f6160011a35fc5ec79c8b725a48c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0ed33fe5e6de43a100cdc62174525db99d5e1f69
2025-06-03 06:27:04 +00:00
Translation updater bot
1691f225c3 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to e1ce4ae4c2087992590566e339d242b5ec1771ad
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iea094bbcf6b62dae14a9da3d5a30237d93627644
2025-06-03 06:27:03 +00:00
Translation updater bot
173ccb99f5 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to 14b8539a84bac96170a544501bf5b8f0e222391e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I461ad5ea949d7de3f3e2b8ead41794398616fbab
2025-06-03 06:27:02 +00:00
Translation updater bot
61eb670eef Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 607a9e6ae1ffa0232b9d27b82440185ce76fe2df
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibc9dbf6361bd8063c426978d3a32c04b23d6f4f2
2025-06-03 06:26:37 +00:00
Translation updater bot
bb8e52a668 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to a381ab1b71f4816412b10c82738c1e245149dfd5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8f9a33e33274c2c4539e923b96b85b664eefcce8
2025-06-03 06:26:34 +00:00
Translation updater bot
46147581d2 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to cd4a631bce76b9d50deb8b50ceb563d4d3b442a5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I21058d4ec0fc8ac14ddaebc1ce52c5830e60fc24
2025-06-03 06:26:32 +00:00
Translation updater bot
d8a4a2fe69 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to fdb260a97c06954f065e0ed422f095509eafabb3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idb1890717829b1e38bdcec2acec3748b48618e87
2025-06-03 06:26:27 +00:00
Translation updater bot
5d714840fb Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 9e67584cf6da534a97142079eeadcb991ab06017
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib6e139d70b58d0d87df68313f08e887f878c5b7c
2025-06-03 06:26:19 +00:00
Translation updater bot
25da48590c Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 46cc544fb00316f57887f5ceabf8ceb177c1c75d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib6507e249015d1903c7bc52b4bac21e5ff081f04
2025-06-03 06:26:03 +00:00
Translation updater bot
6877fb2752 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to de860f00fd94c63554fe2e8076c0de53c51a2dbb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If14a94d4b63da412a4ef5b7e172a6e153f84c7b2
2025-06-03 06:25:50 +00:00
Translation updater bot
f0f125d147 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to ff4e509b3eb0210c63c8568b6c69ab910f090321
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib9de168c592239f7181b51abbf8e2e9bd0f47301
2025-06-03 06:25:34 +00:00
Translation updater bot
fc97866ba6 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to ff1016d0946406a6999da95379ce5d51b2db79cb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5c5efdd8e8332baafac490676573c55abb8bc19b
2025-06-03 06:25:26 +00:00
Translation updater bot
f56c693186 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 47262da6467e8203c37b8eba9e5d3ef8754222a8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3d454764c46fb244c273ff0d0720901bca9a2731
2025-06-03 06:25:17 +00:00
Translation updater bot
b2c40b1427 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 4d8988c2e36bde0504f26b798de0659114318a4f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibfb6c9e7403fa006486a22ee321dd44d70be9637
2025-06-03 06:25:11 +00:00
Translation updater bot
f9e04c4c78 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 3344eb8d3c45ea6a87f88c45b0588381b47910cc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I021ae3915c7960a7b7fe579a9b3c5c75c62b21b6
2025-06-03 06:24:40 +00:00
Translation updater bot
834c1a5407
Localisation updates from https://translatewiki.net.
Change-Id: Ia44339c067661faed77d8b6b7670a62fc47589ba
2025-06-03 07:32:43 +02:00
Reedy
25f2ea68a5 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 052dcc72240f4cbcf418cad4d8d6b77381548b1a
  - captcha.py: Check if output dir exists, and attempt to create it (else error)
    
    Bug: T395804
    Change-Id: Icd55d723b7dfc6124e6f9f6bac9ca6d802b13594
    (cherry picked from commit f35e884d6a40a7c9db730a7e66048b012846feec)
2025-06-02 21:18:58 +00:00
Reedy
51eb1ec173 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to a3b35d54362697bd960e84c9dad8552439de9aee
  - captcha.py: Bail out if no words were read from wordlist
    
    Bug: T395809
    Change-Id: I1ae9b5bbd8bc00422c864a8fe6071d31534de48b
    (cherry picked from commit 1fad0f88b7879daebf755d9b9bb60a8f16554860)
2025-06-02 19:50:26 +00:00
Reedy
699d1fc3ff Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 85ea84d5ef5d61a7b3ea070b1b94834ef90c7962
  - captcha.py: Expand variables and user in filenames
    
    Bug: T395810
    Change-Id: I4b47d883176f2f3c233922efc18c33b9d8be28cf
    (cherry picked from commit 0b21cb2e42e69dfd39421c2dcf7a8a67234dd81d)
2025-06-02 19:31:56 +00:00
Reedy
7275baabe9 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 934714254d2a624ba49f03e6a0a140772e390f8b
  - GenerateFancyCaptchas: Handle captcha.py not generating any captchas, but not erroring
    
    Bug: T388531
    Change-Id: Ie833546f9ddcf770d234814f3b5e2ae4e4c504f5
    (cherry picked from commit b5cd3f6044703a06cc15e901cdcb055218c608c6)
2025-06-02 16:02:08 +00:00
Reedy
6ea5eb7b00 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 708fbdca7209a3a462b799e92b9eebfa0fc52bd1
  - GenerateFancyCaptchas: Explicitly set all limits to 0
    
    Bug: T388531
    Change-Id: Ia3fd6d8028b08eea9a60b048ece2802a2051e856
    (cherry picked from commit e9857e571dab2ec8c787cc54f4bc708fdf9649a2)
2025-05-29 17:31:20 +00:00
Kosta Harlan
9d3de690e0 Use anonymous user when creating named account from temp account
Why:

- Using an anonymous user object at the start of account creation helps
  ensure that downstream code paths do not record the association
  between a temporary account and a named account

What:

- Use an anonymous user object during account creation initiated by
  temp account users
- Update the session to use the anonymous user and set the request
  context user based on the session user
- Ensure the temp account username is removed from the session, to avoid
  issues where account creation fails and code thinks that a temporary
  account username is already defined for the session
- Add a test to exercise this code path

Bug: T393628
Change-Id: I6d2df8c1d842c4fefa916ed395479f479a0051eb
(cherry picked from commit 3d80e63f109834b90a83597d6d924895b2c6ae71)
2025-05-29 12:06:33 +00:00
Máté Szabó
4da80c97da Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to f43db8e5a55ee0fa015b9ac812936c5a3cde7d10
  - Add UriLibraryTest to the Database group
    
    Why:
    
    - UriLibraryTest is an integration test derived from LuaEngineTestBase,
      but is not part of the Database group, unlike similar tests.
    - Since Ie6cac7e1282f794277dfc8ff3673f12e9969818c, it's erroring when
      run in isolation because the require() call for TestFramework
      ultimately triggers a hasContentModel() check and associated DB query
      on what used to be a cached Title instance.
    
    What:
    
    - Mark the test as belonging to the Database group.
    
    Bug: T395214
    Change-Id: I5fb2f4bd51a4712c82113a1e34a30e08bc71e4c6
    (cherry picked from commit c86bbb3ac6adc3825968b8efc2cf24ee757ff6a8)
2025-05-29 00:05:50 +00:00
Mark A. Hershberger
3ac4f81c18 Remove the hyphen as a legal search character for MySQL
Bug: T221560
Change-Id: Ib38ab6334983eecea0981540d102ecde7fc94d42
(cherry picked from commit 693155fe2c653fbae781578fcb39d9888df5b2a3)
2025-05-28 10:21:06 +00:00
Máté Szabó
8e14ff1bc0 phpunit: Remove superfluous Title::clearCaches() calls
Why:

- Various tests have been calling Title::clearCaches() on an ad-hoc
  basis at the end of test methods, or in tearDown(), to work around
  stale Title instances persisting across tests in Title's internal
  caches.
- MediaWikiIntegrationTestCase takes care of this since
  Ie6cac7e1282f794277dfc8ff3673f12e9969818c, making these calls
  unnecessary.

What:

- Remove now-redundant Title::clearCaches() calls from tearDown()
  overrides and the end of test methods.
- Preserve in-test Title::clearCaches() calls that are likely
  intended to force internal caches to reflect changes happening
  within the test itself.

Bug: T395214
Change-Id: Ib5d42389cef20f3839c7f7a80041d002f0f09449
(cherry picked from commit 6483181044496c339ad497cc885319b20de7f6e7)
2025-05-27 12:37:31 +00:00
Máté Szabó
7d44a728b6 title: Reset cached Title objects between tests
Why:

- Title has several in-memory caches for Titles constructed via
  newFromText() and for the canonical mainpage instance that
  isMainPage() compares against.
- These caches are not reset between tests, which can cause cryptic
  integration test failures. It's not safe to persist either of these
  caches across tests, as neither the internal state of Title objects nor
  the identity of the canonical mainpage is valid across tests.

What:

- Clear the cached main page instance in Title::clearCaches().
- Call Title::clearCaches() from MediaWikiIntegrationTestCase::resetNonServiceCaches().

Bug: T395214
Depends-On: Ic35b45015ff5a53f6e728b69b59cc57efe0b390b
Change-Id: Ie6cac7e1282f794277dfc8ff3673f12e9969818c
(cherry picked from commit 3f7905bc9ff9006831f8573b7fe948dc7243107e)
2025-05-27 12:35:10 +00:00
Máté Szabó
81ef984c90 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 60d24895f4e8318b37f565fd82dd32cd1c493ee1
  - DiscussionParserTest: Fix false negative due to reused Title instance
    
    Why:
    
    - testSigningDetection() currently fails when run in isolation, because
      the test case "Bug: T87852" relies on testGenerateEventsForRevision()
      having prewarmed the Title::newFromText() cache with a Title instance
      for the user page of the user being tested.
    - This is because the latter test correctly mocks the content language
      code, while the former does not.
    
    What:
    
    - Allow testSigningDetection() to override the language code.
    
    Bug: T395214
    Change-Id: Ic35b45015ff5a53f6e728b69b59cc57efe0b390b
    (cherry picked from commit 982818b0cfa28432d8a7564c9b68a762096f1feb)
2025-05-27 11:44:32 +00:00
Translation updater bot
e93b962f69 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 94ca628911cf2ef618dc331a968659a116d98aa9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0af6bbb2848d536495a314b5d05fb40cf9dd10dd
2025-05-27 07:52:16 +00:00
Abijeet Patro
67cdfdb548 Merge "Localisation updates from https://translatewiki.net." into REL1_43 2025-05-27 07:49:49 +00:00
Bartosz Dziewoński
37efdff89b Link mw.Uri migration guide in docs and log warnings
Bug: T374314
Change-Id: Iefc350b5e8fd02cb46853bb90ef1e7c7ae7dd2cc
(cherry picked from commit 1223f307a1f2d7d3637138d72605a8b5f87d91a8)
2025-05-27 06:59:15 +00:00
Translation updater bot
0a0710fac0 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to ebe578e582f203f6db8124de418c45b823f7e1ef
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id3a4396adc75229ea3cd0051e249d740392adbbd
2025-05-27 06:43:40 +00:00
Translation updater bot
503838ec28 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 27ed9385a07588ff0047349b8bcf0c79cb2f9b96
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If6501eb8c1662515f913bb9ed2230b8cc2be2d98
2025-05-27 06:43:39 +00:00
Translation updater bot
deaf6c8e10 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 875ab6ba1618d8401ea0f49d114cab35d65806d4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2943e97952bc9a14b1173005acb478ad105a9e19
2025-05-27 06:42:10 +00:00