sbailey
7309cc139c
Linter allows specification of a page prefix to refine selection
...
* UI and functionality working, SQL injection risk is handled using
the database wrapper function buildLike()
Bug: T185685
Change-Id: I1f630a83f01a1c93f29643e4fc8baf55391b758d
2022-03-10 08:48:19 -08:00
Translation updater bot
b2452ef98f
Localisation updates from https://translatewiki.net .
...
Change-Id: I12c52ebdd0b84eb4c9333e38c6bd417155fe8d42
2022-03-04 08:29:39 +01:00
Subramanya Sastry
b08fd17186
Hooks.php: Check for non-array $tags
...
Bug: T302918
Change-Id: I96fdbbc443025d9461dc168e58164004a0f8d7ed
2022-03-02 15:40:05 -06:00
Translation updater bot
5b154ffb67
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd5e7ec3f19c1a6ecaa96b9d68dd094ec1ba738c
2022-03-02 09:37:06 +01:00
sbailey
6925519cb5
Delete lint errors when blank page saved while changing content type
...
* Add "mw-blank" as another tag value that erases all lint errors
for a page as a blank page cannot have any lint errors.
Bug: T280193
Change-Id: Iaad8ce75950588b2676de5dfb5f5221d64231f0e
2022-02-28 15:03:16 -08:00
Arlo Breault
285838961b
Account for all lintable contentmodels after contentmodel change
...
Change-Id: I54495ec01d4fc3b29f1c924f86be3bcd2ed94977
2022-02-25 17:46:56 -05:00
jenkins-bot
ee78f9ae8d
Merge "Delete lint error records when content model changes from wikitext"
2022-02-25 22:15:05 +00:00
sbailey
0e56c22277
Delete lint error records when content model changes from wikitext
...
* Determines if new content type is not wikitext and if so
deletes all existing lint error records for that pageID.
Bug: T298343
Change-Id: I20fac9a0c901f3e7a5cc898566a4487fbe70798f
2022-02-25 13:22:10 -08:00
Translation updater bot
f7fc3e051e
Localisation updates from https://translatewiki.net .
...
Change-Id: I3bb4ec67f32754cfc4f00113ec69e5dc0524b892
2022-02-25 09:44:19 +01:00
Translation updater bot
7a50cce178
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d20ce825a827094728782c4fd08b992a851cbf3
2022-02-24 08:49:28 +01:00
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