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))
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu