Commit graph

871 commits

Author SHA1 Message Date
jenkins-bot 0708f9e887 Merge "Linter: Display lint errors for a single page" 2022-01-07 21:13:05 +00:00
sbailey 88aab3cd1e Linter: Display lint errors for a single page
* Added error message when namespace and/or pagename is not
  found or malformed which now displays a bold red message.

Bug: T151362
Change-Id: I70fde2676ded6a112f7f2b07f94f6f4b616f0e39
2022-01-07 12:45:55 -08:00
Translation updater bot 47b6c866cc Localisation updates from https://translatewiki.net.
Change-Id: I51ffb0edb3d16413109a401b2415f480e86f0737
2022-01-06 08:31:48 +01:00
Alexander Vorwerk af53fbc23a Replace usages of deprecated wfWikiID()
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().

Bug: T298059
Change-Id: I695c20bff266f869f740baf7f3e335b357546fb4
2021-12-21 01:54:47 +00:00
Translation updater bot 210db202be Localisation updates from https://translatewiki.net.
Change-Id: I02cf1d1a3b726cd4d8c1feda065851d54a4446d4
2021-12-20 08:21:23 +01:00
jenkins-bot 6835094091 Merge "Avoid using WikiPage::factory()" 2021-12-18 15:52:30 +00:00
Translation updater bot a49695649a Localisation updates from https://translatewiki.net.
Change-Id: Ifd87779ec353fbd3cd217171089818dd2d70d73a
2021-12-17 08:17:14 +01:00
Alexander Vorwerk 9a1ce6e392 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I63bf3ba1c2ad6f8b59d369d91777af0418746a6b
2021-12-16 23:00:32 +00:00
Translation updater bot b33485da62 Localisation updates from https://translatewiki.net.
Change-Id: I1b8b893816aaa49d5aa1e13d2b3616bf343e55e5
2021-12-16 08:29:42 +01:00
Arlo Breault e8a1b8218c Add linter category for "inline-media-caption"
Bug: T297443
Depends-On: I4cdbfe46bce7556d2187a5f1c908b3538d1185fb
Change-Id: I83d51c40b3c4c1f3e5de327aba6f05e65d9814c7
2021-12-15 17:27:52 -05:00
Arlo Breault 2fa7a30f14 Remove hardcoded list of categories with no parameters
Change-Id: Ic8b9ced613c873cada0a9909ed0d3799160504a1
2021-12-15 17:27:36 -05:00
Arlo Breault 518a7597b6 Fix plural in redirect
Help:Extension:Linter/unclosed-quote-in-heading&redirect=no
redirects to
Help:Lint_errors/unclosed-quotes-in-heading

Follow up to I814fa43104cca4f81397b6b73cb990ca12663cde

Change-Id: I1b8003801b8f867d4988a52be012b26012611d3b
2021-12-13 19:02:23 -05:00
Arlo Breault 142a9a2f97 s/mw:Help:Extension:Linter/mw:Help:Lint errors/
These seem to be redirected now.

Change-Id: I814fa43104cca4f81397b6b73cb990ca12663cde
2021-12-13 19:02:00 -05:00
Translation updater bot bdba7ecaca Localisation updates from https://translatewiki.net.
Change-Id: Ie29fc8645df24f20150c282985f1296a29931613
2021-12-13 08:21:44 +01:00
Translation updater bot 1203a59348 Localisation updates from https://translatewiki.net.
Change-Id: I4dbabcd0363bc4bc9ccf0a8b4efa2dd316560efc
2021-12-06 08:19:29 +01:00
Translation updater bot df530e0178 Localisation updates from https://translatewiki.net.
Change-Id: I44204d4763c1cecf05b4fdd22cb234286f7cd714
2021-11-24 08:22:04 +01:00
Translation updater bot 2a8ad950c1 Localisation updates from https://translatewiki.net.
Change-Id: If227e44ef2e8b420619ba3d9405f00c682dead8a
2021-11-15 08:11:57 +01:00
Translation updater bot 08a8d5dbc0 Localisation updates from https://translatewiki.net.
Change-Id: Ib926766a57e84d6874e215fc748376bbbc5c9952
2021-11-11 10:02:36 +01:00
Translation updater bot a3d3937dfa Localisation updates from https://translatewiki.net.
Change-Id: I0666bfd84ef57c7e037cc6b59622feb827aa8ea1
2021-11-03 08:20:49 +01:00
Translation updater bot dca45d377e Localisation updates from https://translatewiki.net.
Change-Id: I3a76013d0e9e4143e3c5f59a3767e7ec148ed420
2021-11-02 08:07:08 +01:00
Translation updater bot 7e6b8ddbb2 Localisation updates from https://translatewiki.net.
Change-Id: I2a99bc20ceecc2241a2fd37f211a836217d9aad6
2021-11-01 09:34:02 +01:00
Translation updater bot a7c08e25a6 Localisation updates from https://translatewiki.net.
Change-Id: I9cfc4250097683cd65fe685280f2527b8da082d4
2021-10-28 08:28:14 +02:00
Translation updater bot d8c27f9919 Localisation updates from https://translatewiki.net.
Change-Id: I2bdc61c34a70e129ec54022f21d898b1ea47dc66
2021-10-25 08:51:48 +02:00
libraryupgrader 47581077d5 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iaf519bda916cc0b08d3a526b9273ca16321b4f29
2021-10-24 07:07:54 +00:00
Translation updater bot 97413fa1a6 Localisation updates from https://translatewiki.net.
Change-Id: I847c702190fedcd0ac4736fcd9b85ef13af5a0ae
2021-10-18 15:20:35 +02:00
Alexander Vorwerk 2b3ca01871 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I2e76733232bad0201a4e1e97617f5f7c1cf97235
2021-10-12 21:52:50 +02:00
libraryupgrader a8e2b7c6fa build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I12d40efee5137cbe369e6ebe6df73b76f948dd46
2021-10-05 02:02:51 +00:00
Translation updater bot c37e4e6b3d Localisation updates from https://translatewiki.net.
Change-Id: I2fb05981ed849208eb1086028d6c68df17328454
2021-10-04 08:56:06 +02:00
Translation updater bot 9551baf9ee Localisation updates from https://translatewiki.net.
Change-Id: Ib423ee5c3c7440acdb0d0474766be6dd24b55d7f
2021-09-27 08:35:02 +02:00
Translation updater bot 998068d01a Localisation updates from https://translatewiki.net.
Change-Id: If5d1629db7519079572375ecbf9ef3e0eaeb2a19
2021-09-22 08:10:47 +02:00
Translation updater bot 62d9dd3e74 Localisation updates from https://translatewiki.net.
Change-Id: Iccf704ba92117a6effbcb2d0e85a53bf95400759
2021-09-15 08:14:28 +02:00
Translation updater bot c325147d54 Localisation updates from https://translatewiki.net.
Change-Id: Ifb6e034c64777ee3071169d41f2fe163809cd6de
2021-09-09 08:17:44 +02:00
libraryupgrader d892683d6e build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I4e156df215bd0f990660fbe0f254824f1408119a
2021-09-09 02:35:37 +00:00
Translation updater bot ca3254fcf3 Localisation updates from https://translatewiki.net.
Change-Id: I12c030602ba5d457a5cc0766cba93a94c2b8d12d
2021-09-06 08:20:57 +02:00
libraryupgrader 9acb991531 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I7223ad1450f5793f1bdf468ceeab2845514958c1
2021-09-02 01:58:41 +00:00
Translation updater bot 669d05bc91 Localisation updates from https://translatewiki.net.
Change-Id: I28822026183dd533624bd1f279aeeb9d4a79127b
2021-09-01 08:16:25 +02:00
Translation updater bot 94dc5a7201 Localisation updates from https://translatewiki.net.
Change-Id: I73695a3070fe87538002281b80b8a338226f40e9
2021-08-30 08:20:19 +02:00
Translation updater bot 82dc29253d Localisation updates from https://translatewiki.net.
Change-Id: Ic309ada31d54683f8987ca8a4e5e6ac76e31ca5d
2021-08-27 08:43:55 +02:00
Translation updater bot a3ce024fe6 Localisation updates from https://translatewiki.net.
Change-Id: I9a41f91a981b0faf5cb32dbf58b9bd470781c87c
2021-08-26 08:36:27 +02:00
sbailey cc2e08546b Fix broken RecordLintJobTest
* Adapted other core phpunit test user, title and page creation
   code to avoid creating a MOCK title such that the job runner
   finds the page(title) in the database and runs the job without
   hackery of populating the title in the constructor of
   RecordLinkJob. When the getForPage() runs, it finds the
   page and its lint errors through the standard code paths.

Bug: T225337
Change-Id: Ibb57523ee2f066c7bd0465c14f0dcb2bab51286b
2021-08-11 15:39:49 -07:00
Translation updater bot 74d0b9abe2 Localisation updates from https://translatewiki.net.
Change-Id: Ibc80a091009c1349b8da1f78b77072e77e32c0d6
2021-08-10 08:06:40 +02:00
Translation updater bot dcaaef65b1 Localisation updates from https://translatewiki.net.
Change-Id: If58da3046679fb23f4517b0db5d5210241417506
2021-08-09 08:24:23 +02:00
Kunal Mehta 4f4b700fbd Fix off-by-one error around MAX_ACCURATE_COUNT
Currently we select 20 rows, and return the accurate count if it's less
than that, so up to 19 rows. Since we want to return an accurate count
if it's 20 rows or less, select one more row, 21, so we can differentiate
between only having 20 result rows or hitting the limit. This is the same
technique used in MediaWiki's Pager system.

Change-Id: I50fa96238eb4c7178414ee92c53799fd69520926
2021-08-06 13:05:29 -07:00
Translation updater bot 2becc3fd28 Localisation updates from https://translatewiki.net.
Change-Id: I87cd01b5d22f3bb341ca05d513ebff4d431bb993
2021-08-03 08:11:48 +02:00
Translation updater bot cc23a9b5b2 Localisation updates from https://translatewiki.net.
Change-Id: I5cd7e35c098a900112853f88c43ccd4a8bf94ce2
2021-07-27 08:13:30 +02:00
Translation updater bot 20037f44ae Localisation updates from https://translatewiki.net.
Change-Id: I7f948a22c7a4f82f56d71fc393e21dfbd18a3ffd
2021-07-26 08:12:21 +02:00
libraryupgrader 0139c2a870 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I218e85f991357c07c45d0821f3c6bfafe7e015b5
2021-07-23 01:42:34 +00:00
Translation updater bot ebcbb387a2 Localisation updates from https://translatewiki.net.
Change-Id: I9c31cbeeb471a5f4ffb7b8f38e2ebaddc8db8014
2021-07-22 08:13:20 +02:00
Translation updater bot 0d4ee019ba Localisation updates from https://translatewiki.net.
Change-Id: I56b743d0390e1bba4b937a480c24fa826e654f7e
2021-07-21 08:05:43 +02:00
Translation updater bot 63e1b56a86 Localisation updates from https://translatewiki.net.
Change-Id: I8d6449943e004102f4efae70f983882769089f9b
2021-07-20 08:20:39 +02:00