Anonymous user
Module:Hatnote: Difference between revisions
properly deal with links escaped using the colon trick
(add Template:See also) |
(properly deal with links escaped using the colon trick) |
||
Line 59:
-- colon trick for categories and files, as otherwise category links
-- categorise the page and file links display the file.
link = link:match('^:?(.*)') -- Remove initial colon if specified.
local namespace = findNamespaceId(link)
local colon
|