Content deleted Content added
BDavis (WMF) (talk | contribs) Copy from Module:Version&oldid=2174531 |
BDavis (WMF) (talk | contribs) Pick the oldest LTS candidate as the real LTS |
||
Line 10:
p.isthereabeta = false
-- OKAY YOU CAN STOP NOW
-- Iterate a table in reverse
-- from http://lua-users.org/wiki/IteratorsTutorial
function ripairs(t)
local function ripairs_it(t,i)
i=i-1
local v=t[i]
if v==nil then return v end
return i,v
end
return ripairs_it, t, #t+1
end
p.releases = releases
Line 50 ⟶ 62:
version = versions[#versions-1]
elseif release == "lts" then
for i,v in
-- this might not be right.
if p.islts(v) then
|