* Update extensions/WikiEditor from branch 'REL1_43'
to 668a9ae0d567d28ab82533f63e9107d89e289421
- Localisation updates from https://translatewiki.net.
Change-Id: Ibd99d922aa275f6882ea88705c2a411f03cc7905
* Update extensions/TitleBlacklist from branch 'REL1_43'
to f4860fe5efbf5fab7260dc2af1490ca9ecbe2aeb
- Localisation updates from https://translatewiki.net.
Change-Id: I46c410f4332864f03c506f05abbb64376527ee02
* Update extensions/Thanks from branch 'REL1_43'
to b2baee710a3e7d2b9b28b78cade4077348537a2e
- Localisation updates from https://translatewiki.net.
Change-Id: Ib3cc2ac8bf0c109f5dff6c74d28f553fdfa8611a
* Update extensions/TextExtracts from branch 'REL1_43'
to 273dcfbace0a1b018876adaf4294a541972dc5cd
- Localisation updates from https://translatewiki.net.
Change-Id: I65a20a2def398fad69dfab6c3694a0b7f5426898
* Update extensions/TemplateData from branch 'REL1_43'
to edb9922eebbb743fbcafee80e0e03a05f38e3e87
- Localisation updates from https://translatewiki.net.
Change-Id: Ia7bafadfe4277d0abc185153ec3d3df3ce5d8596
* Update extensions/SpamBlacklist from branch 'REL1_43'
to b293eb55c6a0a2ac73759741ede7acc5bc5dad1b
- Localisation updates from https://translatewiki.net.
Change-Id: I88aaf1b4056c1ff2b11242e70b6ab8ca589118b4
* Update extensions/PageImages from branch 'REL1_43'
to 36794241028ff2cdb43476d453516bb486923391
- Localisation updates from https://translatewiki.net.
Change-Id: I8a34e8702c66cd926e8e728a05eb7a3eaa6b8476
* Update extensions/Nuke from branch 'REL1_43'
to 5b372fccf7581e6f9d88f1407ce29307e5593f0d
- Localisation updates from https://translatewiki.net.
Change-Id: If9327498288aabb96ac18becebd9ec38e80a0985
* Update extensions/MultimediaViewer from branch 'REL1_43'
to fa281f47e698dccb53243d33f045c597ed64d859
- Localisation updates from https://translatewiki.net.
Change-Id: Ide820d64b8cc690837e0f28782e2df33a32a9c22
* Update extensions/Math from branch 'REL1_43'
to bc019b90ce63820660fc2eca7c3fe2499b694b05
- Localisation updates from https://translatewiki.net.
Change-Id: I1294f32370d3a577c46cf59f2640d49c8e9dc8fe
* Update extensions/Linter from branch 'REL1_43'
to 82a282ffa2a98d25d79e7486c9139d82ab2eb7a7
- Localisation updates from https://translatewiki.net.
Change-Id: I3ae55ea74d723962ca1e32938388a90bfdaaafcc
* Update extensions/LoginNotify from branch 'REL1_43'
to 6ead73513e28511b296ae55f08ca785457eba89e
- Localisation updates from https://translatewiki.net.
Change-Id: I3ae55ea74d723962ca1e32938388a90bfdaaafcc
* Update extensions/ImageMap from branch 'REL1_43'
to 757a82efee9be763aa053651658a188ba3c00aa1
- Localisation updates from https://translatewiki.net.
Change-Id: I591bbc01f5f9a2e1b1052bf2a22f8cb1dbade79c
* Update extensions/Gadgets from branch 'REL1_43'
to 622e41b45e5beca3d8884d23ec165294af1a24b2
- Localisation updates from https://translatewiki.net.
Change-Id: Icd01c578c7472ec759cd84659160c7f88321b946
* Update extensions/Echo from branch 'REL1_43'
to ca7be2cf530b895c306d0530b9d1df79c7ed3660
- Localisation updates from https://translatewiki.net.
Change-Id: I372d0f8514ebfe0d0bc990b70680f7f5c9617f2e
* Update extensions/DiscussionTools from branch 'REL1_43'
to 5f59dc1c68462afa5beb6673d04047d4633230f1
- Localisation updates from https://translatewiki.net.
Change-Id: I48944ca863a7cc67300fef4bcd2d4cfb82b53e87
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 16cd01f1191ba75a36647a11e2c37413110db5d3
- Localisation updates from https://translatewiki.net.
Change-Id: I4c8dcca0496849673a8abfe894b7ac2e8f4d8aad
* Update extensions/CodeEditor from branch 'REL1_43'
to 0ca5fa45f54d4ca75af1fb1a43defcee8b0ff304
- Localisation updates from https://translatewiki.net.
Change-Id: Ic0ca86dcfb7b26b1d01c22e7d7266c4e6e882a36
* Update extensions/CiteThisPage from branch 'REL1_43'
to bb1d9e36549a4eca7144c97ff330da29b9de2138
- Localisation updates from https://translatewiki.net.
Change-Id: Ic1be9d95a37cb4bf1a8ce0a486317c4edf7784ec
* Update extensions/CategoryTree from branch 'REL1_43'
to a3ef6648eae994b79c7eb468140b01b83314439e
- Localisation updates from https://translatewiki.net.
Change-Id: I055844035b00f2b2a7c0ad9295ae3f9345eb55d9
* Update extensions/Cite from branch 'REL1_43'
to 94035f6b6efa7a7c81a63ee2dbca7b280c58aff6
- Localisation updates from https://translatewiki.net.
Change-Id: Ic1be9d95a37cb4bf1a8ce0a486317c4edf7784ec
* Update extensions/AbuseFilter from branch 'REL1_43'
to 9d8147a7c167a32f28204c1e7beb9dcf94d00225
- Localisation updates from https://translatewiki.net.
Change-Id: Ic04a4739f8a942f6b89992f0c6f39ef8952e6785
When there are more files as the batch size,
the script loops as the where condition is not changed.
Bug: T401088
Change-Id: Ic52ea24de0bd68db9e7d84e2f1b1067b20c2836d
(cherry picked from commit 9a162bff8add74a1b797cf0769b8601d440cc231)
* Update extensions/Math from branch 'REL1_43'
to 5d3ae4779bbf37958b52416807e1bc25eacec2b8
- tests: Re-enable and fix ParserIntegrationTests
MediaWiki's PHPUnit runner requires files to be named `*Test.php`.
As this file had the plural 'Tests' it was not being run.
Rename the file, so that it will be picked up.
See Ia2e4ccb3c for confirmation this was not being run in CI.
Change-Id: Ia2a665ece48e1684a7e5be1c2b40d4e7e52ee624
(cherry picked from commit 6821391a9e0fe9b09c22e0c1b7d03d389232c44f)
* Update skins/Vector from branch 'REL1_43'
to a27f0a634e55ac04a35d78caabab40092cd18814
- Localisation updates from https://translatewiki.net.
Change-Id: Iff78e5953646780b9b334af95cea59c12fca6d16
* Update skins/MinervaNeue from branch 'REL1_43'
to 5b4f42a3a8f6a5ba91e987a0e3b5559f7e60fdc6
- Localisation updates from https://translatewiki.net.
Change-Id: I064ff830a70d14984f3cf7163018b71c8fa6dbbb
* Update skins/Timeless from branch 'REL1_43'
to bce7b5ac3286ef04cea139a38433ab697177abcd
- Localisation updates from https://translatewiki.net.
Change-Id: I948e5ef6da3258f3d865733d2c75e771a0027868
* Update extensions/VisualEditor from branch 'REL1_43'
to f724f2d1e74dbd8f2c949e2f9fabde1f96419353
- Localisation updates from https://translatewiki.net.
Change-Id: Ic994616888a495f519460864fc6822fc619fd727
* Update extensions/WikiEditor from branch 'REL1_43'
to ed85f3e1e8b68cb52ca5b006bbba04f7f03d6fee
- Localisation updates from https://translatewiki.net.
Change-Id: Ib02825d178cdc7ead3ddbbd7736563108e198b7f
* Update extensions/Thanks from branch 'REL1_43'
to 264f1b764b9e746728fe88cf19b17139d5cc0bfe
- Localisation updates from https://translatewiki.net.
Change-Id: I4d527e293e38ce4ac07fccee9c6ea7f43420ac70
* Update extensions/TemplateData from branch 'REL1_43'
to 9598305826f891b77c04aa6d0625626b556245a3
- Localisation updates from https://translatewiki.net.
Change-Id: I5b67be8ef604a074240b850147fc1cdbb13779bf
* Update extensions/Scribunto from branch 'REL1_43'
to d3e2f152cf35156d2456bb4a68ed1f440aefbdc2
- Localisation updates from https://translatewiki.net.
Change-Id: Ie5287eeb973e3c0aef394ba0bbb20c293bf03906
* Update extensions/OATHAuth from branch 'REL1_43'
to 935d00490d33f512aab7ce7758f4bf610ae5c7f5
- Localisation updates from https://translatewiki.net.
Change-Id: I4faf221f94c0e4c43445f5cb4d61f290a1da24ba
* Update extensions/MultimediaViewer from branch 'REL1_43'
to ab607da2f3a67fc14c00191f9f3c18f6b7faf2db
- Localisation updates from https://translatewiki.net.
Change-Id: I1af84cf5ba37d1506af2e09d5247298ea0300973
* Update extensions/Math from branch 'REL1_43'
to db5ed89bf64485ae1bb4a4c51377c70978bc5eca
- Localisation updates from https://translatewiki.net.
Change-Id: Ic9df2cbc7b5bd9cdc86f24aa5c84167de0ea1568
* Update extensions/InputBox from branch 'REL1_43'
to 4409fd6b992dd6d6ae36ebd5a8e61b8f3c8137da
- Localisation updates from https://translatewiki.net.
Change-Id: I0157fe1cfd05192071c0442cb7d156641ba35ddf
* Update extensions/Gadgets from branch 'REL1_43'
to f5d36ad75548d2b49d3a075126164e27794728da
- Localisation updates from https://translatewiki.net.
Change-Id: I5ec85f90e0ab32962f178cf6273225853b014dc8
* Update extensions/DiscussionTools from branch 'REL1_43'
to 7f4a790269fd8a72bceee394cad48d6e82faea20
- Localisation updates from https://translatewiki.net.
Change-Id: I8d6d484e9dbabba9a91d5623d5752d4342c58b6f
* Update extensions/Echo from branch 'REL1_43'
to d579fa91c0750c1ad5b5fd3ba6de4ac2faad1202
- Localisation updates from https://translatewiki.net.
Change-Id: Id0d04ac7212bf224779e5546cd8aa02888c99ea5
* Update extensions/ConfirmEdit from branch 'REL1_43'
to cf19bc6a5d2a4e973604d17bca45018c3718c59e
- Localisation updates from https://translatewiki.net.
Change-Id: Ia826960b098193612babdc21056d56af4c5f30ce
* Update extensions/CiteThisPage from branch 'REL1_43'
to a7d76948d26a5d54d87cdeb0d1c99d1eca5cee26
- Localisation updates from https://translatewiki.net.
Change-Id: I7aaaf3964d82a4e1bfda7cbf9928c94331a58c91
* Update extensions/Cite from branch 'REL1_43'
to 7af8aaaf8a6714c58182da0d91164b0639363f14
- Localisation updates from https://translatewiki.net.
Change-Id: I086ac61bda5105a12052f3111b802dd4b832e350
* Update extensions/CategoryTree from branch 'REL1_43'
to 7b47feb098e78f32b5e6e862a65181780adc26f8
- Localisation updates from https://translatewiki.net.
Change-Id: I275736c025b558626dd02b671522ae340ce36826
* Update extensions/AbuseFilter from branch 'REL1_43'
to bb1819024a8e469bba4ae9447ef6c38f5c9b4bb6
- Localisation updates from https://translatewiki.net.
Change-Id: Ie4cdbb75177e418bacf634a55b406f8a34e7b6fd
* Update extensions/Math from branch 'REL1_43'
to 182d50eca5cf1fc31d65d41f4f1127c1b8608633
- Move OperatorDictionary to texutil
Change-Id: Ib6dd53e814b9f7329056400d689a005d68f81323
(cherry picked from commit 9fe55dbb6f6e244325ff030170c10479d6709261)
Why:
- From MediaWiki 1.36 to MediaWiki 1.44 (inclusive),
`PostgresUpdater.php` contains a typo in the instruction to rename
the `sites_group` index to `site_group`.
- This typo means that - on Postgres wikis - the MediaWiki update
script will not currently rename this index as intended, as the index
which the updater is told to rename (i.e., containing the typo)
doesn't exist.
- From MediaWiki 1.42 onwards, this typo indirectly causes `update.php`
on Postgres wikis to throw an error on its first run:
- From MW 1.42 onwards, the update script included an instruction to
drop multiple indexes on the `sites` table, including this index
that was previously intended to be renamed.
- However, as this typo meant that the `sites_group` index was never
renamed on Postgres wikis, the database is unable to find the
renamed index in order to drop it; and consequently throws an
error (reported on Phabricator as T374042).
- This only affects the first run of `update.php` due to the fact
that - when deciding whether to apply the patch containing _all_ of
the index-drops for the `sites` table - the `dropIndex` instruction
only checks for the existence of the `site_type` index (and, if the
`site_type` index doesn't exist, the patch as a whole isn't applied).
However, as - within `patch-sites-drop_indexes.sql` - the statement
to drop the `site_type` index is located _before_ the instruction to
drop the `site_group` index, the `site_type` index will have been
dropped on the first run of `update.php`.
- This also means that - on any future runs of `update.php` - the
indexes listed after (and including) `site_group` in that SQL file
will currently remain un-dropped.
What:
- Fix the typo in the PostgresUpdater index renaming instruction:
`'sites_group, '` -> `'sites_group'`
- Update PostgresUpdater to individually re-attempt to drop the indexes
listed after & including `site_group` in
`patch-sites-drop_indexes.sql`, to ensure that they're dropped on
Postgres wikis that have already (1) upgraded to MW 1.42+, & (2) ran
`update.php`.
(These could theoretically have all been combined within one extra
SQL patch, rather than one for each index; but I thought it might be
best for the updater to check for the existence of each of these
indexes individually before it attempts to drop each one.)
Follows-up 9907b56c9b, 616744db1d
Bug: T374042
Change-Id: Ie6ffa92153e64ca653f726a35a5a6b5d95d093f5