Anonymous user
Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Added hack to categorize pages using odd edge-case behaviour
(Updated module from sandbox with support for multiple redirect arguments.) |
(Added hack to categorize pages using odd edge-case behaviour) |
||
Line 107:
pages[1] = pages[1] or redirect .. ' (disambiguation)'
else
--pages[1] = pages[1] or useTable.use .. ' (disambiguation)'
--Terrible but temporary hack switches above line to below if to test prevalence of this behaviour:
if not pages[1] then
pages[1] = useTable.use .. ' (disambiguation)'
use = use .. '[[Category:Hatnote templates using unusual parameters]]'
end
end
pages = mHatnote.formatPages(unpack(pages))
|