Commit graph

1148 commits

Author SHA1 Message Date
Reedy 2276363a99 Cleanup SchemaHooks and SQL files
* Move MySQL files into subfolder
* Simplify onLoadExtensionSchemaUpdates hook by using variable for dbType
* Document what MW version patches were added

Bug: T353922
Change-Id: I4b87481163121047619d173675747feef4d8ede1
2023-12-22 02:13:52 +00:00
Bartosz Dziewoński 46e44bc694 Ignore "exact match" title when the title is not given
Restore a check removed in 3b3729ad4d.

Bug: T353860
Change-Id: I4722596433247a751d736ae35d9e3af9ac9d94cb
2023-12-21 11:35:17 +01:00
Translation updater bot 50fd39fc10 Localisation updates from https://translatewiki.net.
Change-Id: I7b631b98ddf5d9d8e9b3cca5637db536bdf95aba
2023-12-18 18:17:58 +01:00
Isabelle Hurbain-Palatin 24155905cd Migrate Database.php to use QueryBuilders everywhere
Bug: T350977
Change-Id: I864c1e4880876b329ba0e8102e6c0f335a149491
2023-12-15 16:04:37 +01:00
jenkins-bot 91ff1af06b Merge "Replace addQuotes in ApiQueryLintErrors by expression builder" 2023-12-14 19:52:11 +00:00
Isabelle Hurbain-Palatin e3555039a0 Replace addQuotes in ApiQueryLintErrors by expression builder
Bug: T350977
Change-Id: I2ab0b83ed727a10861c4cfcf7d65142fc559e4af
2023-12-14 17:40:53 +01:00
jenkins-bot 846b2066de Merge "Update LintErrorPager to expression builder" 2023-12-14 15:07:14 +00:00
Isabelle Hurbain-Palatin 3b3729ad4d Update LintErrorPager to expression builder
Bug: T350977
Change-Id: Iee1726c93028219f9d360c5a485eb39f8c0a49ed
2023-12-14 14:43:41 +01:00
Umherirrender c730c0a9c8 Use ! condition instead of compare with false
Change-Id: I0f032169697b0227ade9644f754086f8bb4b9596
2023-12-12 16:38:17 +01:00
Translation updater bot d253d88d02 Localisation updates from https://translatewiki.net.
Change-Id: I92b54fe537eb6fb1d7efa72e57ff2bc7af20a94a
2023-12-05 09:15:08 +01:00
Translation updater bot 0117da69e7 Localisation updates from https://translatewiki.net.
Change-Id: Ie31172616ecf04da049d850967d7a53c569855b5
2023-12-04 09:04:43 +01:00
Translation updater bot 29a33e8007 Localisation updates from https://translatewiki.net.
Change-Id: I7f8eddf316395d631ee5d72685131bf1f48921fd
2023-11-27 08:32:35 +01:00
Reedy 76634af5b0 SpecialLintErrors: Minor cleanup
* Collapse a nested conditional
* Minor copy editing

Change-Id: I2875ec0dd9c44c896cad916feb8ed1f2bd514479
2023-11-26 21:34:26 +00:00
Translation updater bot 9c2bff933a Localisation updates from https://translatewiki.net.
Change-Id: I74ad145161e090e4177773cccb5fa6a5cbbee4c3
2023-11-17 08:52:48 +01:00
jenkins-bot 136e46cbf6 Merge "Update the namespace parameter name in the link in action=info pages" 2023-11-09 10:45:03 +00:00
Translation updater bot 14db55ffca Localisation updates from https://translatewiki.net.
Change-Id: Ic78787273c52d5b0261cca2da313bc7abe02f331
2023-11-08 13:07:50 +01:00
sbailey a3d0632c86 Update the namespace parameter name in the link in action=info pages
* url parameter 'namespace' changed to 'wpNamespaceRestrictions'

Bug: T231161
Change-Id: I904733ecb89fd855f7a338a6ef6d2a35a87c86d4
2023-11-07 19:04:45 +00:00
Translation updater bot 19e8a2b1f8 Localisation updates from https://translatewiki.net.
Change-Id: Id322cae01a9cfe2dc9d15449d8677eb2d0cff1cc
2023-11-07 09:08:08 +01:00
Translation updater bot 7732ea5c0b Localisation updates from https://translatewiki.net.
Change-Id: I4b62b6a993c8231d19aeba7747d953d183ba3d43
2023-11-02 09:59:11 +01:00
Translation updater bot 7f83032b9b Localisation updates from https://translatewiki.net.
Change-Id: I05500fa5969ca83cbdf40660bc19b2908b00cb30
2023-11-01 09:08:35 +01:00
Translation updater bot 282d70cc40 Localisation updates from https://translatewiki.net.
Change-Id: Ib09a79ceb852928444233aea1add65cdb4c1b444
2023-10-30 17:59:31 +01:00
sbailey dd0836d232 Implement multiple namespace selection for Linter filters
* Using namespacesmultiselect type in HTMLForm element to
   provide multiple namespace selection criteria in reports.

 * New namespace URL encoding implemented which matches namespace
   parameters against active namespaces to ensure parameter
   security and validation.

 * Test system updated to use new URL namespace encoding

Bug: T231161
Change-Id: Ic3190cffe259aecdea429c10e35122eabdbe10d4
2023-10-26 10:39:57 -07:00
Translation updater bot a92e02b1f9 Localisation updates from https://translatewiki.net.
Change-Id: Ifdd80c3cbdea1e4c99cd3f4e426ee2a1f6449976
2023-10-20 09:20:04 +02:00
Arlo Breault e978607d56 Remove ParserMigration association
Bug: T333179
Change-Id: Ifc6676c3f873aeb1655f3cb1b549a5dd55bc4d85
2023-10-13 12:33:26 -04:00
Translation updater bot 58c71a0136 Localisation updates from https://translatewiki.net.
Change-Id: I4ba1b3e128b752239600f9bd9662c9f4c9883f53
2023-10-02 10:57:38 +02:00
Translation updater bot f50ea5009f Localisation updates from https://translatewiki.net.
Change-Id: I87440467f78ff744e39984c68027c6d5872c5004
2023-09-22 08:47:04 +02:00
Translation updater bot 9b471c4e47 Localisation updates from https://translatewiki.net.
Change-Id: I320c5b7684711fed619266bf6ea9ce0ac1d022ef
2023-09-11 09:04:06 +02:00
Daimona Eaytoy 0ba87557d5 tests: Simplify creation of fixtures
Use the methods provided by MediaWikiIntegrationTestCase to more simply
create an existing test page. The manual user creation could be replaced
by getTestUser, but it turns out these tests don't really need a
specific account, so we can let IntegrationTestCase use whatever account
it wants to use.

Also remove @var annotations that can easily be inferred by the doc
comment on the relevant methods.

Change-Id: I8bfd0799b79721c7c9de0d2a10a97c498d192a15
2023-09-04 19:46:53 +02:00
Bartosz Dziewoński 8e5d85e6ee SpecialLintErrorsTest: Add @group Database
Several tests seem to require it.

Change-Id: I822e9185133edd6ab0e45dbd8d0d1cf17312e932
2023-09-04 19:21:08 +02:00
Translation updater bot 9e1792b0a8 Localisation updates from https://translatewiki.net.
Change-Id: I540843bbfc7543affea29ddb7b21eb149df7c51f
2023-09-04 08:44:14 +02:00
Translation updater bot 1f24e8a4dd Localisation updates from https://translatewiki.net.
Change-Id: I2a5e4f6b0db5aed3c378c51e0c2ecc76dde5d4d0
2023-08-30 08:44:51 +02:00
Translation updater bot fdd0489f4c Localisation updates from https://translatewiki.net.
Change-Id: Ide41471d9398f1997e87018250df194b36048fd3
2023-08-23 08:39:38 +02:00
gerritbot e181c2ef66 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: Id325b25e154b8b2bbd1d0b1d7b1c7830b40873f6
2023-08-19 12:37:07 +00:00
jenkins-bot 80d7abf928 Merge "build: Update MediaWiki requirement to 1.41" 2023-08-19 10:15:46 +00:00
James D. Forrester 8f835db814 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I5d392c7b35fae358522b8c09bf7844c508a430a4
2023-08-19 13:29:14 +08:00
James D. Forrester e143c30341 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I69d58367c129625a0b1159e92b4b30ec7b892a78
2023-08-19 13:29:08 +08:00
Translation updater bot 0fb924313a Localisation updates from https://translatewiki.net.
Change-Id: I6044fa187970f8b04c4b4292087085d1c37a18c5
2023-08-16 09:11:55 +02:00
Translation updater bot d5d8aef27e Localisation updates from https://translatewiki.net.
Change-Id: If837f0029c88a10dd29e226876e3d8e881607ca3
2023-08-14 09:17:57 +02:00
Translation updater bot 1959dd2adf Localisation updates from https://translatewiki.net.
Change-Id: Ia97ef5ef43db13f54ccf59147e275242b3faf1ce
2023-08-11 09:00:56 +02:00
Translation updater bot 699bec0a85 Localisation updates from https://translatewiki.net.
Change-Id: I886764db01681b9a65d986b7ff381905d8c0fa09
2023-08-10 09:41:11 +02:00
Translation updater bot 60508e644c Localisation updates from https://translatewiki.net.
Change-Id: I96149ea6e47d8ffe1bd3980265b0ad644ac9a4ac
2023-08-09 09:15:21 +02:00
Translation updater bot d031ad92b1 Localisation updates from https://translatewiki.net.
Change-Id: I1ee1c1fd5c19907bcd84ac1b8deedc17fe1cd895
2023-08-07 08:38:49 +02:00
jenkins-bot 3aee83fd9e Merge "Migrate ILB::getConnectionRef() calls to ILB::getConnection()" 2023-08-06 07:48:46 +00:00
Umherirrender 93552f7f1a Add apihelp message for list=linterrors&invisible-categories=
Bug: T342646
Follow-Up: I8397a24e85ca9f5a9ce6413dec5efa8c401a9960
Change-Id: Ief80d8524472051fc03aec75047fc7a2127aab26
2023-08-04 22:07:06 +02:00
gerritbot f6f734ef42 Migrate ILB::getConnectionRef() calls to ILB::getConnection()
Deprecated since 1.39 (I6e7544763bd)

Bug: T343277
Change-Id: I6921060a38a1956c198f7a1316bed45c0eafa307
2023-08-04 13:03:06 +00:00
Umherirrender 7009ca8390 Use a maintenance database connection to call fieldExists
IndexPager::$mDb is documented as IDatabase, that interface does not
implement fieldExists. To use the correct static types get a
IMaintainableDatabase instead from the load balancer and call
fieldExists

Bug: T343495
Change-Id: I6a07ff2115de781e26f272126a72a9fbdef30223
2023-08-04 11:56:02 +02:00
Translation updater bot 35a88c7816 Localisation updates from https://translatewiki.net.
Change-Id: I1f41cd1228bd7e205b14c9bed9d46e525a15207c
2023-08-02 09:04:25 +02:00
Translation updater bot f415595f10 Localisation updates from https://translatewiki.net.
Change-Id: Ifb94dd9b3844254711a869f24e0b58a5ffb8e796
2023-07-27 10:48:52 +02:00
Translation updater bot b5dbfb23c4 Localisation updates from https://translatewiki.net.
Change-Id: I02d3144121955f11bf6c2eb54a47d9e6736052ce
2023-07-24 09:38:26 +02:00
Translation updater bot aaba2f2f7f Localisation updates from https://translatewiki.net.
Change-Id: I962ca576405e884bb5cc3eb0494033f025602ace
2023-07-17 10:17:47 +02:00