3,060
edits
(use the Lua string.lower function instead of mw.ustring.lower; this makes the function around 25x faster) |
Metriximor (talk | contribs) m (26 revisions imported from wikipedia:Module:Yesno: this one is missing for the BS map to work) |
||
(9 intermediate revisions by 8 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
|