Content deleted Content added
default size |
JamesLucas (talk | contribs) publishing from sandbox new code written by Frietjes to address MOS:NEGATIVE violations as discussed here |
||
Line 52:
local function parsetime(s)
if(s and s ~= '') then
local min = s:match('^%s*(
local sec = s:match('^%s*
if( min and sec ) then
return tostring(tonumber(min)*60 + tonumber(sec)) .. ' sec' ..
Line 74:
local function loadsolardb(frame, s)
local yearstr = s:match('^%s*(
local function setarg(k, v)
if(v and v ~= '') then
v = mw.ustring.gsub(v, '^%s*%-(%d)', '−%1')
args[k] = v
end
end
if( yearstr ~= '' ) then
|