* Update extensions/Nuke from branch 'REL1_43'
to 79b168a74cdc379bd6099efb3a510d3d286305fb
- Localisation updates from https://translatewiki.net.
Change-Id: I4b98110b6e9bd29a9eacc66cc4e65b8127742d24
* Update extensions/Math from branch 'REL1_43'
to 9bdf88a7a971d5b30b50c17a88f592320780f107
- Localisation updates from https://translatewiki.net.
Change-Id: Ic04f84810ca71410ca480fb9c16880b2d67a9085
* Update extensions/InputBox from branch 'REL1_43'
to 0f9f87177b79490019650ae0e6965397d08ad299
- Localisation updates from https://translatewiki.net.
Change-Id: If91fedcac6475514972c5508bf43934fbd4d9cae
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 54908a917b43cee8f3f473ad97f5d5b6758b4861
- Localisation updates from https://translatewiki.net.
Change-Id: I40be83cd67657a901944ed432cd84f3c046088d9
* Update extensions/DiscussionTools from branch 'REL1_43'
to 3f25bcc823c0fa09a8d604fb436daa06ddb244df
- Localisation updates from https://translatewiki.net.
Change-Id: Ia98dc81c3ea460ab88339d9a22d8e7b19656a46a
* Update extensions/Echo from branch 'REL1_43'
to fb8fe7bf4096a40e7a000d9a25264ab4d101bdb3
- Localisation updates from https://translatewiki.net.
Change-Id: I419cfc9dcbe24416c384260668beff75b3563d0c
* Update extensions/CiteThisPage from branch 'REL1_43'
to 8db01cb5b59cd647ddc178127bc0c365e609dbc6
- Localisation updates from https://translatewiki.net.
Change-Id: Ib2ba0e6671cb5ddce444c97b9d9ee842e881d998
* Update extensions/Cite from branch 'REL1_43'
to 99f2c99c9d8a27cedfadc1d3e3ff71d9c73e0076
- Localisation updates from https://translatewiki.net.
Change-Id: Iee5b3446b8eb91e4ded2f1ea9e3d7dac66d817ed
* Update extensions/AbuseFilter from branch 'REL1_43'
to 309c87a224ff278d57d4cb25420fec3bba8abe7a
- Localisation updates from https://translatewiki.net.
Change-Id: I9c22244bc450c78e5509fe1f223692b601dbbc98
* 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)
* 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)
* 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)
* 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)
* Update extensions/SecureLinkFixer from branch 'REL1_43'
to d7ffecb943c6f43c992f29bce3977be6d1298b03
- Updating domains.php from Mozilla
Change-Id: I7966190849dec262e75906d4e1deb107125ee64a
* 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)
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)
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)
* 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)
* 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)
* Update extensions/OATHAuth from branch 'REL1_43'
to a8c75338a5abe48a727fd498da7b2e0ffe688dbd
- Mark OATHUser::getModule() as deprecated
Bug: T242031
Change-Id: Iff8c459f391938848bc80ac288f0c41e3e627abc
* Update extensions/OATHAuth from branch 'REL1_43'
to c5191316484de480ed151190be24feec81877819
- OATHManage: Drop use of OATHUser::getModule()
Bug: T242031
Change-Id: Idb71e383e18f9fc7948aed12e9bd32ce511f4aa7
* 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
* Update extensions/OATHAuth from branch 'REL1_43'
to 4035ebce6361c19025074eee14d5a6cd156f0670
- OATHUser: Use UserIdentity where applicable
Depends-on: I562d6347f34691f1717d92b476618108af3de956
Change-Id: If0147e03ab7b7f43e6a261b673350317193389c1
* Update extensions/OATHAuth from branch 'REL1_43'
to 575646a7f223c1310fe4aceaa2063339ef2634d7
- Rename Special:OATHAuth to Special:AccountSecurity for en and zh
Bug: T401771
Change-Id: If9cfc192944e32b5ab968ed160603bd43314a723
* 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
* Update extensions/OATHAuth from branch 'REL1_43'
to 2d129e97d3f74862fb73ef2f3e25f587ffc0c655
- OATHManager: Look up user details in execute() instead of constructor
Change-Id: I5db5d7e49553c30f4a76c01d39955821c6f82df6
* Update extensions/OATHAuth from branch 'REL1_43'
to 913e1d4085fad285ab627dd9261ddff97f0509b8
- ApiOATHValidate: Remove use of getModule()
Change-Id: I5fee274e792f087aedf30259069203d8e1f24d10
* 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
* 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
* Update skins/MinervaNeue from branch 'REL1_43'
to d85b666a8d7e9f3604a45ebca07694f616388286
- Localisation updates from https://translatewiki.net.
Change-Id: Ib4e0a7bbec537f26b08a4b82a99f456537247109
* Update skins/Vector from branch 'REL1_43'
to e1106da2830f08b2b1dff4abf22f1209568f44bf
- Localisation updates from https://translatewiki.net.
Change-Id: I3f4985fc2423adb69efaa41703c9d9df275ad3ca
* Update extensions/VisualEditor from branch 'REL1_43'
to 6791d900ccbca8e86f33cb50ad717908f245dde2
- Localisation updates from https://translatewiki.net.
Change-Id: Ie19414472397d29ced9844ef36e17d617b349b5d
* Update extensions/WikiEditor from branch 'REL1_43'
to 797d2308f3859747477061a21fe6ad079086b9ac
- Localisation updates from https://translatewiki.net.
Change-Id: I328fd81900735bb6d905c0b8042424cf2b699faf
* Update extensions/Thanks from branch 'REL1_43'
to 76da6580d69a76f08b3b792f70cf5e6dfa9d0266
- Localisation updates from https://translatewiki.net.
Change-Id: I93a6422470b86ae95947f1c0606344409de9e06e
* Update extensions/Scribunto from branch 'REL1_43'
to 9ecb7d2137664b7034b21c364a11b7be8c919598
- Localisation updates from https://translatewiki.net.
Change-Id: I7f785ee91ebb77197879f024cf19adbf0b2e7c34
* Update extensions/OATHAuth from branch 'REL1_43'
to ad3c7084074dce5a5725e5e454aceb4a2adf1e08
- Localisation updates from https://translatewiki.net.
Change-Id: I07c1720f7e8d36cf341c6baf27ebb6becf1b3c6b
* Update extensions/Linter from branch 'REL1_43'
to 5cf4aa3b35535eaf7716d2e8c1df5866f036c08e
- Localisation updates from https://translatewiki.net.
Change-Id: Ic6879439e95d20d432d77f7d707d682d0ffa1fb7
* Update extensions/LoginNotify from branch 'REL1_43'
to 78d82f1c47581f417cb9603b61064dfac25042c0
- Localisation updates from https://translatewiki.net.
Change-Id: I78a85bba97969c2202228cb6af57bea763aee57a
* Update extensions/InputBox from branch 'REL1_43'
to 1f17a7f553e2db192177587b938323c6ff61ca06
- Localisation updates from https://translatewiki.net.
Change-Id: I60e612674c919726279e0d911ff2df1976960517