Commit graph

129127 commits

Author SHA1 Message Date
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
Translation updater bot
7cdcbd93f4 Update git submodules
* Update extensions/ImageMap from branch 'REL1_43'
  to b484437d9fdd868ac1e58097c5aa2f92753696e4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I92a5364db5e002ebdcc22929598c11c2f74b7a09
2025-09-16 06:48:11 +00:00
Translation updater bot
324c31509a Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to d6e780f599d19955c6a486a694af4a4e4009dcc2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iba67e26fbd0a9364bae54810f79f3830ce79d910
2025-09-16 06:48:11 +00:00
Translation updater bot
69bf0d8852 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to a2e94cbc212c1ac0755d5cc8e0832935d095919f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I57e091e05c09ef6bd70f7e5f2646dbeb46f4aa98
2025-09-16 06:47:50 +00:00
Translation updater bot
e35d854447 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 4733d326f244ad43f789afedc8f0ca7a7b0b5fd4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6968a35f2afc2c6c34c76b42731624fb63b8f6e1
2025-09-16 06:47:45 +00:00
Translation updater bot
bb9cf733ad Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 506bcd6857a453122ab17b9429cf15fe42b9bd06
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2127fbe9dcc156366563ec8ccb40922f06951047
2025-09-16 06:47:39 +00:00
Translation updater bot
f9a6d0889b Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to c27569ce0cd1be8d276d8cf98265d0e2b38055ca
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If80ed34c9541d0467356b93f40cf628f5a7cc807
2025-09-16 06:47:23 +00:00
Translation updater bot
a7a6bb927c Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 6cf99576501f81dab7eeedc0ef3561b4a999e1b6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I66348560f9438efae05ee0ad720a4a7c9f001140
2025-09-16 06:47:18 +00:00
Translation updater bot
4584440867 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 1a464f922f28b686280545ea113de7c20e1654fd
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib5ceb6e8d9362d7743a2d781e72f40916e858151
2025-09-16 06:47:02 +00:00
Func
6677a9ce4b DeletedContribsPager: Use the UserIdentity object instead of the raw target string
Fixed the query for imported actors and some other potential edge cases.

Unsetting the 'target' field in SpecialDeletedContributions alone should
be sufficient, but I would rather like to keep the behaviour the same
with ContribsPager, which is used by more users and using
`$this->targetUser->getName()` is known to be ok so far.

Also, renamed some variables to match the parent class method signature
to avoid confusion.

Bug: T372444
Bug: T404230
Change-Id: I318ec7f30174087f988536f5196ff81e99241c9b
(cherry picked from commit dda0d4dfcd712b976e542cd688a3ab1c45051e7d)
2025-09-14 09:47:56 +08:00
C. Scott Ananian
600f5a4010 Forward-compat data for SelserContext w/ JSON-encoded Content
As per the procedure outlined at
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility
this patch adds the serialization data for SelserContext emitted
after I0cc1fc1b7403674467d85618b38a3b5a4718b66e is merged, demonstrating
forward-compatibility in the case of rollback.

Depends-On: I544625136088164561b9169a63aed7450cce82f5
Change-Id: Iee05eff6c4094dea4fa0a5462b40a3c1fbfcb501
(cherry-picked from commit 36783b1a9cd38ded876683e0d4a82be34475a2f0)
2025-09-10 14:08:31 -04:00
C. Scott Ananian
e9539efe2c Use JsonCodec to serialize SelserContext
This cleans up a FIXME left over from
I9e6b924d62ccc3312f5c70989477da1e2f21c86b.

SimpleParsoidOutputStashTest was temporary changed from a unit test to
an integration test, since the serialization/deserialization mechanism
for Content relies on ContentHandlerFactory in a way which is
difficult to unit test.  This will be restored in
I0cc1fc1b7403674467d85618b38a3b5a4718b66e once native JSON
serialization for Content is landed.

Follows-Up: I9e6b924d62ccc3312f5c70989477da1e2f21c86b
Change-Id: If985e99f9ca9596d0fe40f0a5ef2cdb72286627d
(cherry picked from commit 2ebf7e12df28f9861bb204ff4134871089a1c771)
2025-09-10 14:08:31 -04:00
C. Scott Ananian
3b9cb6bd21 Forward-compatibility serialization data for SelserContext
According to the procedure outlined at
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility
this patch adds the serialization data for SelserContext emitted
after If985e99f9ca9596d0fe40f0a5ef2cdb72286627d is merged, and demonstrates
forward compatibility in the case of rollback.

Change-Id: Ie80238944df9e35062ef4dce203934d12ea0914a
(cherry picked from commit e3096ef07742a70ddf591a1547aac2e00795edd3)
2025-09-10 17:24:10 +00:00
C. Scott Ananian
7b307d726d SimpleParsoidOutputStash: add serialization test cases
The '1.44' test data is the current serialization output.

The '1.44_native' test data is the output after
I9e6b924d62ccc3312f5c70989477da1e2f21c86b which uses native PageBundle
serialization.  This is to establish forward-compatibility using the
procedure described at
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility

Change-Id: I8d53ff3e9c600cce16a0fc07f3665a91e5d8036b
(cherry picked from commit 9f6ee7ef03b2c3657aff60e81c4a0c17599cdc46)
2025-09-09 14:26:59 +00:00
Paweł Świszcz
d60147af25 Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to 313bd538255f7a4c11d199cda5694519764bdc61
  - fix: TypeError: Unsupported operand types: int + string (T403241) for $inPos = "- 1"
    
    Bug: T403241
    Change-Id: Icd4ee10930c6643ec5128de3204dcdbc0c608c8a
    (cherry picked from commit 3a1e45e2c63bd785247aae093e3f251eb2ce6aac)
2025-09-09 11:55:46 +00:00
Translation updater bot
df82eb15b7 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to ac833943611f7a3a234f37a0c615af3a0281c5f1
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibe794599dd3492fc159ea27d8b08b9c08598fddd
2025-09-09 06:25:08 +00:00
Translation updater bot
d5eb23392a Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to d1710097735359e570a85fb34b0c4f581c80e0b2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2f2d53159a9e011da2a0ba8c5b7a3f4efb29e332
2025-09-09 06:23:53 +00:00
Translation updater bot
3190d8bc60 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 0d69064814cce7f6dfd6e0dae6ce06dc80d69717
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie47bf07fed9ade2b2de7490487a99322fa863c13
2025-09-09 06:23:20 +00:00
Translation updater bot
930e23bb33 Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to c3006d2803afa6118abe615e68e56f74b1996398
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4db68ecedea40bb4a98e1401fbbe3d0a9ecb59de
2025-09-09 06:23:02 +00:00
Translation updater bot
907156a180 Update git submodules
* Update extensions/PdfHandler from branch 'REL1_43'
  to 545011573a7494a51e82e2f945e4db25b2287538
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3ac4bff60bf5530bd300696b908553a98caef22b
2025-09-09 06:22:39 +00:00
Translation updater bot
61e5f33227 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 74acad587110367aaba00cb854c677b53cb4f7c9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If383f9ada7c200437eeea17d49b8b12a401f1316
2025-09-09 06:22:38 +00:00
Translation updater bot
de58b7b6ae Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to e38d832d8519cd5ed2c68ad9166f6fbae1de7459
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4183999b0581142db04eb249939495e1d5f47c6c
2025-09-09 06:22:36 +00:00
Translation updater bot
96fd2d15e9 Update git submodules
* Update extensions/LoginNotify from branch 'REL1_43'
  to 92e7f6f5cc1f1f12fe40f313c157e801d6042735
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8366372a885a515dc3d0265105440aa6d45f016c
2025-09-09 06:22:13 +00:00
Translation updater bot
4da9727210 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 3c50742f279f0ff0f031ea5e8d14e872f96fc45f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5da0067d6f4972f42e992f64859742b8f8b50ef1
2025-09-09 06:22:11 +00:00
Translation updater bot
c72ca2dee8 Update git submodules
* Update extensions/ImageMap from branch 'REL1_43'
  to f9ef41979b9656d61fb44c9c6b2959e648ee2d5c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I58ae2f64dc60d8952737e068457425e09e256e64
2025-09-09 06:22:02 +00:00
Translation updater bot
971bf57932 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 530530fe494b15201f2887f944cd25973ae0373d
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I789eca1cb403683f9f22a85330fca2cb9f9b2ac6
2025-09-09 06:21:53 +00:00
Translation updater bot
95cf9c3e22 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 74bac9af422e8b4b68b0b8e953bcff0af284289f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If8114f5971f25f45878c437e722a11fc7d265404
2025-09-09 06:21:27 +00:00
Translation updater bot
665125ff82 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 82d8637b893e30b56561a48505784221f0b73cc3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic67b6b69bc1cba4ef4384d7fe886a68f5fee538f
2025-09-09 06:21:25 +00:00
Translation updater bot
db19e0dc07 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to d57add26410d9eba34db3c2966157e39feb51680
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3ea0745118fb91aa749193fbefe38f7bc9712c14
2025-09-09 06:21:13 +00:00
Translation updater bot
8cbd47f3e0 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 4b7d6e4ca2557996d4f58b6a4afe29bcc5316212
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib216a42cd0d531aecac2a66ebb38129a6b290cde
2025-09-09 06:20:20 +00:00
Translation updater bot
04a84a5c44
Localisation updates from https://translatewiki.net.
Change-Id: Ifdbee20a025a7d39c54b965c312d6a0c7d52faa3
2025-09-09 07:32:43 +02:00
Func
2373e95db7 maintenance: Fix SQL range for moveToExternal
Follow-up to commit fea5c2f, which changed from using `BETWEEN` to
expression builder and broke this.

Change-Id: If2686bb547420fa2f12b41adcff69db5611e6428
2025-09-08 20:41:33 +00:00
C. Scott Ananian
df9756b9a1 Make Content JsonCodecable
By default this uses the existing ContentHandler::serializeContent() and
::unserializeContent() methods.  But in cases where existing PHP
serialization preserved fields that ::serializeContent() did not,
provide an additional ContentHandler::serializeContentToJsonArray()
and ContentHandler::deserializeContentFromJsonArray() methods which
can be used.  Use these in WikitextContentHandler to preserve the
PST flags.

Added test cases and a ContentSerializationTestTrait to make it
easy to ensure forward- and backward-compatibility in accord with

https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility

The new JsonCodecable codec will be used to improve PageEditStashContent
serialization, which no longer has to PHP-serialize its Content object.
New test case added demonstrating compatibility.

Bug: T264389
Bug: T161647
Change-Id: I544625136088164561b9169a63aed7450cce82f5
(cherry picked from commit 21576d6c1893079777a1a51d0f81c4941c58e376)
2025-09-05 16:12:09 -04:00
Kosta Harlan
71fea78777 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 7f55833333be8161756f1be86127b2bb51fb56dd
  - Hooks: Add missing action in onEditFilterMergedContent
    
    Why:
    
    - We need to specify that the action is `edit` so that per-action
      Captcha class configuration can function properly
    
    What:
    
    - Specify `CaptchaTriggers::EDIT` when obtaining SimpleCaptcha in the
      onEditFilterMergedContent hook
    
    Follows-Up: Idc47bdae8007da938f31e1c0f33e9be4813f41d7
    Change-Id: Idc160daf4506528d96c1e9101d74f4edbeebf58d
    (cherry picked from commit e6caa3a857bf0432e81db8f0a041cc99759fc874)
2025-09-04 17:17:27 +00:00
Translation updater bot
f07bc66188 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 8e27b31f72496028495eccf319471e9785237817
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8a8fda7ea3def1edc73ebd5397a5f441864fc10d
2025-09-02 06:48:58 +00:00
Translation updater bot
302965c61e Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to b345fb329d2a56e24410c97e858d4dbbda9bec84
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I25c98e2d1b0903a252048fea9e5266d0743f07db
2025-09-02 06:47:23 +00:00
Translation updater bot
6db219933a Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to c1c842fe11fb75579ae361365d880bdab1eb0f55
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iaba96f67d5ec2b390a144f6197f3462c03691fcb
2025-09-02 06:47:20 +00:00
Translation updater bot
e4a78b0338 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to b3cf1b830c4aef8e0eee71ccdaba14c0dd356c72
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie5dfb3aa4f20c57e81bd0a8427d50e260e131130
2025-09-02 06:46:43 +00:00