Module:Navpills: Difference between revisions
From Aeronautica Official Wiki
More actions
Added Category page redirecting capability |
m Just Adds colon instead of the whole ':Category:' |
||
(One intermediate revision by the same user not shown) | |||
Line 61: | Line 61: | ||
local linkTarget = pageName | local linkTarget = pageName | ||
if isCategoryPage(pageName) then | if isCategoryPage(pageName) then | ||
linkTarget = ' | linkTarget = ':' .. pageName -- Ensure "Category:" prefix | ||
end | end | ||