Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
Removed behaviour of terminating list at empty page parameter; inconsistent with behaviour elsewhere
>Nihiltres (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) |
>Nihiltres (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 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 |