מייבאים כמותיים, בדוקי עריכות אוטומטית, ביוראקראטן, אינטערפעיס רעדאקטארן, emailconfirmed, אינטערפעיס אדמיניסטראַטאָרן, מנטרים, סיסאפן, צוות טכני, מייבאים, מעדכנים, אספקלריה רעדאקטארן
102,359
רעדאגירונגען
(נאך א טריטל) צייכן: צוריקגעשטעלט |
(חשוון > חשון) |
||
(5 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן) | |||
שורה 3: | שורה 3: | ||
monthtable = { | monthtable = { | ||
["תשרי"] = 7, [" | ["תשרי"] = 7, ["חשון"] = 8, ["כסלו"] = 9, ["טבת"] = 10, | ||
["שבט"] = 11, ["אדר א'"] = 12, ["אדר ב'"] = 13, ["אדר"] = 13, | ["שבט"] = 11, ["אדר א'"] = 12, ["אדר ב'"] = 13, ["אדר"] = 13, | ||
["ניסן"] = 1, ["אייר"] = 2, [" | ["ניסן"] = 1, ["אייר"] = 2, ["סיון"] = 3, ["תמוז"] = 4, | ||
["אב"] = 5, ["אלול"] = 6, | ["אב"] = 5, ["אלול"] = 6, | ||
} | } | ||
typomonthtable = {[" | typomonthtable = { | ||
["חשוון"] = "חשון", | |||
["כסליו"] = "כסלו", | |||
["סיוון"] = "סיון", | |||
["מרחשון"] = "חשון", | |||
["מרחשוון"] = "חשון", | |||
["מר-חשוון"] = "חשון", | |||
["מנחם אב"] = "אב", | |||
["מנחם-אב"] = "אב", | |||
["שבט (חודש)|שבט"] = "שבט", | |||
["שבט (חודש)"] = "שבט", | |||
} | } | ||
שורה 51: | שורה 57: | ||
function mindate(fix) | function mindate(fix) | ||
local indenttable = {176, 206, 235, 265, 294, 324, 0, 30, 59, 88, 117, 147, 147} | local indenttable = {176, 206, 235, 265, 294, 324, 0, 30, 59, 88, 117, 147, 147} | ||
return same("28-08-" .. takeyear(fix[3]) .. " + " .. (indenttable[monthtable[sub1(fix[2], | return same("28-08-" .. takeyear(fix[3]) .. " + " .. (indenttable[monthtable[sub1(fix[2], 1)]] | ||
+ hebnum(fix[1]) - 1) .. " days") | + hebnum(fix[1]) - 1) .. " days") | ||
end | end | ||
שורה 151: | שורה 157: | ||
local year = makeyear(gdate) | local year = makeyear(gdate) | ||
if frame.args["links"] == "yes" | if frame.args["links"] == "yes" | ||
then return "[[" .. frame:callParserFunction("#זמןמ:j | then return "[[" .. frame:callParserFunction("#זמןמ:F j", gdate) .. "]] [[" | ||
.. year .. "]]" end | .. year .. "]]" end | ||
return frame:callParserFunction("#זמןמ:j | return frame:callParserFunction("#זמןמ:F j", gdate) .. " " .. year | ||
end | end | ||
שורה 398: | שורה 404: | ||
function tohebrewmonth(wdate) | function tohebrewmonth(wdate) | ||
if frame.args["exact"] == "כן" | if frame.args["exact"] == "כן" | ||
then return tohebrewdate(" | then return tohebrewdate("15 " .. wdate, frommonth) end | ||
local date1 = tohebrewdate(" | local date1 = tohebrewdate("1 " .. wdate, same) | ||
local month1 = fromonlymonth(date1) | local month1 = fromonlymonth(date1) | ||
local year1 = fromyear(date1) | local year1 = fromyear(date1) | ||
local date2 = same(date1 .. " + 31 days") | local date2 = same(date1 .. " + 31 days") | ||
date2 = tomonth(date2) | date2 = tomonth(date2) | ||
date2 = tohebrewdate(" | date2 = tohebrewdate("1 " .. date2, same) | ||
date2 = same(date2 .. " - 1 days") | date2 = same(date2 .. " - 1 days") | ||
local month2 = fromonlymonth(date2) | local month2 = fromonlymonth(date2) | ||
שורה 520: | שורה 526: | ||
local habout = false | local habout = false | ||
local wabout = false | local wabout = false | ||
if frame:expandTemplate{title = "עלטער/מקורב", args = {str = hebrew}} ~= "" | if frame:expandTemplate({title = "עלטער/מקורב", args = {str = hebrew}}) ~= "" | ||
then hebrew = "" | then hebrew = "" | ||
habout = true end | habout = true end | ||
if frame:expandTemplate{title = "עלטער/מקורב", args = {str = world}} ~= "" | if frame:expandTemplate({title = "עלטער/מקורב", args = {str = world}}) ~= "" | ||
then world = "" | then world = "" | ||
wabout = true end | wabout = true end |
רעדאגירונגען