בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,390
רעדאגירונגען
ק (1 רעוויזיע אימפארטירט פון wikipedia:he:יחידה:תאריך_עברי) |
(אידיש) |
||
| שורה 1: | שורה 1: | ||
mtable = {" | mtable = {"יאנואר", "פעברואר", "מערץ", "אפריל", "מאי", "יוני", | ||
"יולי", " | "יולי", "אויגוסט", "סעפטעמבער", "אקטאבער", "נאוועמבער", "דעצעמבער", } | ||
monthtable = { | monthtable = { | ||
| שורה 151: | שורה 151: | ||
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("#זמןמ:j F", gdate) .. "]] [[" | ||
.. year .. "]]" end | .. year .. "]]" end | ||
return frame:callParserFunction("#זמןמ:j | return frame:callParserFunction("#זמןמ:j F", gdate) .. " " .. year | ||
end | end | ||
| שורה 230: | שורה 230: | ||
function aserror(message) | function aserror(message) | ||
error(message .. "[[קאטעגאריע:בלעטער מיט | error(message .. "[[קאטעגאריע:בלעטער מיט דאטום פעלערן]]", 0) | ||
end | end | ||
| שורה 289: | שורה 289: | ||
function fromhebrewyear(hyear) | function fromhebrewyear(hyear) | ||
ans = fromhebrewdate("א' | ans = fromhebrewdate("א' ניסן " .. hyear, toyear) | ||
if frame.args["exact"] ~= "כן" | if frame.args["exact"] ~= "כן" | ||
then ans = ans .. "-" .. fromhebrewdate("א' | then ans = ans .. "-" .. fromhebrewdate("א' תשרי " .. hyear, toyear) | ||
end | end | ||
return ans | return ans | ||
| שורה 381: | שורה 381: | ||
then return ifwhich(res) | then return ifwhich(res) | ||
elseif frame.args["about"] == "כן" and | elseif frame.args["about"] == "כן" and | ||
frame:expandTemplate({title = " | frame:expandTemplate({title = "עלטער/מקורב", args = {str = frame.args[1]}}) ~= "" | ||
then return ifwhich(frame.args[1], "[[קאטעגאריע: | then return ifwhich(frame.args[1], "[[קאטעגאריע:בלעטער מיט תאריך עברי מקורב]]") | ||
elseif frame.args["error"] == nil | elseif frame.args["error"] == nil | ||
then return aserror(res) end | then return aserror(res) end | ||
| שורה 520: | שורה 520: | ||
local habout = false | local habout = false | ||
local wabout = false | local wabout = false | ||
if frame:expandTemplate({title = " | if frame:expandTemplate({title = "עלטער/מקורב", args = {str = hebrew}}) ~= "" | ||
then hebrew = "" | then hebrew = "" | ||
habout = true end | habout = true end | ||
if frame:expandTemplate({title = " | if frame:expandTemplate({title = "עלטער/מקורב", args = {str = world}}) ~= "" | ||
then world = "" | then world = "" | ||
wabout = true end | wabout = true end | ||
| שורה 543: | שורה 543: | ||
then return res | then return res | ||
elseif frame.args["about"] == "כן" and | elseif frame.args["about"] == "כן" and | ||
frame:expandTemplate({title = " | frame:expandTemplate({title = "עלטער/מקורב", args = {str = wdate}}) ~= "" | ||
then return ifwhich(frame.args[1], "[[קאטעגאריע: | then return ifwhich(frame.args[1], "[[קאטעגאריע:בלעטער מיט תאריך מקורב]]") | ||
elseif frame.args["error"] == nil | elseif frame.args["error"] == nil | ||
then return aserror(res) end | then return aserror(res) end | ||
רעדאגירונגען