全站通知:
模块:Test
刷
历
编
跳到导航
跳到搜索
-- crashfever 复制的,用于性能测试
local p = {}
-- 加载 JSON 数据
local jsonPage = mw.title.new('模块:Sprites/data/Abigail.json')
if not jsonPage or not jsonPage.exists then
return { main = function() return "" end }
end
local jsonContent = jsonPage:getContent()
local success, data = pcall(mw.text.jsonDecode, jsonContent)
if not success then
return { main = function() return "" end }
end
function p.main(frame)
-- do nothing
end
return p

沪公网安备 31011002002714 号