Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
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)
Line 91:
local use
if not (useTable.use or isFirst) then
if (not isFirst) and useTable.pages and #usetable.pages ~= 0 then
return nil
return '[[Category:Hatnote templates using unusual parameters]]'
else
return nil
end
end
use = useTable.use or 'other uses'
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu