Module:YesNo: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 January 2026

  • curprev 21:3521:35, 17 January 2026 Peter talk contribs 527 bytes +527 Created page with "local p = {} function p.yesno(val) if val == nil then return nil end if type(val) == 'boolean' then return val end if type(val) == 'number' then return val ~= 0 end if type(val) ~= 'string' then return nil end val = mw.ustring.lower(val) if val == '' then return nil end if val == 'yes' or val == 'y' or val == 'true' or val == 't' or val == '1' then return true end if val == 'no' or val == 'n' or val == 'false' or val == 'f' or val == '0'..."