SyntaxHighlight_GeSHi should auto-populate a tracking category with pages that contain invalid <syntaxhighlight> attributes such as lang="html9". This will allow editors to find and address these pages by setting lang="text" or by filing Phabricator Maniphest tasks to add support for missing languages.
Related: https://lists.wikimedia.org/pipermail/wikitech-l/2015-June/082165.html