Modul:Citation/CS1/Date validation/sandkasse: Forskelle mellem versioner
Content deleted Content added
MGA73 (diskussion | bidrag) Tilbage før test Tag: Manuel tilbagerulning |
MGA73 (diskussion | bidrag) Test ¤¤¤ Tag: Tilbagerullet |
||
Linje 1.051:
if is_set (param_val.val) and
not mw.ustring.match (param_val.val, patterns.ymd[1]) then -- for those that are not ymd dates (ustring because here digits may not be Western)
param_val.val, n = param_val.val:gsub ('%-', '
if 0 ~= n then
date_parameters_list[param_name].val = param_val.val; -- update the list
|