We want to ensure that all the classes in new-lexeme-special-page begin with the prefix snl- (Special:NewLexeme), to avoid collisions with other markup on-wiki. This should be enforced by a linter. Since T301694, we have such linting for selectors in our style sheets (ensuring they start with .snl-), but that doesn’t cover classes that are assigned in the HTML template without being used in a style sheet.
any solution needs to be able to...:
- check that classes we add to HTML use this prefix
Add to the task created after completion of this investigation:
- All potential violation to the linting rules are corrected