890
pakeitimų
SNėra keitimo santraukos |
SNėra keitimo santraukos |
||
| 61 eilutė: | 61 eilutė: | ||
-- used by year func | -- used by year func | ||
local looporder = { | local looporder = { | ||
{ 'November', 30 }, | { 'November', 30 }, | ||
{ 'October', 31 }, | { 'October', 31 }, | ||
| 72 eilutė: | 71 eilutė: | ||
{ 'March', 31 }, | { 'March', 31 }, | ||
{ 'February', 29 }, | { 'February', 29 }, | ||
{ 'January', 31 } | { 'January', 31 }, | ||
{ 'December', 31 } | |||
} | } | ||
| 209 eilutė: | 209 eilutė: | ||
if hc(url) then | if hc(url) then | ||
if url == 'no' then | if url == 'no' then | ||
link = 'oficialus | link = 'oficialus' | ||
else | else | ||
link = '[' .. url .. ' oficialus | link = '[' .. url .. ' oficialus]' | ||
end | end | ||
else | else | ||
| 229 eilutė: | 229 eilutė: | ||
local date_link, day, month, year | local date_link, day, month, year | ||
if hc(a.date) then | if hc(a.date) then | ||
day = lang:formatDate('d', a.date) -- Day with leading zeros | |||
month = lang:formatDate('m', a.date) -- Month with leading zeros | |||
year = lang:formatDate('Y', a.date) -- Four-digit year | |||
date_link = string.format('[[%s-%s-%s]]', year, month, day) -- Format as yyyy-MM-dd | |||
else | else | ||
date_link = '(nenurodyta)' -- If no date is provided | |||
end | end | ||
| 246 eilutė: | 246 eilutė: | ||
if url == 'no' then | if url == 'no' then | ||
postDateInfo = ' | postDateInfo = 'Šis straipsnis buvo sukurtas ' .. date_link .. ', bet vėliau buvo panaikintas.' | ||
else | else | ||
postDateInfo = ' | postDateInfo = 'Šis straipsnis buvo sukurtas ' .. date_link .. '.' | ||
end | end | ||
| 263 eilutė: | 263 eilutė: | ||
--OSRS updates | --OSRS updates | ||
else | else | ||
message = ' ir priklauso MCSlime.LT projektui | message = ' ir priklauso MCSlime.LT projektui.' | ||
website = ' | website = '' | ||
end | end | ||
div:wikitext('Šis ' .. link .. message) | div:wikitext('Šis straipsnis ' .. link .. message) | ||
:tag('span') | :tag('span') | ||
:addClass('plainlinks') | :addClass('plainlinks') | ||