"మాడ్యూల్:Hatnote list" కూర్పుల మధ్య తేడాలు

29 bytes removed ,  4 సంవత్సరాల క్రితం
Removed default texts set in forSeeArgsToTable(); unset items in table are now empty rather than filled with defaults; defaults are filled in forSeeTableToString().
చి (Protected "Module:Hatnote list": High-risk Lua module ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(Removed default texts set in forSeeArgsToTable(); unset items in table are now empty rather than filled with defaults; defaults are filled in forSeeTableToString().)
-- New empty row
local forRow = {}
-- If there's a blank use, assume the list's ended, useleave theempty default,for
-- defaulting elsewhere, and break at the end of this loop-through.
forRow.use = args[i] or options.otherText
if not args[i] then terminated = true end
-- New empty list of pages
forRow.pages = {}
-- Try to insert first pages item; empty is ignored/defaulted elsewhere
-- If there's not at least one page listed, use the default.
table.insert(forRow.pages, args[i + 1] or mHatnote.disambiguate(options.title))
-- 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
0

edits

"https://te.wikipedia.org/wiki/ప్రత్యేక:MobileDiff/1993437" నుండి వెలికితీశారు