C. Scott Ananian
d71a297781
[DI] Use dependency injection for ApiQueryLinterStats
...
Change-Id: I5f5d3a226a9f7b733a6f07200216a1192115b102
2024-04-04 18:43:13 -04:00
C. Scott Ananian
d8970278d1
[DI] Use dependency injection for SpecialLintErrors
...
Change-Id: I211d70d5fb4a321cf302cc10f6e160480468a347
2024-04-04 18:43:10 -04:00
Arlo Breault
6304fc5e08
Stop exposing hidden categories in siteinfo
...
Suppresses them from ?action=query&meta=siteinfo
Bug: T334527
Change-Id: I325e78e438a8385948071d2b4ba8a8c4407d5fc4
2024-04-04 16:04:39 -04:00
Arlo Breault
8d49b68ba5
Move Database::updateStats to TotalsLookup
...
Database::updateStats moved to Database from RecordLintJob in
I2610b9b16d4032b0e18b3537cc9ed51bfdaff299 for reuse in Hooks but seems
better placed on TotalsLookup.
Change-Id: I600853e5cfc9e8abae9c6b07cee4c2adc37ef464
2024-04-02 17:12:24 -04:00
Arlo Breault
397b36e8e3
Don't include hidden category counts in page info
...
Bug: T337275
Bug: T334527
Change-Id: I6439df894c06fc5592422e72dac04150591f4033
2024-04-02 15:12:19 -04:00
Translation updater bot
632d7095d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I2921f5913add767066f7be55ac440df6312781e0
2024-04-02 09:21:39 +02:00
Arlo Breault
d6514cfa3b
Fix invisible categories in ApiQueryLintErrors
...
Invisible categories are permitted as categories, just not part of the
default set. 'invisible-categories' is removed, since it never worked.
Bug: T360064
Bug: T334527
Change-Id: Ie6b7a6d83349cbd2899e78bc18cc1629d710c6f0
2024-04-01 21:43:24 -04:00
jenkins-bot
77f1e1766d
Merge "[i18n] Update missing linter-pager-*-details messages"
2024-04-01 21:46:56 +00:00
Umherirrender
91848725e7
Replace isset() with null check in HtmlTags
...
Found usage of isset() on expression self::$allowedHtmlTags that appears
to be always set. isset() should only be used to suppress errors. Check
whether the expression is null instead.
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset
Change-Id: I21483aab05292cfb802ff6a5e63013ecc02f5c13
2024-04-01 13:47:54 +02:00
Translation updater bot
2c9b5f0356
Localisation updates from https://translatewiki.net .
...
Change-Id: I1eed4e610ead78ee5b547edd9c7f464f8f9a8ecb
2024-04-01 09:22:50 +02:00
C. Scott Ananian
a15cb4766f
[i18n] Update missing linter-pager-*-details messages
...
Several linter categories were missing l10n strings for the
corresponding linter-pager-*-details message. I also re-alphabetized
the keys.
Change-Id: Id61923e74de7e2b082b30b885dc32a47b5a29dc5
2024-03-29 18:14:00 -04:00
Translation updater bot
2dbf89b9d9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf059d5cbea42a3e14ea99e8ae0aa0faaade5330
2024-03-28 08:32:13 +01:00
Translation updater bot
5c009688f8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie5c5be51cf912aa16ca3e3bbeea74839cde82c51
2024-03-27 08:17:48 +01:00
Tim Starling
4dd75df2e8
Fix index usage when searching for page titles
...
When searching for a specific page title, it's necessary to specify
page_namespace, not just linter_namespace, so that the relevant index in
the page table can be used.
Submitting the form with an empty namespace box led to a search for
namespace zero, because getCheck() returns true for an empty string.
It's not easy to search for a title part in all namespaces. So drop
that hidden feature and interpret a title part with a missing namespace
as being a search for namespace 0.
It's possible to search for a category with an empty title and zero or
more namespaces. Implement the namespace filter in this case using the
linter_namespace field. But ignore the namespace filter if there is no
category, since there is no index on linter_namespace alone.
Bug: T360865
Change-Id: I00934eaaf1a99e4098f177166b43069d33d9f137
2024-03-27 11:44:59 +11:00
Arlo Breault
c90267575c
Update lint category help links
...
Bug: T360793
Change-Id: I4a7b0d0200d2af5c6768db91d0883c7fc483d8dc
2024-03-22 14:14:38 -04:00
Translation updater bot
d5fd2cd7d1
Localisation updates from https://translatewiki.net .
...
Change-Id: I2856dad54aef460fd79edf1cce0dbf9f6754e3fb
2024-03-22 08:44:50 +01:00
jenkins-bot
37780cd3ec
Merge "Revert "Revert "Add inline background color"""
2024-03-20 19:47:19 +00:00
C. Scott Ananian
24ef2e9cdb
Revert "Revert "Add inline background color""
...
This reverts commit e2c7746818
.
Reason for revert: Culprit is actually on the Parsoid side (reporting a new linter type before the Linter extension knows about it, transiently during deploy) and this revert makes that problem worse not better.
Change-Id: Ib0c1fab8b8e9536e90591a58da673931f5bddf4c
2024-03-20 19:43:10 +00:00
jenkins-bot
07dada4794
Merge "Revert "Add inline background color""
2024-03-20 19:22:46 +00:00
Jdrewniak
e2c7746818
Revert "Add inline background color"
...
This reverts commit d08fb459c0
.
Reason for revert: Might have caused T360565
Change-Id: I408d6eeb2a2789a284d45f879c77ea1e9936ff7c
Bug: T360565
2024-03-20 19:18:54 +00:00
Translation updater bot
a6b6dfb86a
Localisation updates from https://translatewiki.net .
...
Change-Id: If866989fee1e5ae1180d2915287da5ffe2a56df5
2024-03-20 08:23:58 +01:00
Translation updater bot
9a336a9b0f
Localisation updates from https://translatewiki.net .
...
Change-Id: I66c215ba6aed85d24e9aa6f4954af19e78eee8ea
2024-03-18 08:31:17 +01:00
Translation updater bot
dc8edc8064
Localisation updates from https://translatewiki.net .
...
Change-Id: I542be77b6d9bc6efe4ac240d3aea78c4b24dd93f
2024-03-14 09:03:22 +01:00
jenkins-bot
1ec12943e9
Merge "Add inline background color"
2024-03-13 19:35:14 +00:00
Umherirrender
9555edce6c
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
...
Change-Id: I0a022343428d4b41d2c3c00a6f48eeb237c76fac
2024-03-11 20:44:04 +01:00
Translation updater bot
4b7e490299
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie7c50d78ba256f16d0ebf8e0734cfda880f72e1b
2024-03-11 08:27:19 +01:00
ksarabia
d08fb459c0
Add inline background color
...
*This adds inline background color linter
Bug: T359205
Change-Id: Ic0a66bdd8ae784c8e048cdba60bcfa11e3f96d20
2024-03-07 17:55:07 +00:00
Translation updater bot
b4e6c3e38d
Localisation updates from https://translatewiki.net .
...
Change-Id: I79d519e497799fcec79e823a66371e8082efa7f2
2024-03-01 08:33:27 +01:00
Translation updater bot
ac428b36a3
Localisation updates from https://translatewiki.net .
...
Change-Id: I1099161e298e29f0949fc8eed7df55b68bf0b32f
2024-02-23 08:44:46 +01:00
Translation updater bot
1b312f2cec
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia2c9e988daf4d5db796fc333c603475fee070534
2024-02-21 08:35:49 +01:00
jenkins-bot
c1cf86af3b
Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()"
2024-02-17 02:36:03 +00:00
Bartosz Dziewoński
8fe89c1c35
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
...
Bug: T343994
Change-Id: Icf148a1a9b10e568f48d0ef478f781d243a9345a
2024-02-17 02:58:49 +01:00
libraryupgrader
fa24bc16e1
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0
npm:
* grunt-banana-checker: 0.11.0 → 0.11.1
Change-Id: I7dbb4861df50848b803babe3dab10811adc3faae
2024-02-10 22:20:52 +00:00
libraryupgrader
4143a127f8
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0
Change-Id: I36f06107dfa3a9b18ca4db06bfb96d29260bcd2e
2024-02-09 07:00:35 +00:00
Translation updater bot
d25a991f34
Localisation updates from https://translatewiki.net .
...
Change-Id: I792510411b0a89ee652740d0a9c50f13575d8172
2024-02-05 08:49:59 +01:00
libraryupgrader
d222b6c9ad
build: Updating npm dependencies
...
* eslint-plugin-compat: 4.0.2 → 4.2.0
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
* https://github.com/advisories/GHSA-j8xg-fqg3-53r7
Change-Id: I405bd7b0f03beb4c838a07a5459bed7d31c0eb2a
2024-02-04 03:07:57 +00:00
Translation updater bot
ab45cafca7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib02967836506474b5c0b648a5702d7069deada06
2024-01-31 08:29:16 +01:00
Translation updater bot
ff902e591e
Localisation updates from https://translatewiki.net .
...
Change-Id: I6741e4538f52c9301c091217c97a0e208058836c
2024-01-30 09:39:19 +01:00
Translation updater bot
46fa9452ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic8cbd57c799bc995ed0ea363c989330fa56757f1
2024-01-28 16:07:15 +01:00
Translation updater bot
7f7c0cca13
Localisation updates from https://translatewiki.net .
...
Change-Id: Id5425b494f4aa8011a7628cb18a6b53b63ce3fed
2024-01-15 08:24:47 +01:00
Translation updater bot
599bdb6b5c
Localisation updates from https://translatewiki.net .
...
Change-Id: I4079c1d164788f8d5d7f148046aa5e36d6fb234b
2024-01-11 10:04:51 +01:00
jenkins-bot
af48028cca
Merge "Enable "missing end tag in heading" error in LintErrors"
2024-01-09 20:17:34 +00:00
sbailey
8bac609d00
Enable "missing end tag in heading" error in LintErrors
...
* Seems reasoable to enable this category, it has been in the
database and accessible through Quarry reports for months.
Bug: T341369
Change-Id: Id80a0c02b5948ba9bdc56e762b781d764844afcb
2024-01-09 15:13:32 -05:00
Umherirrender
6c10926920
Use namespaced classes
...
This requires 1.42 for some new names
Done automatically via script
Change-Id: Idaad9e8d165a6bd202b96bbb657deb710cca4c54
2024-01-06 17:03:30 +01:00
Translation updater bot
8efd27674b
Localisation updates from https://translatewiki.net .
...
Change-Id: I422ff8a559a8aaa06f07aaca1ab208870af6e4c2
2024-01-04 09:55:54 +01:00
Translation updater bot
bb1b2e69c1
Localisation updates from https://translatewiki.net .
...
Change-Id: I7a0956678a7022f116186f8f73ad02368c4439ea
2023-12-29 19:22:19 +01:00
Translation updater bot
307ca34711
Localisation updates from https://translatewiki.net .
...
Change-Id: I4cf5c59659f692c03161ef8a1b56fb3578ff7bb4
2023-12-26 14:43:05 +01:00
Translation updater bot
86ad0b65f0
Localisation updates from https://translatewiki.net .
...
Change-Id: I636b3cebe58e16e43fc9b19d0d7c304f0760d67b
2023-12-22 17:46:15 +01:00
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