Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
210 bytes removed ,  07:05, 20 January 2014
remove the err function, as it's not being used any more
>Mr. Stradivarius
(allow documentation passed with the |content= parameter to show even if we get errors from the env table)
>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