Commit graph

129164 commits

Author SHA1 Message Date
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
Translation updater bot
054e275ec9 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 987c0095d25cc6fdfa1fe682a840c04f007e63e8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic379e2d9b36b9850825e32f741fd4bf180ccf8a3
2025-09-02 06:46:39 +00:00
Translation updater bot
c823e2c678 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to 82edf090d2aea8627a537a24fa7b42ce7bfadb18
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7161256536c536525e2c0408de400590cf423110
2025-09-02 06:46:35 +00:00
Translation updater bot
e8c9d98e50 Update git submodules
* Update extensions/PdfHandler from branch 'REL1_43'
  to db0ace7a9e1111744ad0db8b7313d26907b22c2f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia060c0f29e596193b8ae83779685b843dbfbcacd
2025-09-02 06:46:11 +00:00
Translation updater bot
92d9fcd190 Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to 4d965b122c5e1a784faa9472f163c35d2036bd93
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibbb4ce68911d6d0147a8e3b8dcbd0928948e033c
2025-09-02 06:46:10 +00:00
Translation updater bot
7e298fe4a6 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 280ce0a1e08f4b3d136ca6e07e172f8c25f092dc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2992dda217da01f7c2a0d5f4185209bec1344551
2025-09-02 06:45:55 +00:00
Translation updater bot
ea0bae5047 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to be2198b192405c2d82e300f845ee835f6113f343
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0b78daa49915af85d13f8c93e6140d13957f6141
2025-09-02 06:45:49 +00:00
Translation updater bot
bffd25696e Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to b54a723a85650dd429d141f5ecc86268b1859d88
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib80129bb408ea508e9f2a672ef98fd40f2680fc1
2025-09-02 06:45:46 +00:00
Translation updater bot
04e6585d54 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to d55e47b2ab0d730f4b0791e63d5998d62575c3a1
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ia245e4b2ab72d93e27899da1a5601cbd8351f8ce
2025-09-02 06:45:38 +00:00
Translation updater bot
7684a111b9 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to a43bb065ed2bf264bd40dc98c44f4bf379be5e2e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Icd6012b731ee53c80c91439eb9bc5fc4c94bb6ca
2025-09-02 06:45:35 +00:00
Translation updater bot
dc11118e78 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 050919d3e49c485c356f60b3e6866105c31d40e7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3bd0e3688adeddb027c2c046ae325071b455bfe6
2025-09-02 06:45:17 +00:00
Translation updater bot
a0fd3c2b4b Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 9aba8882f1c481dd81b60e592fc9607681ebde4b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie341d0de29f5187d7dae20545e218c5eb2d16d65
2025-09-02 06:44:55 +00:00
Translation updater bot
6cc9ab10b3 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to c89643c94e9c0a86e4f89d9bc8f54736931386cc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic300d9ccdd098059d98e3031bb0e4b22ba33c5c5
2025-09-02 06:44:52 +00:00
Translation updater bot
215f7c050e Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to b6f02db4ae3fb6c485462698b6fdf7a77a0117a1
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2600907360958f693c5986d4f3d29b669b0e2066
2025-09-02 06:44:29 +00:00