Commit graph

129164 commits

Author SHA1 Message Date
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
Translation updater bot
79419a44c9 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 76da6580d69a76f08b3b792f70cf5e6dfa9d0266
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I93a6422470b86ae95947f1c0606344409de9e06e
2025-09-23 06:49:05 +00:00
Translation updater bot
e10f2f5d2b Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 9ecb7d2137664b7034b21c364a11b7be8c919598
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7f785ee91ebb77197879f024cf19adbf0b2e7c34
2025-09-23 06:49:04 +00:00
Translation updater bot
965201217a Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to ad3c7084074dce5a5725e5e454aceb4a2adf1e08
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I07c1720f7e8d36cf341c6baf27ebb6becf1b3c6b
2025-09-23 06:48:39 +00:00
Translation updater bot
1df97c8aa0 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 5cf4aa3b35535eaf7716d2e8c1df5866f036c08e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic6879439e95d20d432d77f7d707d682d0ffa1fb7
2025-09-23 06:48:34 +00:00
Translation updater bot
6027648cce Update git submodules
* Update extensions/LoginNotify from branch 'REL1_43'
  to 78d82f1c47581f417cb9603b61064dfac25042c0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I78a85bba97969c2202228cb6af57bea763aee57a
2025-09-23 06:48:31 +00:00
Translation updater bot
dc10775314 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 1f17a7f553e2db192177587b938323c6ff61ca06
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I60e612674c919726279e0d911ff2df1976960517
2025-09-23 06:48:30 +00:00
Translation updater bot
758bf057ec Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to d40e72fbc4421f4e872dcff5a8b30cbf1aeaf5c8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3d263126573e8d59073b253c1a2c50e5bc08fe0d
2025-09-23 06:48:11 +00:00
Translation updater bot
c380eb4aa2 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to fa663a91674df5611ad636a52bd5c474a1b91da3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7204e7a260069dd6e9ce88f2978f94dcd5d49df7
2025-09-23 06:48:02 +00:00
Translation updater bot
675b34db23 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to afcf393cf51decd21f521c0b21ddddf86a90ac57
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Icbb33683669eac996f83ac6b41400578672f7218
2025-09-23 06:48:01 +00:00
Translation updater bot
4447050f18 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 9b1fb3940f31049dadaa2af9c8f0178d485cfc1e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7f2f8dbc5912f74946ebb710f1aad62a293e366c
2025-09-23 06:47:38 +00:00
Translation updater bot
cdb79270f8 Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to 97bb077f5362c323fd2990b9674acbb32ca9940e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8c6fc1cd357dfec47df423781573ba49e9babc2f
2025-09-23 06:47:34 +00:00
Translation updater bot
1a392bc55c Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 67deb0d45747ccb790d6a8bb0dfedb4f9242a92a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I16d4bdd55907bacdda9189ee18e1e380b09f8286
2025-09-23 06:47:30 +00:00
Translation updater bot
ce58d8964b Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 82c4c7cead69a0e7cd856453ad44fbdc33c0283f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifabd57de1d1e9f96e94899901de3a0474aa3f46a
2025-09-23 06:47:29 +00:00
Translation updater bot
57c3139dc0 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 54404edb0ec52e4095c3b66775b3fe24e737eda3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1127b835083927efc9da7c9633c546ef1876faef
2025-09-23 06:47:23 +00:00
Translation updater bot
a64e399367 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 6a8897924d8eae87b84b9b3da9d47f57849000fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie1e32f54bbbac1c464c0cfabe0fde38c3207baff
2025-09-23 06:47:02 +00:00
Translation updater bot
1edbae3e15
Localisation updates from https://translatewiki.net.
Change-Id: Ibe346447933f8cf9cd70e8473214bca694797fef
2025-09-23 07:35:01 +02:00
Reedy
520e15cd94 RELEASE-NOTES-1.43: Update
Change-Id: I029190bc36c8a75f9def52e23b23f8b5c824d13d
2025-09-22 13:53:39 +00:00
Timo Tijhof
2029b5fd53 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 4ee6bc43c7a8311d773053c4ab7ffe545d4dbcad
  - tests: Remove unused "ext.echo.mobile" dependency from unit test
    
    This prevents the Echo unit tests from working in CI when an
    extension depends on Echo but not MobileFrontend. Normally, we'd
    fix this by skipping relevant tests, but in this case there are no
    relevant tests.
    
    Follows-up I2f923e509d (T342907) which removed the
    test_NotificationBadge.js file, but left behind this unused
    "ext.echo.mobile" dependency.
    
    Follows-up Ie4a87f3b80 (T299780), which fixed a similar issue before:
    
    > The test for `ext.echo.mobile` in particular though was never
    > executed in CI specifically because:
    > > Undefined module: 'mobile.startup'
    
    Bug: T389998
    Change-Id: I6360a6e1d0d599611718a1e171159f52949d1a56
    (cherry picked from commit dd8b29beddef3f6077f97443b15ed18e7718ab5f)
2025-09-17 13:43:10 +00:00
Translation updater bot
a4ed0d1fca Localisation updates from https://translatewiki.net.
Change-Id: I0375777c20ee002afcf444d1892cd85e49530303
2025-09-17 05:43:58 +00:00
Antoine Musso
acaa3a63a7 tests: add skins to PHPUnit "extensions:unit" test suite
When running tests, there is no need to differentiate between extensions
and skins. When generating coverage, CI uses extensions:unit and
skins:unit, they only differ by the paths they filter.

This change extensions:unit to no more filter path, it would then
discover tests under $IP/skins/.  In CI, this will let us switch skins
to use the same job used by extensions therefore simplifying the stack.

Bug: T395470
Bug: T402398
Change-Id: Ifaeb8c2e278acca89a92187ac39a6c0e1eb503f9
(cherry picked from commit 515e35d5b0b3e66e63f8209447aa3888b18a442f)
2025-09-17 01:03:38 +00:00
Dreamy Jazz
f749c4e9eb Skip 'ext.pageviewinfo' module in ResourcesTest to avoid CI failure
Why:
* The release branches of MediaWiki have their PHPUnit tests fail
  in WMF CI because the 'ext.pageviewinfo' module from PageViewInfo
  fails to be validated due to the missing Graph extension
  dependency
* To unblock CI on the release branches, we should just skip any
  tests on this module.
** This is hacky, but there isn't a way for an extension to tell
   ResourcesTest that it's module should be skipped for tests

What:
* Update ResourcesTest::getAllModules to skip tests on the
  'ext.pageviewinfo' module

Bug: T404729
Change-Id: I34d7a1b4769811968e61b3d022cff95e37e7a987
2025-09-16 15:13:58 +00:00
Translation updater bot
f8429ea137 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 897b393f719522b8a26edbf65bfb9f69c12c377f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I19af0c0bdb341611ec226dce8e73ae6dd8cb2a75
2025-09-16 06:51:08 +00:00
Translation updater bot
cba963d528 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 2d1ab02e18feb0ecd36b6e93167b54bd327d750f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I24958bc2ab1dd5275fee660ee8ee179c3bd9ab36
2025-09-16 06:51:07 +00:00
Translation updater bot
0f4576819e Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 12df20285d232207beb0fc900cf25f87b72ec783
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If10fd09950ac516c1a0dc49569b4e89f21c7bb1c
2025-09-16 06:49:24 +00:00
Translation updater bot
0a86b70293 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 7048111b64854139b57123a7c77e1cad65cfec15
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I349d6bf7d89542822c4a3992874ff508beb34b8d
2025-09-16 06:49:12 +00:00
Translation updater bot
fcc2618136 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 01bd784430053843a4e73a0ed97a33e3b0c57c4c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2cc0d0c2f7f3c0e3972f92a6983b7b716fbacd94
2025-09-16 06:48:52 +00:00
Translation updater bot
a4feac5a2a Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to c444263d054ece78c499505822750f655f15c422
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie43439c53b6fd748d90e4714f6a728df16bcaab2
2025-09-16 06:48:29 +00:00
Translation updater bot
37e065577b Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 5157239d23ea60c905879a28a63932aca777ab1b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I486ac9e8d2df138ec210d6a3fb9cf3f95739df46
2025-09-16 06:48:17 +00:00