模組:Unblock-zh backlog statistics
外观
local p = {}
local JSONObject = require('Module:JSONObject')
function p.linksList(frame)
local page = mw.title.new( 'Template:Unblock-zh backlog statistics/data.json' )
local content = page:getContent()
local object = mw.text.jsonDecode( content )
local result = ''
for k, v in pairs(object['links']) do
result = result .. '* ' .. v['date'] .. ' ' .. v['link'] .. '\n'
end
return result
end
return p