Moduł:Yesno: Historia i autorzy

Wybór porównania – zaznacz kropeczkami dwie wersje do porównania i wciśnij enter lub przycisk Porównaj wybrane wersje.
Legenda: (bież.) – pokaż zmiany od tej wersji do bieżącej, (poprz.) – pokaż zmiany od wersji poprzedzającej, m – mała (drobna) zmiana

5 lut 2023

  • bież.poprz. 23:0123:01, 5 lut 2023Danielg28 dyskusja edycje 745 bajtów +745 Utworzono nową stronę "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or…"