Difference between revisions of "Module:Message box"

Jump to navigation Jump to search
27 bytes added ,  04:48, 3 October 2013
add a template link when generating the subst error message
>Mr. Stradivarius
(change pageTitle --> self.pageTitle)
>Mr. Stradivarius
(add a template link when generating the subst error message)
Line 412: Line 412:
                 .addClass('error')
                 .addClass('error')
                 .wikitext(format(
                 .wikitext(format(
                     'Template <code>%s%s%s</code> has been incorrectly substituted.',
                     'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
                     mw.text.nowiki('{{'), self.name, mw.text.nowiki('}}')
                     mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
                 ))
                 ))
     end
     end
Anonymous user

Navigation menu