Commit graph

1232 commits

Author SHA1 Message Date
Msz2001 e2ce10d548 Translate special page name (LintErrors) into Polish
Change-Id: I220fb8e91bef512f23ea668ad2c1ce474462ffb9
2023-02-07 01:44:25 +00:00
Kunal Mehta cb84f3a872 Link to detailed Special:LintErrors from action=info
action=info has a summary table of number of lint errors by category,
but we have richer information available via Special:LintErrors. If
there is a "Lint errors" section, provide a link below the table to
Special:LintErrors for the errors on this page.

Update ApiRecordLint for the new Hooks constructor and leave a FIXME
to eliminate the coupling.

Bug: T301374
Change-Id: Ic1fcf42b50d1392ac53201ceb256691133cf62ff
2023-02-06 20:41:45 -05:00
Kunal Mehta b5a7aaf7e0 Move LoadExtensionSchemaUpdatesHook handler to separate class
This hook is not allowed to have a service, so before we can add
services to the main Hooks class, it needs to be split out.

Change-Id: Ia7b4b8bf7c91ebb851c5de9f0f54f56b0993bf83
2023-02-06 20:36:45 -05:00
Translation updater bot f38c88c1ce Localisation updates from https://translatewiki.net.
Change-Id: I97fb32d1feb9d5634d80c10c893588eee4fa3315
2023-02-06 08:45:24 +01:00
Translation updater bot c72260fa61 Localisation updates from https://translatewiki.net.
Change-Id: Iab78305c80403f3ba80e0af04deba3ba76ab392c
2023-02-03 08:47:57 +01:00
jenkins-bot 54752eb953 Merge "Fix linter table linter_params definition to not be nullable" 2023-01-30 08:42:04 +00:00
Translation updater bot 7d18c60cbf Localisation updates from https://translatewiki.net.
Change-Id: Ica698fa9699b49f5f82f5a55233cd19da454301d
2023-01-30 08:30:21 +01:00
sbailey abbcc17511 Fix linter table linter_params definition to not be nullable
* update all schema files to correct linter_params being set nullable by accident in
   2020 during abstract definition update

 * include hook to provide 3rd party support, use $updater->modifyExtensionField(

Bug: T327806
Change-Id: I7fea08280cf2fa7956e5b300dc3365dc3561ca52
2023-01-26 12:47:36 -08:00
Translation updater bot 74730c5943 Localisation updates from https://translatewiki.net.
Change-Id: I4d1939cb2f7730fb871ef080d563de7ca4abe1a7
2023-01-10 08:25:04 +01:00
Translation updater bot 5609854d75 Localisation updates from https://translatewiki.net.
Change-Id: I56889bc4940f2a93f8342ced4278967e2d71b867
2023-01-05 09:09:00 +01:00
Translation updater bot 233543ce53 Localisation updates from https://translatewiki.net.
Change-Id: I8baaec23ba854da12a526e30dbe8169f664233e4
2022-12-29 10:01:49 +01:00
Umherirrender eb31c6c4dc Replace deprecated HTMLForm::addHeaderText
Bug: T325474
Change-Id: If1a4b14b6cec480f600065c913cb1f27260fbc5f
2022-12-27 12:48:42 +01:00
Translation updater bot c1abd29656 Localisation updates from https://translatewiki.net.
Change-Id: Ia4acd32cf4103f1471ad4e783afc55d47c92b221
2022-12-26 09:10:14 +01:00
Translation updater bot a52faf181f Localisation updates from https://translatewiki.net.
Change-Id: Ib0ed4e182943361a29fa986fce52a6ff15b5ae91
2022-12-21 09:16:16 +01:00
jenkins-bot 97cef36597 Merge "maintenance script for linter extension tag and template migration" 2022-12-16 15:38:11 +00:00
jenkins-bot fcd45f8b58 Merge "Phase 3 of T175177: Migrate linter_params into new fields" 2022-12-16 15:38:08 +00:00
Translation updater bot 6580cd4f3f Localisation updates from https://translatewiki.net.
Change-Id: I6068546041abc2c139505baff220c5427154fdb2
2022-12-15 11:36:13 +01:00
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