Commit graph

128620 commits

Author SHA1 Message Date
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
Translation updater bot
45f1f53c3d Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to b26973ff0c4fd3bc5f78a0cc4ab069074418b437
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I43e58e5d16594d6d8d85e755ae05841e838b14f3
2025-05-27 06:42:02 +00:00
Translation updater bot
879bca9779 Update git submodules
* Update extensions/TitleBlacklist from branch 'REL1_43'
  to 581bba3a0d7302b60c6974260b9e2972f3fc7a0d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idc52da9caea06930566d5c95c797dd02a7e8d58e
2025-05-27 06:41:40 +00:00
Translation updater bot
75d0b5eadd Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 50ad9d9a0db9bfb6b70db91b4f00fa516c67236e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idce98d8a5ad2f5eed08b63ab9c7a9983e2bdc036
2025-05-27 06:41:40 +00:00
Translation updater bot
ca698a30f0 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to fe04b0edfd8be03caf41be5962d14a5ea7bc0c9c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I44425d25b24f9bcc687c765ebe3a2a6a5dda6272
2025-05-27 06:41:37 +00:00
Translation updater bot
3fa115d9ca Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to aa6256f8842eaf0b43282c645a657d486f4d2e6b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3683f15ad53c438756b1e374cb0dabeacbe22e5c
2025-05-27 06:41:37 +00:00
Translation updater bot
7c5f0dd299 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to a2b7cf559d41d128ae07cb2963a8d9a1e246a557
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I88015b3e0c1ebc21893dc15410653f679c7af056
2025-05-27 06:41:31 +00:00
Translation updater bot
ee131125ea Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to 3a45fa33645d7a06c3bdf781b9a387863fc3202e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6f338e3b6fc94acdd8199a0caf5b274cb297a705
2025-05-27 06:41:18 +00:00
Translation updater bot
13b5678619 Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to 9f39c9958f042536a3e42ed6ffba027e041e22bc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I58b297cf8ed6d70f6f15977b5ed597c4dd25bddb
2025-05-27 06:41:10 +00:00
Translation updater bot
0c96b92380 Update git submodules
* Update extensions/PageImages from branch 'REL1_43'
  to a03d3b5dfa5a11c5b198b7b7ca1076a87cbc4c85
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6aa75885fd58f32db6fc4b151ba48bee5d0f99e3
2025-05-27 06:41:04 +00:00
Translation updater bot
4ad0118c33 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 29806c7c088a32e32bd4da5f0879c7669039d477
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib14386753f7091d12ed2b93d518814b3f0cd20f7
2025-05-27 06:40:54 +00:00
Translation updater bot
e986f0181c Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 97e47b32ad871642afac5c279e9bd8940e446924
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I590f4380a7e4184e1207da2cf3e2dee1be869336
2025-05-27 06:40:52 +00:00
Translation updater bot
78b9ba924b Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to ebef9c50d5192a5f27199a64741094ada980b3af
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idc9ff2ba2615eceee626be9f3337e8d84a19650d
2025-05-27 06:40:48 +00:00
Translation updater bot
a52d151cc6 Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 896ffc529e898caf485873571e87707576c82b9d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I9869a01ae26a41b01506abb905dd8e112e38fb37
2025-05-27 06:40:43 +00:00
Translation updater bot
7d22e040f6 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 06abdaf962acb1af62c7ba955f5d3c79fe453b18
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5a4448640c6dbcbee0e64a87820a7af4c9874a86
2025-05-27 06:40:37 +00:00
Translation updater bot
2710a7ceda Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to d733b6c56f72ebef437d3397eb2de9d96e4cd7fe
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I54d5758f28c3d3743cf0904f0d929cab2f1a990a
2025-05-27 06:40:21 +00:00
Translation updater bot
08e9bfb851 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to d33e63c2249531ee1b5687d33f5eb0b528e3c125
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ieb54c33e377ad944cc92b0cc01b583bfa0d8442a
2025-05-27 06:40:14 +00:00
Translation updater bot
d3627dbef0 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 626de8008a64c75a644932408ef3cc86c140cedb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia8d28a5ef316b44140df74452f249d7277a74491
2025-05-27 06:40:05 +00:00
Translation updater bot
817dfa5105 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 8ef56237a79a52841c448c4aa45f9bd229dbc65d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I822a8c9010aaaeb7997904f6e5b86d16fed88479
2025-05-27 06:40:04 +00:00
Translation updater bot
7e72bab887 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 162378d2c12df7549a23ad80ce7bba83eca48683
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7542f5eca788d621a3526ffed9f520a7b0422280
2025-05-27 06:39:54 +00:00
Translation updater bot
7053b67444 Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to 937cc0e8bbf492d0bd80cc95f680e4690911d7f7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I67fa637b33a56c2a8e0e09cdb157670c88126afd
2025-05-27 06:39:38 +00:00
Translation updater bot
c45a8b53a3 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to c9830a49f2ea2c5bab4ccb31468b75e49770f0e7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I713d444ca4585350ad60b377e7441d2460cb7b67
2025-05-27 06:39:28 +00:00
Translation updater bot
4af60bbc57 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 6cba3add2777804cc609458ecaee1ca297ee27fe
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I787fedd05df3bb265367929070bf62987e7b4b27
2025-05-27 06:39:25 +00:00
Translation updater bot
949d4923dc Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to a559f611abeedf208f628294be43470b496caa61
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4ec6080ee855b022742a2103812fed68c990c5ef
2025-05-27 06:39:00 +00:00
Translation updater bot
cd0e100668
Localisation updates from https://translatewiki.net.
Change-Id: Id38b320980cd8e7d74dbb82b050ee2713bc26188
2025-05-27 07:32:17 +02:00
Timo Tijhof
69f2ae3e94 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to bb21cc4a98cf7319d7f5d535182cbf26b416120a
  - tests: Skip AbuseFilter tests when AbuseFilter not installed
    
    Crashes locally on undefined classes. Also useful for T389998.
    
    Bug: T389998
    Change-Id: I62d21c7407df3f06b71c4a7402a5bc3d08f2860e
    (cherry picked from commit e751f62f4d2a4797eeaf7623b86f0b652a2f5216)
2025-05-25 21:05:14 +00:00
Meno25
cc8f3bdfa7 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 4f526a5e0f076c4981f5465b9da922353e776ed6
  - Update redirected links
    
    Change-Id: I1bacb47b7398b8a36239cd5257750f40300f26b8
    (cherry picked from commit 01e6e02aed4380be92b49785267591db36ad4aed)
2025-05-23 22:36:40 +00:00
James D. Forrester
700a639140 FormatMetadata::formatFraction: Don't risk passing null to preg_match
We do this above for formatNum(), so this approach seems to be
idiomatic to this code.

Bug: T394989
Change-Id: I804cc180e5de8ddf22b70e9f532f0f2416713eb7
(cherry picked from commit a6a777ae853f0f989b1438bd5c1c3af5dbed135a)
2025-05-22 17:13:58 +00:00
Reedy
4c2a44d9e0 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 446be2d124560378756d4ac571e6e1acdfd847dd
  - hCaptcha: Add message for privacy policy
    
    Currently unused, but will be...
    
    Bug: T394874
    Change-Id: I7d8b13d9ae4c4fe910d35683096f221e61d5315b
    (cherry picked from commit 5c8c002d549b595a4c9eae0c7f3ce04f04a5ed7e)
2025-05-22 14:13:34 +00:00
Umherirrender
3ba0c1b297 tests: Fix casing of MediaWiki in @covers
Change-Id: I9b7d5a9068137a16fb16d9fc0a1f2f07252898c0
(cherry picked from commit 399f194a6ad8017a892e4dd3f416934f0e7f6db1)
2025-05-21 21:48:09 +00:00