Navigation menu

Module:Yesno: Difference between revisions

From The Kodiak Republic Wiki

m
28 revisions imported from dev:Module:Yesno
(use the Lua string.lower function instead of mw.ustring.lower; this makes the function around 25x faster)
m (28 revisions imported from dev:Module:Yesno)
 
(5 intermediate revisions by 2 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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.