Module:Yesno: Difference between revisions

removing code that's no longer used
(fix logic for the case where the first positional parameter is "¬")
(removing code that's no longer used)
Line 23:
args = pframe.args
for k,v in pairs(args) do
any = true
retvals[k] = v
end
Line 35 ⟶ 34:
end
 
val = val:lower() -- Coerce to blank if nil; makeMake lowercase.
val = val:match'^%s*(.*%S)' or '' -- Trim whitespace.
 
Anonymous user