Modul:Redirect hatnote: Unterschied zwischen den Versionen

Added tracking for defaulting behaviour when a "use" parameter is empty but there's at least one associated "page" parameter
(Removed early termination behaviour when first use is "other uses", and the tracking for it)
(Added tracking for defaulting behaviour when a "use" parameter is empty but there's at least one associated "page" parameter)
Zeile 91: Zeile 91:
local use
local use
if not (useTable.use or isFirst) then
if not (useTable.use or isFirst) then
return nil
if (not isFirst) and useTable.pages and #usetable.pages ~= 0 then
return '[[Category:Hatnote templates using unusual parameters]]'
else
return nil
end
end
end
use = useTable.use or 'other uses'
use = useTable.use or 'other uses'
Anonymer Benutzer