mediawiki-extensions-Linter/includes
Kunal Mehta 29379edb0b De-duplicate errors and trim excessive errors in the same category
It's possible to have duplicate, identical lint errors if the same exact
error is repeated in a template transclusion (e.g. {{1x|<b/> <b/>}})
since the position via dsr is the same. In this case, just de-duplicate
the errors since we can't differentiate them.

At the same time, trim excessive errors on the same page in the same
category. It's most likely that if a page has that many of the same
errors, the editor or bot will just fix all of them at the same time, so
we don't need to include all of them in the database. 20 is kind of a
low value, but we can always increase it later on as necessary.

Change-Id: I9cded720169870d0eea574e1a930ce4e9b190ac0
2016-11-23 19:47:04 -08:00
..
ApiQueryLintErrors.php API: Fix lntcategories parameter 2016-11-22 18:31:21 -08:00
ApiRecordLint.php API: Fix up action=record-lint's getAllowedParams() 2016-11-22 18:31:21 -08:00
CategoryManager.php Hardcode category ids 2016-11-22 18:31:17 -08:00
Database.php De-duplicate errors and trim excessive errors in the same category 2016-11-23 19:47:04 -08:00
Hooks.php Delete linter rows when pages are deleted 2016-11-22 18:31:21 -08:00
LintError.php Initial commit 2016-10-17 16:02:53 -07:00
LintErrorsPager.php LintErrorsPager: Set explicit output format on some messages 2016-11-22 18:31:21 -08:00
RecordLintJob.php De-duplicate errors and trim excessive errors in the same category 2016-11-23 19:47:04 -08:00
SpecialLintErrors.php SpecialLintErrors: Implement getSubpagesForPrefixSearch() 2016-11-22 18:31:21 -08:00