Jump to content

Module:Documentation: Difference between revisions

remove the err function, as it's not being used any more
m>Mr. Stradivarius
(allow documentation passed with the |content= parameter to show even if we get errors from the env table)
m>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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.