Commit graph

129102 commits

Author SHA1 Message Date
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
Translation updater bot
f28d250df6 Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to d61a7f29d005045eb0fc911557eb87405b804bee
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id695849347e52cd6ed06e6cc2294d8f0fac7b5f5
2025-09-02 06:44:07 +00:00
Translation updater bot
148ee713c5 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 6091e73aa19ef9b519691aafac995e8c15810db9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I465e5f87901e03d07650b33b2c1f92b573665226
2025-09-02 06:44:04 +00:00
Translation updater bot
952c11a394 Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to e7afcb6ed73b7c732e214f92efb7585caafb7a05
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I907b2353802b36d579891564496145f07330db3c
2025-09-02 06:44:02 +00:00
Translation updater bot
8b54ff646d Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to c75894779780ddac7761e3a27be4b0d791920363
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2c9c1210b29d9a499cde67a84c2076d9398ce552
2025-09-02 06:43:53 +00:00
Translation updater bot
51ee493a3f Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 1bde32f531680cc563942eff3d43f3b1afc00a24
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8af0ac242f83da2c25b83a75b3ef1b3dcf10c574
2025-09-02 06:43:30 +00:00
Translation updater bot
42211712ca
Localisation updates from https://translatewiki.net.
Change-Id: I31332ce8403db8e8fdaa95e15bd28999986f60cc
2025-09-02 07:33:06 +02:00
SecureLinkFixer updater bot
0cc52a9e18 Update git submodules
* Update extensions/SecureLinkFixer from branch 'REL1_43'
  to 6717f94de07fbdb295a0f801866d3c2d7c3ca461
  - Updating domains.php from Mozilla
    
    Change-Id: Iea35429e7cf6f2d71aeaea8870d44052ed9a910b
2025-08-28 17:43:52 +00:00
Reedy
ab53d152b8 Update git submodules
* Update extensions/SecureLinkFixer from branch 'REL1_43'
  to 8a4b1c3076cb9ed3b2370667cec0ece49026074b
  - ListFetcher: Update repo used for nsSTSPreloadList.inc
    
    https://github.com/mozilla/gecko-dev became readonly 2025-07-09
    
    Manually update domains.php to align with commit from the same date (2024-10-17):
    9fa53b45aa
    
    Bug: T403183
    Change-Id: I08c8d814eace89d6f9a20a6453d2b34167a5bf6e
    (cherry picked from commit a09f85ccb5365794d90898cd40ed73317314490e)
2025-08-28 16:35:28 +00:00
parvchannel
09c0986c8d Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 97da0309d941d51f440df1eeb2f5c244f4f46734
  - set the default url to an empty string
    
    Depends-On: I7ae299eb5d174dd0ed3169e4f3a81a71bd191d45
    Bug: T385811
    Change-Id: I4cb39780357e7cc3a253cb7d58e78e490239b31f
    (cherry picked from commit b3415e7a126106dd7445e4602a7971ea2bae5eec)
2025-08-28 15:58:55 +00:00
alex4401
849577a9b8 WebPHandler: Read all of the VP8L canvas height
In WebP lossless chunks (identified by VP8L), width-minus-1 and height-minus-1 of the canvas are sequentially encoded as 14-bit integers. (spec: https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#3_riff_header)

WebPHandler, when decoding the canvas height, has been skipping two most-significant bits. This results in bogus values being read from larger losslessly-encoded files.

Change-Id: Ib5b26f36a15fa65e7990da2ebd94157faccc70c2
(cherry picked from commit 442b73cebbea6db7b7fc945189d5776602fabc8a)
2025-08-26 12:21:30 +00:00
Maryum Styles
c2566f2164 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to dc8666dc4bc3c42a7b224848c0d287c9b47e06e4
  - Use standard reauth on Special:OATHManage
    
    Now that the ReauthenticateTime has been set to
    3600 seconds, Special:OATHManage no longer needs to
    set a special time for reauthentication and can
    use the default time
    
    Bug: T402094
    Change-Id: I9522ce2e78db8dc9b5904d8c099bbf78e0f5f5d7
    (cherry picked from commit dc706281f263f420127c40f5de91ddd95007089f)
2025-08-26 12:06:56 +00:00
Translation updater bot
60eb91629b Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to f895e348f5556e029a079831c663ec1e48e35bcc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib366aacdeed81d6d718f04b2630bc04f593f20a8
2025-08-26 06:54:06 +00:00