Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Not sure if it's appropriate for Module:Hatnote proper, but it can be its own module and we can just merge it in later, probably |
Removed behaviour of terminating list at empty page parameter; inconsistent with behaviour elsewhere |
||
Line 81: | Line 81: | ||
-- the default, and break at end of this loop-through. |
-- the default, and break at end of this loop-through. |
||
table.insert(forRow.see, args[i + 1] or (options.title .. options.disambiguator)) |
table.insert(forRow.see, args[i + 1] or (options.title .. options.disambiguator)) |
||
if not args[i + 1] then terminated = true end |
|||
-- If the option after next is "and", do an inner loop where we collect |
-- If the option after next is "and", do an inner loop where we collect |
||
-- items following "and"'s until the "and"'s stop. If there's a blank |
-- items following "and"'s until the "and"'s stop. If there's a blank |