Module:Hatnote: Difference between revisions

Jump to navigation Jump to search
prefix all links with colons to allow interwiki links to work.
m (Minor comment change)
(prefix all links with colons to allow interwiki links to work.)
Line 142:
link = removeInitialColon(link)
local namespace = p.findNamespaceId(link, false)
local colon = ':'
-- The following lines were commented out to allow interwiki links to work,
if namespace == 6 or namespace == 14 then
-- as there is no harm in prefixing all links with colons.
colon = ':'
-- if namespace == 6 or namespace == 14 then
else
-- colon = ':'
-- else
end
-- colon = ':'
-- end
 
-- Find whether a faux display value has been added with the {{!}} magic
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu