Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
check category-space hatnotes too
(check category-space hatnotes too)
Line 134:
-- Generate the tracking category.
-- We don't need a tracking category if the template invocation has been
-- copied directly from the docs, or if we aren't in mainspace or category-space.
local category
if not redirect:find('^REDIRECT%d*$') and redirect ~= 'TERM' --
and currentTitle.namespace == 0 or currentTitle.namespace == 14
then
redirectTitle = redirectTitle or getTitle(redirect)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu