Module:Hatnote: Difference between revisions

Jump to navigation Jump to search
add type check for makeWikitextError
(add a demo parameter to makeWikitextError)
(add type check for makeWikitextError)
Line 78:
-- or false, no error category is added.
checkType('_makeWikitextError', 1, msg, 'string')
checkType('_makeWikitextError', 2, demo, 'boolean', true)
local errorCategory = 'Hatnote templates with errors'
local errorCategoryLink
if not demo then
errorCategoryLink = string.format(
'[[%s:%s]]',
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu