Page MenuHomePhabricator

Linter missing end tag not detected inside Template:efn on en.WP
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Put this wikitext into a page on en.WP:
Foo{{efn| Test ''[[italic]]'' plain''. test}} bar.

{{notelist}}

What happens?:
Note that there is unmatched italic markup after the word "plain".

No Linter error is reported by the LintHint script or on the Page Information page.

Note that if you put this same wikitext into Special:ExpandTemplates, LintHint will correctly detect a missing end tag.

What should have happened instead?:
A Linter missing end tag error should be detected and listed on the Page information page.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Test case at https://en.wikipedia.org/w/index.php?title=User:Jonesey95/sandbox&oldid=1284779594