Module:Documentation: Difference between revisions

remove the err function, as it's not being used any more
(allow documentation passed with the |content= parameter to show even if we get errors from the env table)
(remove the err function, as it's not being used any more)
Line 86:
 
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