Commit graph

1086 commits

Author SHA1 Message Date
gerritbot e4fafd1cf1 Update moved class FauxRequest
See T321882. Moved in I832b133aaf61ee

Bug: T321681
Change-Id: Ia110be1e079628b30fff5bfcc0a58b0cbf82a372
2023-05-19 10:24:44 +00:00
Translation updater bot 03a3987b87 Localisation updates from https://translatewiki.net.
Change-Id: Id770b646af5d4267877ba495ac0a8f34c805e4d8
2023-05-18 10:12:46 +02:00
Translation updater bot a22b10b8ca Localisation updates from https://translatewiki.net.
Change-Id: Id20d5e8eb35919a3458db8a1fee2358e65b27536
2023-05-15 08:33:00 +02:00
Translation updater bot 0e46660f93 Localisation updates from https://translatewiki.net.
Change-Id: I3d55a142bf9ed48d34422073a72f52cce3558bf9
2023-05-11 09:17:27 +02:00
Translation updater bot 12ca2e9361 Localisation updates from https://translatewiki.net.
Change-Id: I569c008c519e8bfd600db092c5b337f2774e2b33
2023-05-10 08:41:05 +02:00
Translation updater bot 45839e2080 Localisation updates from https://translatewiki.net.
Change-Id: I1b04df39e25ea2ce3ee39a8888b6800ee05a3555
2023-05-09 08:55:30 +02:00
Translation updater bot 54cc21bb5c Localisation updates from https://translatewiki.net.
Change-Id: I33e49ad409e2017bfbf034ff76c1198c2590ea1e
2023-05-08 10:32:20 +02:00
jenkins-bot 27acce48ed Merge "Unclosed tags in article headings" 2023-05-08 07:15:01 +00:00
Moh'd Khier Abualruz b9f1d478e2 Unclosed tags in article headings
- divide the 'missing-end-tag' into 2 categories:
 * 'missing-end-tag': kept the same ( minus the new category results)
 * 'missing-end-tag-in-heading': high priority

depends-on: I8397a24e85ca9f5a9ce6413dec5efa8c401a9960

Bug: T308398
Change-Id: I5738abd522bf5248e4b7b1255920055182e6261f
2023-05-05 12:57:21 +02:00
Translation updater bot 66ebe17b8d Localisation updates from https://translatewiki.net.
Change-Id: If4898b3383939cd3a3e928bdbce043badea499f0
2023-05-05 10:39:41 +02:00
jenkins-bot 9aa8b8fee2 Merge "Allow registration of hidden lint rules" 2023-05-04 19:31:39 +00:00
Moh'd Khier Abualruz d543552be9 Allow registration of hidden lint rules
Adding support for categories non, allowing access to category page without showing it in listing, in categories in teh special page

Bug: T334527
Change-Id: I8397a24e85ca9f5a9ce6413dec5efa8c401a9960
2023-05-04 10:41:05 -07:00
libraryupgrader 6b8b1de830 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I0464980c37d44a6646c3ff2a9fec3d69bf88ff6d
2023-05-04 05:30:51 +00:00
Translation updater bot 05ec11ee95 Localisation updates from https://translatewiki.net.
Change-Id: I9b4a39384edbc082364c9e3b0551954376af8d28
2023-05-03 08:43:45 +02:00
Moh'd Khier Abualruz 53918dd364 Create linting rule for large tables
depends-on: Ic25c50caf15423179e32ab1b4c0f0ab9f6c71cb3

Bug: T334528
Change-Id: I691a265aa1c3914c8cd9f3a63c2e8f8bfe92af0f
2023-05-02 19:21:10 +02:00
Translation updater bot 218c241c5b Localisation updates from https://translatewiki.net.
Change-Id: Iaaa4c1d3e5f97559ec507aeb35e89a84c70d48c1
2023-05-01 09:58:07 +02:00
libraryupgrader f6aafd6bc9 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Id35afd1e85ca339682831692e77fabe04a6fa517
2023-04-29 06:40:38 +00:00
gerritbot e1542b880a Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: I2d9e34bf9849c3ae05761f83031c806987b5991f
2023-04-25 09:54:08 +00:00
Translation updater bot b0259efb68 Localisation updates from https://translatewiki.net.
Change-Id: I8aff9bde3417c12f438f777bc012470f7561721a
2023-04-14 09:26:46 +02:00
Translation updater bot 78652dbf5f Localisation updates from https://translatewiki.net.
Change-Id: I0d50a44d573e8e0331a84a8592df0f4b2027b731
2023-04-11 09:14:00 +02:00
Raimond Spekking a78e469407 Merge "Localisation updates from https://translatewiki.net." 2023-04-10 12:35:04 +00:00
Translation updater bot e7d507e8b5 Localisation updates from https://translatewiki.net.
Change-Id: I693e7266a53ed8a81fcd345c70ffaa0edd675483
2023-04-10 09:45:56 +02:00
Translation updater bot f7730f9aa7 Localisation updates from https://translatewiki.net.
Change-Id: I33bd2944d6fb02f766bea9e1ca31b070082c4e9c
2023-04-10 09:21:56 +02:00
Translation updater bot abd0cdca7a Localisation updates from https://translatewiki.net.
Change-Id: I8505241bf8b4101eb62ad5a0a718c9d3c802e3b2
2023-04-05 09:08:04 +02:00
Translation updater bot a73ce9fe25 Localisation updates from https://translatewiki.net.
Change-Id: I1583583795fac391046b33644bb0c65e82c6586f
2023-03-30 09:02:02 +02:00
Translation updater bot 7e5d813f7e Localisation updates from https://translatewiki.net.
Change-Id: I6582d32f8c50c117c64d84437964804379b0221b
2023-03-28 08:40:37 +02:00
jenkins-bot 66b6aae1a8 Merge "Replace use of select or selectRow with QueryBuilder" 2023-03-25 15:19:44 +00:00
sbailey bef1042e69 Replace use of select or selectRow with QueryBuilder
* All database methods using old access methods converted to use
   queryBuilder except row counters

Bug: T312434
Change-Id: I8796adf63179c4505fbb76ab6fd71cf3775c9b89
2023-03-25 15:13:59 +00:00
libraryupgrader 055ade7cb6 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: Ie4bd357a940f7166f72ba3562b40259b36394eaa
2023-03-16 02:11:20 +00:00
Translation updater bot eea0d24d03 Localisation updates from https://translatewiki.net.
Change-Id: Iadcc2b0846623268863fb8f8f92cc89b28eada26
2023-03-15 08:50:03 +01:00
libraryupgrader a855e2f8e1 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I5cb9604b17c4dc771fb5375e65561e1c068f6820
2023-03-12 05:23:58 +00:00
Translation updater bot e1691bbc11 Localisation updates from https://translatewiki.net.
Change-Id: I0178963c4ca78b70097049c6cb2be08872af5423
2023-03-09 09:05:25 +01:00
Translation updater bot 4d7f1fe448 Localisation updates from https://translatewiki.net.
Change-Id: I7a56cfdffa8bc243b14138aa90e06b264644b862
2023-03-08 08:42:25 +01:00
Translation updater bot 0521181440 Localisation updates from https://translatewiki.net.
Change-Id: I638f28167abb015ad6a314c1523d1e7c629313d3
2023-03-07 08:45:33 +01:00
Translation updater bot b0fd26926e Localisation updates from https://translatewiki.net.
Change-Id: Ia412cca247baae086ad644309c4f8cf2708ab46c
2023-03-06 08:33:34 +01:00
Translation updater bot cf967642e4 Localisation updates from https://translatewiki.net.
Change-Id: Ic94f701a7656c903adc40cac97e75d42991bffa1
2023-03-03 09:32:12 +01:00
Translation updater bot f06e43c240 Localisation updates from https://translatewiki.net.
Change-Id: I632602fbbe8c94656c27e1a77639e4c60f9b9d8c
2023-03-03 08:48:24 +01:00
Translation updater bot 27ab0ff2fc Localisation updates from https://translatewiki.net.
Change-Id: Ided9143061285f3a3f2d35fcb2a9dc7d0de90c3d
2023-03-02 08:43:04 +01:00
Translation updater bot fd64cf1395 Localisation updates from https://translatewiki.net.
Change-Id: I9f0dcf81e2d530c33f58357e605e028bf1080a48
2023-03-01 08:24:24 +01:00
Translation updater bot b267ae6595 Localisation updates from https://translatewiki.net.
Change-Id: I9033e31b18bb92f340f3d17d0e089fe92554bfad
2023-02-28 08:29:12 +01:00
sbailey 6aa4cdeba9 Linter Tag and Template search feature, UI and report code
* Tag and Template search is enabled using config variable
   'LinterUserInterfaceTagAndTemplateStage' and also checks for
   the linter table column 'linter_tag' to exist to protect the
   report code from error if the column is absent. As the linter
   table alter maintenance added both the linter_tag and
   linter_template at the same time, there is no reason to check
   both. The user interface code does not check for the field
   presence only the config variable.

 * This code depends on the recordLintJob code writing the tag
   and template data which is enabled by the config variable
   'LinterWriteTagAndTemplateColumnsStage' and also assumes the
   data migration maintenance script migrateTagTemplate.php has
   been run to populate linter error records created prior to
   the table alter and the write code being enabled.

Bug: T175177
Change-Id: I2f951dfcd34e3dc6ca17e8754cfaeba8baa3e835
2023-02-27 06:55:06 -08:00
sbailey 499a1c3796 Use new linter_namespace column and index in the Linter table
* This performance improvement patch uses the namespace from the
   new field 'linter_namespace' in the linter table instead of
   the 'page_namespace' in the page table. It checks for and
   requires the presence of the linter_namespace field in the
   linter table, as well as the config variable
   'LinterUseNamaspaceColumnStage' being set true.

 * If the linter_namespace field is present and aforementioned
   config variable is true, the code assumes that the config
   variable 'LinterWriteNamespaceColumnStage' is set true and
   recording the linter_namespace for new lint errors is
   active and the migrateNamespace.php migrate code has been
   run to migrate the page_namespace data into existing linter
   records that were created before the linter_namespace column
   existed and were left NULL during the table alter maintenance
   operation.

 * A follow on patch should remove the configuration variables and
   conditional code producing the final, refactored code dependent
   on the new namespace column index.

Bug: T299612
Change-Id: I4a1497d9e4dcd6a9a7befdaccf3e34c61694365d
2023-02-24 06:54:08 -08:00
Translation updater bot 073b0913f9 Localisation updates from https://translatewiki.net.
Change-Id: Iff04a425cf7f9f7dd55d7eb63785c3c8d49af036
2023-02-22 09:00:58 +01:00
jenkins-bot f01ada78ae Merge "Remove API action=record-lint" 2023-02-21 19:30:40 +00:00
Kunal Mehta eaf2d26db8 Remove API action=record-lint
The action=record-lint was a hack that allowed Parsoid/JS to send data
to MediaWiki to be stored in the linter database. Thankfully we no
longer need it in the glorious Parsoid/PHP world because it can write
directly to the database.

The API module, i18n messages and $wgLinterSubmitterWhitelist are all
removed.

Bug: T329992
Change-Id: Iba70e05a2e28f4ecd02101cff51993ebe65f19d0
2023-02-20 20:44:00 -05:00
Translation updater bot 1610285468 Localisation updates from https://translatewiki.net.
Change-Id: I6074176ae3428910e9e36b5e0aead19fc323424a
2023-02-20 09:46:49 +01:00
Translation updater bot 1728fde678 Localisation updates from https://translatewiki.net.
Change-Id: I093eab9c98a4240f8fc110780805a6451538938a
2023-02-17 08:56:12 +01:00
sbailey d12bf639f6 Change linter maintenance scripts to use existing config varaibles
* Having separate config variables to enable the maintenance
   migrateNamespace and migrateTagTemplate scripts is duplicitous
   and should be shared with the write enable config variables.

Bug: T329342
Change-Id: I4cb453fc0678b065cb42a2ca59863da1ab9cdbe4
2023-02-14 09:43:54 -08:00
Translation updater bot bb89c3966e Localisation updates from https://translatewiki.net.
Change-Id: I082b800600776deb081e2daf26153172753df74d
2023-02-13 08:30:24 +01:00
Translation updater bot bcee4b9b3b Localisation updates from https://translatewiki.net.
Change-Id: I936065a659f413108e2b9272648cb92df24401c6
2023-02-10 08:44:03 +01:00