Module:Hatnote: Difference between revisions

Jump to navigation Jump to search
fix colon-removing pattern
(properly deal with links escaped using the colon trick)
(fix colon-removing pattern)
Line 59:
-- colon trick for categories and files, as otherwise category links
-- categorise the page and file links display the file.
link = link:match('^:?(.*)') or link -- Remove initial colon if specified.
local namespace = findNamespaceId(link)
local colon
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu