Open main menu

Changes

Module:Hatnote

4 bytes added, 16:19, 29 April 2014
move formatLink back to the underscore - that one is necessary
return p.makeWikitextError('no link specified')
end
return p.formatLink_formatLink(link, display)
end
function p.formatLink_formatLink(link, display)
-- Find whether we need to use the colon trick or not. We need to use the
-- colon trick for categories and files, as otherwise category links
-- categorise the page and file links display the file.
checkType('formatLink_formatLink', 1, link, 'string') checkType('formatLink_formatLink', 2, display, 'string', true)
link = removeInitialColon(link)
local namespace = p.findNamespaceId(link, false)
Anonymous user