Commit graph

1232 commits

Author SHA1 Message Date
Translation updater bot 4db0593062
Localisation updates from https://translatewiki.net.
Change-Id: I046f7d045a60e3acdd7c5bd7ed2da4b8a08f574e
2024-09-05 08:05:58 +02:00
libraryupgrader 191892752e build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: Ib8974311e3c4436898e033f365d4a96e2a2c18e6
2024-08-27 05:36:12 +00:00
Translation updater bot 2a42dd128a
Localisation updates from https://translatewiki.net.
Change-Id: I2743f028c554b4cf6a96777ba479ffdd789f6b25
2024-08-22 08:34:03 +02:00
Translation updater bot c921a7a5de
Localisation updates from https://translatewiki.net.
Change-Id: I12fb5e2e1819f620667462160ee9409e7abfcd10
2024-08-15 08:00:50 +02:00
Translation updater bot 90dd2b6e27
Localisation updates from https://translatewiki.net.
Change-Id: I4a1b823b81a7397ba0ba88cb9727a94b06431206
2024-08-08 08:09:04 +02:00
Translation updater bot 84384e32fa
Localisation updates from https://translatewiki.net.
Change-Id: I670630bc08a27790259c14e55969f0c7c9d2fae9
2024-08-01 07:55:13 +02:00
Translation updater bot f5f6c8d2bb
Localisation updates from https://translatewiki.net.
Change-Id: Id5bc6e4e9d778e5dd95b03ab7d5c8c0d3c014acb
2024-07-25 08:25:22 +02:00
Translation updater bot 722902b024
Localisation updates from https://translatewiki.net.
Change-Id: Ic00a75a58d04704d718d0bfa4bd674cfe415fa7b
2024-07-11 08:04:43 +02:00
Translation updater bot d924717e72
Localisation updates from https://translatewiki.net.
Change-Id: I3635995fd5315aad0d3ec3abc6fc0a7466b88483
2024-07-04 08:33:49 +02:00
Translation updater bot 1c9349c585
Localisation updates from https://translatewiki.net.
Change-Id: If5e50571650e54758d27fe93040f367cf8602400
2024-06-20 08:45:02 +02:00
libraryupgrader 6fa9d9f451 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: Ifb3d57d83126f47515271fbbb52076cda4f6cfa1
2024-06-15 05:47:25 +00:00
Translation updater bot 92446f2fcf
Localisation updates from https://translatewiki.net.
Change-Id: I3056f7346cc81032962f2bfdaf2fec78da686a3c
2024-06-13 08:38:28 +02:00
Translation updater bot b079cd92bf Localisation updates from https://translatewiki.net.
Change-Id: Ieb0e3379fd62678569e5693d6877c2378a031207
2024-06-06 08:40:16 +02:00
Translation updater bot fdf9ea9180 Localisation updates from https://translatewiki.net.
Change-Id: Idd359e9ddd051e87fc25cb7647c706e1832be2b7
2024-05-30 09:12:51 +02:00
Translation updater bot f5c69b62c9 Localisation updates from https://translatewiki.net.
Change-Id: I1d6da10794ca6b8556ba13fcee5aff1200bf6dc5
2024-05-23 08:40:29 +02:00
Translation updater bot e88b00833c Localisation updates from https://translatewiki.net.
Change-Id: I0938ae95d24bf44b53d880e68dd7faffd5fa00ab
2024-05-16 08:30:59 +02:00
Translation updater bot b900cc67ef Localisation updates from https://translatewiki.net.
Change-Id: Iab0102ca0214d45303e2eccbf881e0e78f2624f7
2024-05-09 08:08:18 +02:00
Translation updater bot 3fbb3fdbc8 Localisation updates from https://translatewiki.net.
Change-Id: If996590903183cfecf238d966d87f0ed90868b41
2024-05-02 08:11:31 +02:00
anterdc99 b017032ba6
Linter: Add special page aliases for Chinese variants
Change-Id: Idb78f2d0c930ee2fc52fc13de164f7230c7cb819
(cherry picked from commit dd04374336)
2024-04-28 14:32:17 +08:00
Translation updater bot b1fada06c0 Localisation updates from https://translatewiki.net.
Change-Id: I5223c64f8ba7a660742543004fd0b90be1600224
2024-04-25 08:31:17 +02:00
Translation updater bot 8c62ad464c Localisation updates from https://translatewiki.net.
Change-Id: Id75791a8a0b0730fb2253ac963f2079f3ae35075
2024-04-18 08:10:52 +02:00
Translation updater bot 8a1fed0e76 Localisation updates from https://translatewiki.net.
Change-Id: If344e5e312d24927677a5d324445119a8fa547cb
2024-04-11 08:09:35 +02:00
Translation updater bot 9d94d8b828 Localisation updates from https://translatewiki.net.
Change-Id: I0d99333c02911932d1093641d1ceabfa9d754aa7
2024-04-08 09:26:12 +02:00
jenkins-bot 2d46c8195c Merge "[DI] Use dependency injection for RecordLintJob" 2024-04-05 19:20:41 +00:00
jenkins-bot 94ef8d8ea4 Merge "night-mode-unaware-background-color doesn't emit params" 2024-04-05 15:21:22 +00:00
C. Scott Ananian fde916fff5 [DI] Use dependency injection for RecordLintJob
Change-Id: I3b8cd95e075af92c77a7dec4f12a0a81eab3ae4b
2024-04-04 21:42:10 -04:00
jenkins-bot d3dc804ac9 Merge "[DI] Use dependency injection for Hooks" 2024-04-05 01:08:18 +00:00
jenkins-bot 0868dd1e83 Merge "[DI] Use dependency injection for ApiQueryLinterStats" 2024-04-05 00:40:45 +00:00
jenkins-bot 2aeaa71da0 Merge "[DI] Use dependency injection for SpecialLintErrors" 2024-04-05 00:14:25 +00:00
C. Scott Ananian c983a822e3 [DI] Use dependency injection for Hooks
Change-Id: I23f56b0a3df1ef206ec160453294349d2482435f
2024-04-04 18:43:13 -04:00
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 0a5700fa39 night-mode-unaware-background-color doesn't emit params
Change-Id: Id65e19266cfc7de095ee621fe28c35639a9f73b1
2024-04-04 18:22:46 -04:00
jenkins-bot 8ac1565567 Merge "Stop exposing hidden categories in siteinfo" 2024-04-04 21:46:46 +00:00
jenkins-bot 4b30cc8a31 Merge "Move Database::updateStats to TotalsLookup" 2024-04-04 21:46:45 +00:00
jenkins-bot 478e13c436 Merge "Don't include hidden category counts in page info" 2024-04-04 21:08:40 +00: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
Translation updater bot c9ccb3e405 Localisation updates from https://translatewiki.net.
Change-Id: Id9d7d114fc78c35e24308634e43c043bdc09af4c
2024-04-04 09:38:35 +02:00
Translation updater bot 53ee927874 Localisation updates from https://translatewiki.net.
Change-Id: I308ef5263aefb053ccdb9f881a3fc9d73457ce80
2024-04-03 09:23:57 +02: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