Module:Solar eclipse: Difference between revisions

Content deleted Content added
allow 2 to work as well for compatibility with old solardb
No edit summary
Line 36:
end
if( yearstr ~= '' ) then
local dbsubpage = math.floor( (tonumber(yearstr) - 1) / 1050 ) * 5
local dbpage = data_module_prefix .. tostring( dbsubpage )
if (mw.title.new(dbpage)) then