Page MenuHomePhabricator

Additional sort/filter options for Special:LintErrors ( Filter structural vs Cosmetic missing tags; sort by page views; filter by Template called)
Open, MediumPublicFeature

Description

What's the problem you want to solve:

Currently Special:LintErrors allows content to be sorted by tags, by template invoked, or filtered by namespace.

It doesn't currently have the ability to filter these results further so that 'cosmetic' errors, such as unclosed bold, italic, superscript formatting which whilst having limited visual effect don't actually 'break' pages, can be suppressed in results, so that 'structural' errors, such as mismatched TABLE syntax or unclosed DIV's can be seen more clearly.

There is also currently no option to sort the results by pageview... Naturally it would on some projects with a lot of errors for efforts to be focused on those likely to be viewed on a regular basis.

What is the desired functionality:

A filter option to suppress 'cosmetic' errors in results . I.E Not to display errors resulting from unclosed formatting which don't actually 'break' a page as such.

A sort option , to sort results either by the page-view count of the Page where the lint error was detected, or by the page-views of the template call inside which the lint-error was detected.

An option to filter by both namespace, and a specific Template called would also felt to be useful, If this filter also gave some indication of how often a specific Template was being called with potentially malformed parameters it would allow repair efforts to be prioritized on 'high-use' templates over specific niche instances that were rarely viewed.