Commit graph

129342 commits

Author SHA1 Message Date
Translation updater bot
d0da819481 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to f1aaaed8f14d1e6a3aa01cebed27f5aca8eb21c5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I808fc1ca5f2aa4429e3d99a6ef362090d8864d27
2025-09-30 06:48:01 +00:00
Translation updater bot
bd01517731 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 8e23f487b4db9f45e53861ce6bdd9f3a7aa4a344
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iceca1404ae33f55ac1231276e1c620a56fc6b962
2025-09-30 06:47:33 +00:00
Translation updater bot
4d92b3efac Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 3e260da9cd287dc4b827aabdf5c2a46f83aafbc4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I176411c9a26432a17f5a8b924ed852264e29dd9d
2025-09-30 06:47:32 +00:00
Translation updater bot
c42b828ec6 Update git submodules
* Update extensions/SpamBlacklist from branch 'REL1_43'
  to b6c3567c2991d342426ccc488f5eadadc2645ec3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I82d5f2d4791d3c474c557dcd2befcf8f56a80865
2025-09-30 06:47:27 +00:00
Translation updater bot
f4e506615a Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to ddc54a3fca760823bd06ea0f0ebf045bf48a6ba8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id303f0893696fa5df174ae08973c5abef0296e59
2025-09-30 06:47:26 +00:00
Translation updater bot
de7b2eead2 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to a0efb41affd25c2f14e47ae1755307ee90e35b1e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibb9d11fdf29b04f843eff9a61664dfff5bf3633d
2025-09-30 06:47:04 +00:00
Translation updater bot
a2c64e15e7 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 79b168a74cdc379bd6099efb3a510d3d286305fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4b98110b6e9bd29a9eacc66cc4e65b8127742d24
2025-09-30 06:46:59 +00:00
Translation updater bot
77df11ec2c Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 9bdf88a7a971d5b30b50c17a88f592320780f107
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic04f84810ca71410ca480fb9c16880b2d67a9085
2025-09-30 06:46:52 +00:00
Translation updater bot
128e4ed6c6 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 0f9f87177b79490019650ae0e6965397d08ad299
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If91fedcac6475514972c5508bf43934fbd4d9cae
2025-09-30 06:46:40 +00:00
Translation updater bot
b530a1131c Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 54908a917b43cee8f3f473ad97f5d5b6758b4861
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I40be83cd67657a901944ed432cd84f3c046088d9
2025-09-30 06:46:19 +00:00
Translation updater bot
5a9258e5c4 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 3f25bcc823c0fa09a8d604fb436daa06ddb244df
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia98dc81c3ea460ab88339d9a22d8e7b19656a46a
2025-09-30 06:46:11 +00:00
Translation updater bot
3a04197639 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to fb8fe7bf4096a40e7a000d9a25264ab4d101bdb3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I419cfc9dcbe24416c384260668beff75b3563d0c
2025-09-30 06:46:10 +00:00
Translation updater bot
5ee481dbb7 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 8db01cb5b59cd647ddc178127bc0c365e609dbc6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib2ba0e6671cb5ddce444c97b9d9ee842e881d998
2025-09-30 06:45:57 +00:00
Translation updater bot
6e27d24827 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 99f2c99c9d8a27cedfadc1d3e3ff71d9c73e0076
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iee5b3446b8eb91e4ded2f1ea9e3d7dac66d817ed
2025-09-30 06:45:54 +00:00
Translation updater bot
1dd413a469 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 309c87a224ff278d57d4cb25420fec3bba8abe7a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I9c22244bc450c78e5509fe1f223692b601dbbc98
2025-09-30 06:45:33 +00:00
Translation updater bot
9a98b28801
Localisation updates from https://translatewiki.net.
Change-Id: I144226431099aa89f3ae3bf3961cf7838f033388
2025-09-30 07:35:33 +02:00
Ammarpad
5015ea97ef Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 9176fadd2b9abafff7dd6ec892f12dbfbf7c8b3b
  - ApiDiscussionToolsPageInfo: Show nice error for deleted revisions
    
    This is similar fix as b8a28d6cfc53e41aa04abe855818213f95df322d.
    
    Bug: T380351
    Change-Id: I1b03a00c5627e1fa9e48aee9e2ed3d8b1ea332f7
    (cherry picked from commit 6e17c85409a618303937382ab74850d16b60d26a)
2025-09-29 23:41:03 +00:00
Bartosz Dziewoński
0ae36261f8 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 8e770dce8ac8302f418a44ac50a7442fcacbce41
  - Remove cache compat code for content placeholders
    
    Follow-up to I563219f3298a8740e158d130492bf3d2897784d7.
    
    Bug: T396248
    Change-Id: I126203ab1d3ec8c1719cbb5460a887e4d0c2cc6d
    (cherry picked from commit 03939934677f167e34484c01ec4c7255c85a7de8)
    (cherry picked from commit afaa6d6369eb911fabd8d23496e5ffdcc079b1b3)
2025-09-29 23:05:26 +00:00
Ed Sanders
142b93787c Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 7f68a99593ff4f10457d0aea9a5723f39c1264c6
  - Support placeholders mangled by MF's HtmlFormatter
    
    Bug: T396695
    Change-Id: Ie12e90639e13218b77c7d01d50196ff0c474a4c7
    (cherry picked from commit 2bce20e8e60a8bcd2eccc6cc4bff2ed150021a83)
    (cherry picked from commit a13737b884150e28aee65d04a91a2125126ed4cd)
2025-09-29 23:01:56 +00:00
Ed Sanders
a365492815 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 802e034f11376918636074ac16b0fdaa3f92068e
  - Remove placeholders when features disabled
    
    We should always be removing unused placeholders, but
    now that they are custom elements, it is more important
    as they can affect CSS selectors.
    
    Bug: T397011
    Change-Id: I7c337149aceeb237a836439456dc8e9b826b3799
    (cherry picked from commit b93d0d64b0647bc6055856bfe9d65283e48231f3)
    (cherry picked from commit a4686b050bc7342970f8757acfc9fbb468c2685e)
2025-09-29 22:58:42 +00:00
Ed Sanders
42945d5088 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 330e614a1506a63cae6af6fdd9338bb040d6000a
  - Post-process timestamp links whenever DT is available
    
    This matches the logic in ParserHooks which adds the
    timestamp link placeholders.
    
    Change-Id: Ia3116eb2d75f6034f131a53093fbf44bceb0d9d5
    (cherry picked from commit 2cb7b2f527d5a59cb3343a28b00f9ad74267808b)
    (cherry picked from commit f874b2145c2c7f44f1d914a5a4d34f80537a31d2)
2025-09-29 22:58:34 +00:00
Alexander Vorwerk
807513767a Update git submodules
* Update extensions/SecureLinkFixer from branch 'REL1_43'
  to d7ffecb943c6f43c992f29bce3977be6d1298b03
  - Updating domains.php from Mozilla
    
    Change-Id: I7966190849dec262e75906d4e1deb107125ee64a
2025-09-29 22:38:45 +00:00
Ed Sanders
0fee83ec30 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 7737d63e81f8fb5c9ca4accd288e9cc075374536
  - Use custom elements for content placeholders, with HtmlHelper::modifyElement
    
    Instead of comment nodes and complex regexes.
    
    Bug: T396248
    Change-Id: I563219f3298a8740e158d130492bf3d2897784d7
    (cherry picked from commit 37856941cffb646067c3df1a7ef639ffe65a475c)
2025-09-29 22:38:45 +00:00
Alexander Vorwerk
5bc79fb647 Regenerate patch-drop-page_restrictions-pr_user.sql for SQLite
Bug: T400505
Change-Id: Iff77877103e3a45d3b190f9129791d9a8de7e7ae
2025-09-29 22:19:19 +00:00
Bartosz Dziewoński
1bf9db0779 Re-apply "Use Remex for DeduplicateStyles transform"
This reverts commit 7f63d5250e,
re-applying commit 82da9cf14b.
It can be re-applied safely after T354361 was fixed.

Most of the incidental changes from the original patch are
no longer needed, as they were made unnecessary by other work,
or were applied in I4cb2f29cf890af90f295624c586d9e1eb1939b95.

Change-Id: I1ff9a7c94244bffffe5574c0b99379ed1121a86d
(cherry picked from commit 09703c2c774a65dd9ee57ec83154aa1eab5a9d03)
2025-09-29 22:01:15 +00:00
C. Scott Ananian
a6739e066e Use Remex/HtmlHelper to implement Parser::replaceTableOfContents
This is more robust and secure than the regular expression previously
used to extract the <meta> tag.

We also improve HtmlHelper slightly be adding the ability to replace
an element with an 'outerHTML' string.

Because our output is being run through Remex, there is a slightly
larger degree of HTML normalization in the output than previously,
which is visible in some small tweaks to test case outputs.

Bug: T381617
Depends-On: I2712e0fa9272106e8cd686980f847ee7f6385b6f
Change-Id: I4cb2f29cf890af90f295624c586d9e1eb1939b95
(cherry picked from commit 7ebd8034b54495f28f4c5583d4fa55071634b593)
2025-09-29 22:01:08 +00:00
Arlo Breault
1f51ebac15 OutputTransform: Fix double IDs on headings
Based on Ifeaaba1d0215e6f67f889a09c02879cc9079aa19

Bug: T366083
Co-Authored-by: Bartosz Dziewoński <dziewonski@fastmail.fm>
Change-Id: I2712e0fa9272106e8cd686980f847ee7f6385b6f
(cherry picked from commit 5757066096a0eac7f722e63aa3722e068915d33a)
2025-09-29 21:11:58 +00:00
Bartosz Dziewoński
a52cd4462c Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 51f9e400a357159938cc83d62392dbdb447f5eed
  - CommentFormatter: Omit unused parameter for action=dtunsubscribe
    
    Change-Id: I109d41fa22a0fc7d4fb670b2d0afe702c4dbccef
    (cherry picked from commit 868be64d9a2731c5e1933097751685a1641d510b)
2025-09-29 20:08:38 +00:00
Ed Sanders
ab9412a7fa Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 6229dc31e9222aaa70f6d6b98189b3c90f251a9a
  - CommentFormatter: Remove code supporting legacy HTML output
    
    Change-Id: I9ffbf8425f622d3045de794b039f8e2e72015fb1
    (cherry picked from commit 6bc40e769578d24642d33bb8bf5b50f3455887be)
2025-09-29 19:58:14 +00:00
Ed Sanders
f94e0d9c71 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 3af0166f131a8147c05c1045df3edfbc51690172
  - Add signature range markers to the DOM
    
    Without these, the client side code is unable to
    extract comment message bodies. In theory there can
    be multiple signatures in one comment, but in practice
    we only care about the last one.
    
    Change-Id: I515a2878eb5aef88d05d8b62462e91500907a73a
    (cherry picked from commit 7fb4369ae8c283caa2a41a27f809b091124c0b4b)
2025-09-29 19:51:59 +00:00
Derk-Jan Hartman
702c6a814c Metadata: ignore LocationCreated, similar to LocationShown
Bug: T394968
Change-Id: I413160a056625b2a4f21c69ffbbced5b42c67bb9
(cherry picked from commit f616017c7b718157096af3dfbc101692258fcae1)
2025-09-29 16:47:32 +00:00
Reedy
d0a06b88af Upgrading wikimedia/parsoid (v0.20.3 => v0.20.4)
Depends-On: I72f3f684dc3581d1260e9fea4a9e8a224008b6b3
Change-Id: I52a637de78dfbeb265ce3b0693db678a9fcd9db6
2025-09-29 16:47:11 +00:00
Reedy
84a13300b3 Update git submodules
* Update vendor from branch 'REL1_43'
  to d9b7761127561cb4c504a86925c2c2d04088b3d7
  - Upgrading wikimedia/parsoid (v0.20.3 => v0.20.4)
    
    Change-Id: I72f3f684dc3581d1260e9fea4a9e8a224008b6b3
2025-09-29 16:26:13 +00:00
Gergő Tisza
80d0436871 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 3f192070ab197d2a90ec000b1522b23a2f80f965
  - Add OATHUserRepository::removeAllOfType()
    
    Change-Id: I2a73f58c722e8372bf263a5a8f27fe46c6e9effc
2025-09-23 19:35:01 +00:00
Gergő Tisza
76fd9e42a6 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to cf039f8e5a199b9fd2a093ef3a35b7c7aca76221
  - Fix multi-key handling
    
    Follow up on the multiple-authenticators work by replacing
    the user's 2FA module (of which there could only be one) with
    the user's 2FA keys in various places.
    
    Functional changes:
    * Add OATHUser::getKeysForModule() and a shortcut for the TOTP
      module (for typehint friendliness)
    * Filter modules for TOTP only in various places:
    ** ApiOATHValidate (which could maybe be more generic in the
       longer term, but would need some sort of support flag - it
       will definitely not work with WebAuthn).
    ** Lots of places that did the same filtering manually.
    * Do not throw in various places when the user has multiple kinds
      of keys:
    ** OATHUser::addKey()
    ** OATHUserRepository::loadKeysFromDatabase()
    * Keep throwing in OATHUserRepository::createKey() (which is what
      gates the use of multiple authenticators currently, and we want
      to preserve that until further UX improvements) but use an error
      page rather than an error.
    
    Code cleanup:
    * Replace OATHUser::setKeys() (only used in a single place, to
      remove a key) with removeKey().
    * Hard-deprecate OATHUser::getModule() and remove its uses.
    * Remove OATHUser::setModule(). Instead, use the first key in
      getModule().
    
    WebAuthn part of the change: Ib9a686171da67b334e80524629df406d10903391
    
    Bug: T242031
    Change-Id: I70241b9cfc036ea6439bf30ed724c1377a78d5c0
    (cherry picked from commit 511127a8edea3c6ac390fb8ff1269d6e07a2f845)
2025-09-23 19:34:15 +00:00
Taavi Väänänen
a0380a1b1c Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to a8c75338a5abe48a727fd498da7b2e0ffe688dbd
  - Mark OATHUser::getModule() as deprecated
    
    Bug: T242031
    Change-Id: Iff8c459f391938848bc80ac288f0c41e3e627abc
2025-09-23 19:33:32 +00:00
Taavi Väänänen
2b009e9786 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to c5191316484de480ed151190be24feec81877819
  - OATHManage: Drop use of OATHUser::getModule()
    
    Bug: T242031
    Change-Id: Idb71e383e18f9fc7948aed12e9bd32ce511f4aa7
2025-09-23 19:13:47 +00:00
Taavi Väänänen
f3a98cd8e5 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to b3b5c9e75482ef46937b4948246acbb39fac8e5c
  - Don't share OATHAuth devices for all non-attached users
    
    * Do not load keys for users where the central ID keys is 0.
    * Throw an error instead of allowing the use of createKey() for users
      without a central ID.
    * Mark persist() as deprecated. The only remaining use of that will not
      save a key for a user that does not already have them, so no need to
      check for the ID there.
    * Use the cached central ID value instead of always looking it up.
    * Update tests to use the local central ID provider. I consider the
      reason why this is needed to be a CentralAuth bug, but this is easier
      than fixing CentralAuth.
    
    Bug: T379442
    Bug: T379439
    Change-Id: I1a1fff62208ccc580273843f0f479ab337703823
2025-09-23 18:32:33 +00:00
Taavi Väänänen
f8ed50a498 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 4035ebce6361c19025074eee14d5a6cd156f0670
  - OATHUser: Use UserIdentity where applicable
    
    Depends-on: I562d6347f34691f1717d92b476618108af3de956
    Change-Id: If0147e03ab7b7f43e6a261b673350317193389c1
2025-09-23 18:32:30 +00:00
jly
093194fde2 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 575646a7f223c1310fe4aceaa2063339ef2634d7
  - Rename Special:OATHAuth to Special:AccountSecurity for en and zh
    
    Bug: T401771
    Change-Id: If9cfc192944e32b5ab968ed160603bd43314a723
2025-09-23 15:13:15 +00:00
Bilin Tsui
ebd44263d3 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 044d3fdc8c8930d823a255eb1106493884fe0ebd
  - OATHAuth: Set Chinese primary special page alias to the English primary
    
    Bug: T399285
    Change-Id: Ifcdc8c2736c83194f516cdc555868479ce9893eb
2025-09-23 15:13:13 +00:00
Taavi Väänänen
6a43442430 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 2d129e97d3f74862fb73ef2f3e25f587ffc0c655
  - OATHManager: Look up user details in execute() instead of constructor
    
    Change-Id: I5db5d7e49553c30f4a76c01d39955821c6f82df6
2025-09-23 13:38:12 +00:00
Taavi Väänänen
8ed3602608 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 913e1d4085fad285ab627dd9261ddff97f0509b8
  - ApiOATHValidate: Remove use of getModule()
    
    Change-Id: I5fee274e792f087aedf30259069203d8e1f24d10
2025-09-23 12:05:18 +00:00
Taavi Väänänen
5251077227 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 751a8830096a69a5c6bd8f19aa454f5ba571ae6e
  - ApiOATHValidate: Inject services
    
    Change-Id: I0718e804ed255c4a174804f1576b46f83a0f3401
2025-09-23 11:39:42 +00:00
Taavi Väänänen
edb7760e3b Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to aa3bd6bafa5c355517e01ef9b36479690a1e1691
  - Backlink keys back to a module
    
    Adds a new API function to get the module that a particular key is
    registered for. This will allow replacing a bunch of User::getModule()
    calls with per-key equivalents, which is required so that a single user
    can have multiple key types enabled.
    
    Bug: T242031
    Depends-On: I6dffa329c923aab1bef59b4c2808a2ad15a6cb19
    Change-Id: Iae064c660bb04fee42df0892a5b53bdd8a7457ad
2025-09-23 11:25:37 +00:00
Taavi Väänänen
486cbc1f7b Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 6823c915324478b377177366c9cc035d341f8aa1
  - Allow injecting services to Modules
    
    And as a bonus tweak OATHModuleRegistry error handling.
    
    Change-Id: I4e3ca0092115e22ab7e7703e1682d68fbcc06af4
2025-09-23 11:24:53 +00:00
Translation updater bot
e3c1bee005 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to d85b666a8d7e9f3604a45ebca07694f616388286
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib4e0a7bbec537f26b08a4b82a99f456537247109
2025-09-23 06:50:48 +00:00
Translation updater bot
d251c37938 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to e1106da2830f08b2b1dff4abf22f1209568f44bf
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3f4985fc2423adb69efaa41703c9d9df275ad3ca
2025-09-23 06:50:45 +00:00
Translation updater bot
8546b29ca1 Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 6791d900ccbca8e86f33cb50ad717908f245dde2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie19414472397d29ced9844ef36e17d617b349b5d
2025-09-23 06:49:32 +00:00
Translation updater bot
c8519d68fa Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 797d2308f3859747477061a21fe6ad079086b9ac
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I328fd81900735bb6d905c0b8042424cf2b699faf
2025-09-23 06:49:28 +00:00