Module:Updates: Difference between revisions

m
Reverted edits by Taylor (talk) to last revision by [[User:en>CephHunter|en>CephHunter]]
No edit summary
Tag: Reverted
m (Reverted edits by Taylor (talk) to last revision by [[User:en>CephHunter|en>CephHunter]])
Tag: Rollback
 
(One intermediate revision by the same user not shown)
Line 68: Line 68:
local data = lookup(year..' updates')
local data = lookup(year..' updates')
data = data[tonumber(year)]
data = data[tonumber(year)]
local gameUpdQ = mw.smw.ask{ '[[Category:' .. year .. ' updates]][[Category:WIDEVERSE updates]]', '?#-'}
local gameUpdQ = mw.smw.ask{ '[[Category:' .. year .. ' updates]][[Category:Game updates]]', '?#-'}
local gameUpdates = {}
local gameUpdates = {}
if gameUpdQ == nil then
if gameUpdQ == nil then
Line 76: Line 76:
table.insert(gameUpdates, v[1])
table.insert(gameUpdates, v[1])
end
end
local ret = {'Titles in bold indicate a [[WIDEVERSE updates|WIDEVERSE update]].'}
local ret = {'Titles in bold indicate a [[Game updates|game update]].'}
local data_m, data_d
local data_m, data_d
for _,m in ipairs(looporder) do
for _,m in ipairs(looporder) do