Module:Infobox: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
disallow zero-numbered row parameters
make all whitespace arguments nil, rather than just empty string arguments
लाइन 259:
end
-- ParserFunctions considers the empty stringwhitespace to be false, so to preserve the previous
-- behavior of {{infobox}}, change any emptywhitespace arguments to nil, so Lua will consider
-- them false too. (Except the 'italic title' param, which specifies different behavior
-- depending on whether it's absent or empty)
args = {}
for k, v in pairs(origArgs) do
if mw.ustring.match(v ~=, '%S') or k == 'italic title' then
args[k] = v
end
"https://bh.wikipedia.org/wiki/Module:Infobox" से लिहल गइल