Modul:Redirect hatnote: Unterschied zwischen den Versionen

(Updated with sandbox/testcases-tested behaviour that changes defaulting and adds tracking for a different wierd behaviour)
(Deleted unused, undocumented, strange behaviour)
Zeile 94: Zeile 94:
elseif not useTable.use then
elseif not useTable.use then
return nil
return nil
elseif tonumber(useTable.use) == 1 then
--This is really strange behaviour, so it gets a category hack to see if it's actually being used.
use = 'other uses[[Category:Hatnote templates using unusual parameters]]'
else
else
use = useTable.use
use = useTable.use