Module:Message box: Difference between revisions

add a template link when generating the subst error message
(change pageTitle --> self.pageTitle)
(add a template link when generating the subst error message)
Line 412:
.addClass('error')
.wikitext(format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
Anonymous user