Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Minor comment change) |
(prefix all links with colons to allow interwiki links to work.) |
||
Line 142: | Line 142: | ||
link = removeInitialColon(link) |
link = removeInitialColon(link) |
||
local namespace = p.findNamespaceId(link, false) |
local namespace = p.findNamespaceId(link, false) |
||
local colon |
local colon = ':' |
||
-- The following lines were commented out to allow interwiki links to work, |
|||
⚫ | |||
-- as there is no harm in prefixing all links with colons. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
-- colon = ':' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-- Find whether a faux display value has been added with the {{!}} magic |
-- Find whether a faux display value has been added with the {{!}} magic |