twinkle icon indicating copy to clipboard operation
twinkle copied to clipboard

tag: tags whose |name= doesn't match perfectly do not get put in the {{Multiple issues}} box

Open NovemLinguae opened this issue 1 year ago • 1 comments

Example: {{self-contradictory}}

Diff: https://test.wikipedia.org/w/index.php?title=Mainspace&diff=prev&oldid=611320

This is despite the promising patch in #1960

Each maintenance tag is a template with a {{ |name= }} that emits a class, and when the |name= doesn't exactly match the page name (such as self-contradictory vs Self-contradictory), weird things can happen

image

NovemLinguae avatar Sep 06 '24 08:09 NovemLinguae

This appears to be because Self-contradictory isn't in the internal tag list (Twinkle.tag.article.tagList), so the code plays it safe and assumes the tag is ungroupable. There's no other issues with it once added to the list (see https://en.wikipedia.org/wiki/Special:Diff/1244337484)

9382 avatar Sep 06 '24 13:09 9382