Module:Yesno: Difference between revisions
m
1 revision imported
(use the Lua string.lower function instead of mw.ustring.lower; this makes the function around 25x faster) |
Michaeldakin (talk | contribs) m (1 revision imported) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 13:
or val == 'y'
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
Line 20 ⟶ 22:
or val == 'n'
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
|