As an editor, if I add
{{PAGEBANNER:captionText=foo}} I should get a warning saying captionText is not a valid parameter name. This should apply to all parameters.
Bonus points if you provide a link in the warning to some template usage notes :)
As an editor, if I add
{{PAGEBANNER:captionText=foo}} I should get a warning saying captionText is not a valid parameter name. This should apply to all parameters.
Bonus points if you provide a link in the warning to some template usage notes :)
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Show a warning if there are unknown parameters | mediawiki/extensions/WikidataPageBanner | master | +85 -3 |
They should only show up to editors. I'm not sure if we have any existing examples to follow.
Change 239325 had a related patch set uploaded (by Florianschmidtwelzow):
Show a warning if there are unknown parameters