Commit graph

1054 commits

Author SHA1 Message Date
Translation updater bot b486fdc4cd Localisation updates from https://translatewiki.net.
Change-Id: Ie73592ef6f3f9f0e1787de24e5b78e537266bd33
2022-02-21 08:16:05 +01:00
Translation updater bot e46f7d8f78 Localisation updates from https://translatewiki.net.
Change-Id: I9ffb39e4e97825daa0506ebe46ce90b105002d9e
2022-02-17 08:11:57 +01:00
Umherirrender ba6b0db292 Use HTMLTitleTextField on SpecialLintErrors
This gives autocomplete on the special page

Change-Id: Ic29cf4c16886609c6689c66aff6ebc28a20879ea
2022-02-16 18:19:12 +00:00
jenkins-bot 4d32d7c32c Merge "SpecialLintErrors: Make code more resilient to bad input" 2022-02-15 23:54:31 +00:00
Ammarpad daa6275a20 SpecialLintErrors: Make code more resilient to bad input
Use WebRequest::getText, which discards array values since
the `pagename` param requires string value.

Bug: T301360
Change-Id: Ifc23a7020e410603ac86b71d7aee2d28f06b9ab2
2022-02-15 18:49:40 -05:00
Translation updater bot 3f916990aa Localisation updates from https://translatewiki.net.
Change-Id: I5ee4092b8b6c7cf59ffb48ba423997a9f2961503
2022-02-14 08:14:37 +01:00
Translation updater bot 1ab3e6f0bc Localisation updates from https://translatewiki.net.
Change-Id: I6096b7d71b3a687cf156e4d4e60bdc2c4afbb5e0
2022-02-10 08:41:47 +01:00
Translation updater bot 9977e760fd Localisation updates from https://translatewiki.net.
Change-Id: I9ac09a671c78540011f5a5c5d133dfd09e4135c6
2022-02-08 08:28:44 +01:00
Alexander Vorwerk 8c7fa34662 Fix typo in patch file
Bug: T175177
Follow-Up: Iac22d99109bb1253f450a64254f50677e3cdefeb
Change-Id: I0c1ad29b67a732faa06add8faff4f70988b8613b
2022-02-07 20:47:53 +00:00
sbailey 56567da56f First phase of T175177 database alter table adds two fields
* Adds template and tag name fields to enable better search
   capability to the Linter extension

Bug: T175177
Change-Id: Iac22d99109bb1253f450a64254f50677e3cdefeb
2022-02-03 14:57:17 -08:00
Translation updater bot ead506534f Localisation updates from https://translatewiki.net.
Change-Id: Ia7ad53e77fdca8b89bcffcfc35e2b30f7876b824
2022-02-03 08:44:16 +01:00
Translation updater bot fa2ee9c7ef Localisation updates from https://translatewiki.net.
Change-Id: I682b228cb3d510697e2186fcf6be44d733c9340c
2022-02-02 08:20:09 +01:00
Translation updater bot fdc6495b74 Localisation updates from https://translatewiki.net.
Change-Id: I7a46cf6fb5851bb845fcd1da5c7f751f0e312dcc
2022-01-31 08:22:14 +01:00
sbailey 4544a9c7cc Add namespace column and new index to Linter table - part 1
* This patch contains the code needed to update the database with
   the addition Linter table column linter_namespace <int/null>
   and add an index with category and namespace for faster
   selection of linter records.

Bug: T299612
Change-Id: I05da381b9a74294b44d4aef968614277d601a176
2022-01-28 20:19:38 +00:00
Translation updater bot 59860752e8 Localisation updates from https://translatewiki.net.
Change-Id: Iaa9ff832031fb10a16fb448cc10c0953e4d13f65
2022-01-25 08:32:54 +01:00
jenkins-bot bd45eeda91 Merge "Replace deprecated JobQueueGroup::singleton()" 2022-01-23 21:39:36 +00:00
Umherirrender 354012f419 Replace deprecated JobQueueGroup::singleton()
Change-Id: Ib19314b8a8a4265daf67e31d50f1c61aec2edb8e
2022-01-21 17:22:20 +00:00
Subramanya Sastry 70ffca650e Drop 'inline-media-caption' lint requests
Bug: T297443
Bug: T299302
Change-Id: Id158f1fef8be06ddac733c71b7c1e26a58270955
2022-01-17 12:55:51 -06:00
Translation updater bot 5239c4ae29 Localisation updates from https://translatewiki.net.
Change-Id: Iac58cc333a69409633f2962453d94e795229e0b6
2022-01-17 08:12:25 +01:00
Arlo Breault 6898415d8d Disable "inline-media-caption" category
Note that this only removes the category from the special page and the
lints will still show up by page.  Those need purging separately or more
code to filter out disabled categories from the results.

Bug: T297443
Change-Id: Idfcf5ee5d69f5dc65100229aacb22137be475866
2022-01-16 12:25:28 -05:00
Matěj Suchánek 1335b79a0b Pass HTML element attributes as an array
Html::openElement checks for this and logs a warning.
Html::closeElement does not, and this makes it return
</span class="error">.

Change-Id: I31c2809d2fd5421606fa877021d1636ac0eb4d26
2022-01-15 14:18:56 +01:00
Translation updater bot c7b702ce94 Localisation updates from https://translatewiki.net.
Change-Id: I43c945c69cf5efcea4a0bcce78bff5c45e065eb4
2022-01-14 08:16:33 +01:00
Translation updater bot d1ff96671a Localisation updates from https://translatewiki.net.
Change-Id: I2f30f38f8002a4c12c78ec758cc2564223b5df18
2022-01-13 08:27:10 +01:00
Translation updater bot bf07dc2736 Localisation updates from https://translatewiki.net.
Change-Id: Ie4b51a6b3eb3c2d53967de65fd7843f3e3ed338e
2022-01-12 08:25:16 +01:00
Arlo Breault 8a797fd625 s/linter-pager-title/linter-pager-title-header/
Change-Id: I51e4ffa89954b0b6bf798562668dc4a95c00d9da
2022-01-11 23:24:52 +00:00
Arlo Breault ace2d5c17d s/linter-pager-template/linter-pager-template-header/
Change-Id: I658b258fe46bdeefbfc0b1d348e4ac4d9c423205
2022-01-11 12:41:56 -05:00
Arlo Breault 850ec4fa70 Add i18n for pager category
Follow up to I70fde2676ded6a112f7f2b07f94f6f4b616f0e39

Change-Id: I38647833938fb27793827649bc5c785dc3fd63ea
2022-01-11 12:21:19 -05:00
Translation updater bot 7e9a4ecf04 Localisation updates from https://translatewiki.net.
Change-Id: I5caaa0e28712a914fbd0cb5a9758c3998413422f
2022-01-11 08:23:17 +01:00
Arlo Breault fc8c39baa5 Fix lint error updating
The article id of the title is set to 0 when the page is deleted so,
although the lint job from the hook runs, it doesn't remove anything.

Reverts most of I06b821b65f65609ddac8ed4e7c662336082d8266

Bug: T298782
Bug: T170313
Change-Id: I2610b9b16d4032b0e18b3537cc9ed51bfdaff299
2022-01-10 16:24:00 -05:00
Arlo Breault 2218e87c05 Move outputting headers back to the top
Change-Id: I175d69c990de032686033ef909eec0b1865e795f
2022-01-10 15:21:20 -05:00
Arlo Breault f821fa7f47 Add a title for single page view
Follow up to I70fde2676ded6a112f7f2b07f94f6f4b616f0e39

Bug: T151362
Change-Id: I21b8b9085f13480075e0b572f38ec9a05a398f01
2022-01-10 15:16:04 -05:00
sbailey 31bc33b578 All lint errors for a single page was missing error detail label
Bug: T151362
Change-Id: I4eabb53cd133ee46e986a0d81a7002a286dfc0c4
2022-01-10 13:07:31 -06:00
Translation updater bot 52102445ba Localisation updates from https://translatewiki.net.
Change-Id: I7b089d4f31439bd4548bf931320a1c2c000b0368
2022-01-10 08:11:33 +01:00
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