Module:Yesno: Difference between revisions
Content deleted Content added
m 1 revision imported |
m 1 revision imported from w:Module:Yesno: per RFH |
||
Line 6:
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
Line 21 ⟶ 18:
return true
elseif val == false
or val == 'no'
or val == 'n'
|