There have been a couple of different requests to filter the list of linter errors by type of obsolete tag or type of missing end tag, etc. This speaks to the request for a general filtering feature by the content of the second column of special pages like https://en.wikipedia.org/wiki/Special:LintErrors/obsolete-tag
Due to the nature of this code change having a database field addition with an index, it needs to be deployed in a number of phases,
- Phase 1: Add template and tag name fields to the database
- Phase 2: Record the tag and template field info when adding a new linter error record
- Phase 3: Run the migrate code to populate any records with unwritten tag and template data
- Records existed before the phase 2 code was enabled. It is possible to migrate the tag and template information in a single pass through the table, examining the new fields for each record and if unset, populating it by extracting the information from other fields in the record.
- Implemented in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Linter/+/825411
- Phase 4: The application code providing the user interface elements and new search database query code.
Moving cleanup tasks to a new ticket.