sbailey
2a3d081d43
maintenance script for linter extension tag and template migration
...
* It should be safe to automatically run during wiki update on
3rd party wikis, and requires manual invocation on enwiki.
* The tag and template migrate for enwiki will be run by an admin
during a backport window so the process can be monitored and
may run for a day potentially.
Bug: T175177
Change-Id: I6ce30767300cc907639d72b34f7756f3d9563ca7
2022-12-09 12:02:10 -08:00
sbailey
350d677c5b
Phase 3 of T175177: Migrate linter_params into new fields
...
* The migrate code is designed to perform a one-time update of
linter_params JSON encoded template and tag information into
the new discrete template and tag text fields for use as
additional search criteria. The function can be restarted if
it is interrupted.
* It now uses configurable batching and sleep times between
batches to allow the database to do other work and replication
to occur without stressing infrastructure.
* The migrate code is only called by test code and needs to be
called one-time from a maintenance script.
Bug: T175177
Change-Id: Idc4ca88d4762bc7a3bcbc4e66c0f275562083867
2022-12-09 12:01:06 -08:00
jenkins-bot
9a46876e95
Merge "maintenance script to run linter extension namespace migration"
2022-12-08 16:06:25 +00:00
sbailey
fb5bd0fc92
maintenance script to run linter extension namespace migration
...
* It should be safe to automatically run during wiki update on
3rd party wikis, and requires manual invocation on enwiki
* The namespace migrate for enwiki will be run by an admin during
a backport window so the process can be monitored and may run
for a day potentially.
Bug: T299612
Change-Id: I19091a6f177e8b67d80c0b8f46782929d2e951d4
2022-12-07 07:54:19 -08:00
Translation updater bot
c7f5025de3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9af9743da0c6cc3d692cc67afd616e7dd6bf588d
2022-12-06 08:52:45 +01:00
jenkins-bot
374e9da67d
Merge "Phase 3 migrate code for namespace column add to Linter table"
2022-12-01 15:41:09 +00:00
Translation updater bot
1f37da70c0
Localisation updates from https://translatewiki.net .
...
Change-Id: I63d0e63b632dcd20783b9a8ba3aae7bda7b00f7c
2022-11-30 08:53:09 +01:00
Translation updater bot
1030f9c2fc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie9b9987a5d0a38cf20710abcc7af2fb9ac1ba293
2022-11-29 08:58:50 +01:00
sbailey
702ce215d0
Phase 3 migrate code for namespace column add to Linter table
...
* Migrates namespace info from the page tables page_namespace field
to the new linter table field linter_namespace. This duplication
of the namespace value was requested to greatly reduce the amount
of database activity required by the linter search and reporting
code.
* This patch has been prepared as a dark launch patch enabled with
config value LinterMigrateNamespaceStage and assumes that the
Linter table has had the linter_namespace column added to it,
and recording of the namespace field is already enabled and is
populating the namespace column.
* The migrate code now runnable from Linter/maintenance directory,
using migrateNamespace.php, which will be deployed in a separate
patch. The maintenance code creates an appropriate environment
to call migrateNamespace( in Database.php.
Bug: T299612
Change-Id: I73cb80729d6a5a8716fe93164ad1e42e6958d672
2022-11-28 08:07:54 -08:00
Translation updater bot
461827e2e6
Localisation updates from https://translatewiki.net .
...
Change-Id: Id4c4f9cbda2327726168454412822eb8254d38a4
2022-11-28 08:49:48 +01:00
Translation updater bot
babda020af
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba744a6e2698c7d96c87f282a8ee80da43337287
2022-11-22 08:33:59 +01:00
libraryupgrader
278a8aa4d6
build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
...
Change-Id: Iaebe730ffea80a0511e027f20f909320da6bbb4f
2022-11-16 08:54:23 +00:00
Translation updater bot
7af220720d
Localisation updates from https://translatewiki.net .
...
Change-Id: I29302b4952ac37a308277062211206edc2abce35
2022-11-04 09:03:09 +01:00
Translation updater bot
3bfe500fa1
Localisation updates from https://translatewiki.net .
...
Change-Id: If7e44827fddf9cec6db0f605cceb159ca76ab0be
2022-11-01 08:53:12 +01:00
Translation updater bot
910aca8e4d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibf834457f86f0161f23cdb4d6292d9d00dc85139
2022-10-31 09:46:03 +01:00
Translation updater bot
79713a02c5
Localisation updates from https://translatewiki.net .
...
Change-Id: I507fc523c18ef4eaede392a0add53e0b46201ccc
2022-10-27 08:55:22 +02:00
Translation updater bot
f02bbe4d05
Localisation updates from https://translatewiki.net .
...
Change-Id: I026bbf33223022dd7732b9d59aacf7b065386cee
2022-10-24 08:23:07 +02:00
libraryupgrader
160bce375d
build: Updating minimatch to 3.0.8
...
* https://github.com/advisories/GHSA-f8q6-p94x-37v3
Change-Id: I4ef3ba0626a24d344857870032340acc065c7f02
2022-10-21 07:25:18 +00:00
libraryupgrader
a41cb839f8
build: Updating mediawiki/mediawiki-phan-config to 0.12.0
...
Change-Id: Ifdffe53d5b98a160dcd95ae21dd471d2423fca90
2022-10-09 06:29:02 +00:00
libraryupgrader
512dbf9fc0
build: Updating grunt-banana-checker to 0.10.0
...
Change-Id: I7680346eed5f173909a33ae09c8ba1eafdc4f525
2022-10-06 07:28:20 +00:00
James D. Forrester
1f119cd5b1
ApiQueryLinterStats: Change the 'ls' prefix to 'lntrst' to avoid conflict
...
In practice this isn't a breaking change as no-one has any params to
re-name in callers.
Bug: T319202
Change-Id: Ic925e258ad3c2e194fd9f04f8afd255a9aa99e45
2022-10-03 12:06:55 -04:00
Translation updater bot
00819356f6
Localisation updates from https://translatewiki.net .
...
Change-Id: Id3d7e78b48416577c02b963bb983e21a53dbad31
2022-10-03 09:45:57 +02:00
Translation updater bot
5c44333291
Localisation updates from https://translatewiki.net .
...
Change-Id: I30360f6f2900650d488505f99684228865a18acf
2022-09-30 08:54:16 +02:00
Translation updater bot
bc541fdc20
Localisation updates from https://translatewiki.net .
...
Change-Id: I8722cd645201dc5251cb3cc13bc0c114a1014f6e
2022-09-28 08:21:59 +02:00
Translation updater bot
1a17bc7dc4
Localisation updates from https://translatewiki.net .
...
Change-Id: I9437c9216b7c431e9b0eb3770450ed8b72e0a9cd
2022-09-26 08:15:37 +02:00
Translation updater bot
b334b06404
Localisation updates from https://translatewiki.net .
...
Change-Id: I93d03f8f8c9cb7386269f8f062a1be6aa5d3b5dd
2022-09-22 08:46:27 +02:00
Translation updater bot
519371f9c2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib518ce4c9adc4a6d1878341647c6b57a4404546f
2022-09-21 08:29:07 +02:00
jenkins-bot
f998800cc2
Merge "Convert to HookHandler"
2022-09-19 20:49:13 +00:00
Translation updater bot
b88d3bad4e
Localisation updates from https://translatewiki.net .
...
Change-Id: I33cc0f51bb7d5f1209b3a833b0757a6e6395024f
2022-09-19 08:25:01 +02:00
Translation updater bot
349f24509b
Localisation updates from https://translatewiki.net .
...
Change-Id: Id2128be9692d154933862e56c0ce3cdab2349d3c
2022-09-12 09:36:44 +02:00
Translation updater bot
028d163912
Localisation updates from https://translatewiki.net .
...
Change-Id: I95b715ddf97f1b889496f2e3fe84a21004882b11
2022-09-09 10:10:28 +02:00
Reedy
1c526b7443
Convert to HookHandler
...
Change-Id: Ib8ad9a58e781f7dad4b047d170a8f689802c4bad
2022-09-07 02:58:04 +01:00
Reedy
89d3f6152b
Minor cleanup
...
Change-Id: I0b8abdbeaece73fe8759ee220b9a3aefce240e68
2022-09-07 02:48:18 +01:00
Translation updater bot
67f13d5cdd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibe4909c763e3d63499e3a3add043f8d6e504ea3d
2022-09-05 10:11:13 +02:00
Translation updater bot
fab281771c
Localisation updates from https://translatewiki.net .
...
Change-Id: I5c5622e370b5e116be00b1939d5920dae96b97fd
2022-09-01 09:34:01 +02:00
Translation updater bot
361632c1a4
Localisation updates from https://translatewiki.net .
...
Change-Id: I36cba50844c5039bc3dac905c0e611521c9bad44
2022-08-29 09:14:36 +02:00
Translation updater bot
e802e4cdf6
Localisation updates from https://translatewiki.net .
...
Change-Id: I23dc31060d5f840b3d08b2ade249fd61633e40b1
2022-08-25 08:26:34 +02:00
sbailey
b358b20dca
Second phase of T175177: Adds template and tag to RecordLintJob
...
Bug: T175177
Change-Id: I59be7cabb80ace98da3c7f6f36a0d3d4f6b17d23
2022-08-22 12:47:01 -07:00
Translation updater bot
a212f176d9
Localisation updates from https://translatewiki.net .
...
Change-Id: I4d96b2683e8a70f9a8686e9b427f54860a585150
2022-08-22 08:23:15 +02:00
Translation updater bot
60dfb189ba
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia5c05918e5174c82257287709af07e23c84b6a1c
2022-08-15 08:26:38 +02:00
Translation updater bot
c89d3c435f
Localisation updates from https://translatewiki.net .
...
Change-Id: I540fe0fb77969157a5153281f95ef8ca7e954974
2022-08-09 08:19:53 +02:00
Translation updater bot
d80bbe37fb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic457dd0f6fcf6e78af393535dcf87eed50f98890
2022-08-05 08:34:02 +02:00
Arlo Breault
8f043ce7e0
Disable flaky tests
...
These tests seem to be making false assumptions about the estimate
EXPLAIN returns.
Change-Id: I8ae90b2173aba5286727b9b85bdb67fbdfee1baf
2022-08-04 12:11:38 -04:00
Arlo Breault
0f46ed3dbc
Get config from services, not globals
...
If908c4dc99c966cde2981f9a03be38a577406a4e introduced the
wgLinterWriteNamespaceColumnStage global but didn't add it to the
extension.json
Change-Id: I8ee5849f67ddfd894a25425582b59404eb52aef2
2022-08-03 13:01:42 -04:00
Arlo Breault
f6607e8818
Stop using wfGetDB
...
This is pulled out of I59be7cabb80ace98da3c7f6f36a0d3d4f6b17d23
Change-Id: Iab6a47320995e9adb1666cd0bb728f516a2fde69
2022-08-02 14:40:30 -04:00
Translation updater bot
aae4e372a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I93696a87c21aadfb078b52dfde84669be7566253
2022-08-01 08:22:48 +02:00
Translation updater bot
69c9315a7e
Localisation updates from https://translatewiki.net .
...
Change-Id: Iebbf8b8940d38da327fa448114867641411d4a42
2022-07-27 08:26:22 +02:00
Translation updater bot
14dc1ec133
Localisation updates from https://translatewiki.net .
...
Change-Id: I2b7f5340c197c789faac353aa356fa0ff3c31a52
2022-07-25 08:37:24 +02:00
Translation updater bot
f0f778b07c
Localisation updates from https://translatewiki.net .
...
Change-Id: I450470a8331042c88f44d7090d4c39f3da7d2600
2022-07-18 08:15:11 +02:00
Translation updater bot
9513957bb0
Localisation updates from https://translatewiki.net .
...
Change-Id: I8bbe53db0b79d8c2f2960e3e0d26ce0b7da8fe1d
2022-07-15 08:44:33 +02:00