מייבאים כמותיים, בדוקי עריכות אוטומטית, ביוראקראטן, אינטערפעיס רעדאקטארן, emailconfirmed, אינטערפעיס אדמיניסטראַטאָרן, מנטרים, סיסאפן, צוות טכני, מייבאים, מעדכנים, אספקלריה רעדאקטארן
102,362
רעדאגירונגען
(דא איז דער לאך. קרויז אויס אידישע דאטום צו רעכענען אויך בעפאר קביעת הלוח) |
ק (הגהה) |
||
| שורה 212: | שורה 212: | ||
local genBirthDate = templateArgs['תאריך לידה'] or templateArgs['געבורט דאטום'] | local genBirthDate = templateArgs['תאריך לידה'] or templateArgs['געבורט דאטום'] | ||
if genBirthDate == nil and templateArgs['תאריך לידה עברי'] ~= nil then | if genBirthDate == nil and templateArgs['תאריך לידה עברי'] ~= nil then | ||
local l = frame:preprocess( | local l = frame:preprocess(templateArgs['תאריך לידה עברי']) -- preprocess, to handle {{לינק צו אידיש יאר}} | ||
if (#mw.text.split(l, '%s' ) == 1 or count(l, "%[%[") == 1) then --most probably just year or yearlink | if (#mw.text.split(l, '%s' ) == 1 or count(l, "%[%[") == 1) then --most probably just year or yearlink | ||
if #mw.text.split(l, '%s' ) > 1 then | if #mw.text.split(l, '%s' ) > 1 then | ||
| שורה 231: | שורה 231: | ||
local genDeathDate = templateArgs['תאריך פטירה'] or templateArgs['פטירה דאטום'] | local genDeathDate = templateArgs['תאריך פטירה'] or templateArgs['פטירה דאטום'] | ||
if genDeathDate == nil and templateArgs['תאריך פטירה עברי'] ~= nil then | if genDeathDate == nil and templateArgs['תאריך פטירה עברי'] ~= nil then | ||
local p = frame:preprocess( | local p = frame:preprocess(templateArgs['תאריך פטירה עברי']) -- preprocess, to handle {{לינק צו אידיש יאר}} | ||
if (#mw.text.split(p, '%s' ) == 1 or count(p, "%[%[") == 1) then --most probably just year or yearlink | if (#mw.text.split(p, '%s' ) == 1 or count(p, "%[%[") == 1) then --most probably just year or yearlink | ||
if #mw.text.split(p, '%s' ) > 1 then | if #mw.text.split(p, '%s' ) > 1 then | ||
רעדאגירונגען