Steps to replicate the issue (include links if applicable):
Originally reported on GitHub by KockaAdmiralac:
In this section, the wikitext linter included in CodeMirror (which is presumably the same one from this repository) is reporting "invalid parameter of <inputbox> (no-ignored)" on every line of:
<inputbox> type = commenttitle page = {{TALKPAGENAME}} buttonlabel = Apply for a staff position default = {{subst:REVISIONUSER}} hidden = yes preload = {{FULLPAGENAME}}/Preload </inputbox>When I remove the leading spaces from each line, the error disappears. I believe wikiparser-node might be incorrectly parsing <inputbox> arguments, since the resulting output works no matter the leading spaces.
This bug is a result of an outdated version of WikiParser-Node and cannot be reproduced upstream.
What happens?:
WikiLint consistently reports false positives about <inputbox> parameters with leading whitespaces.
What should have happened instead?:
There should be no reported diagnostics.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):