Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
remove the err function, as it's not being used any more
en>Mr. Stradivarius
(allow documentation passed with the |content= parameter to show even if we get errors from the env table)
en>Mr. Stradivarius
(remove the err function, as it's not being used any more)
Line 86: Line 86:


p.makeToolbar = makeToolbar
p.makeToolbar = makeToolbar
local function err(msg)
return string.format(
'<strong class="error">%s %s</strong>%s',
message('errorPrefix', 'string'),
msg,
makeCategoryLink(message('errorCategory', 'string'))
)
end
p.err = err


----------------------------------------------------------------------------
----------------------------------------------------------------------------
Anonymous user

Navigation menu