Module:Navpills: Difference between revisions
From Aeronautica Official Wiki
More actions
Added Category page redirecting capability |
Added Colon in the Back |
||
Line 61: | Line 61: | ||
local linkTarget = pageName | local linkTarget = pageName | ||
if isCategoryPage(pageName) then | if isCategoryPage(pageName) then | ||
linkTarget = 'Category:' .. pageName -- Ensure "Category:" prefix | linkTarget = ':Category:' .. pageName -- Ensure "Category:" prefix | ||
end | end | ||