Modul:Redirect hatnote: Unterschied zwischen den Versionen

Removed early termination behaviour when first use is "other uses", and the tracking for it
K (Tweaked last edit: didn't mean to catch pages where there's termination but no early termination)
(Removed early termination behaviour when first use is "other uses", and the tracking for it)
Zeile 131: Zeile 131:
text[#text + 1] = formatUseTable(data[1] or {}, true, redirect)
text[#text + 1] = formatUseTable(data[1] or {}, true, redirect)
if data[1] and data[1].use then
if data[1] and data[1].use then
if data[1].use ~= 'other uses' then
for i = 2, #data do
for i = 2, #data do
text[#text + 1] = formatUseTable(data[i] or {}, false, redirect)
text[#text + 1] = formatUseTable(data[i] or {}, false, redirect)
end
elseif #data > 1 then
text[#text] = text[#text] .. '[[Category:Hatnote templates using unusual parameters]]'
end
end
end
end
Anonymer Benutzer