Module:GameData: Difference between revisions
From SpiritVale Wiki
More actions
Created page with "local p = {} -- In-memory cache so we only parse each JSON page once local cache = {} local function decodeJsonPage(titleText) if cache[titleText] then return cache[titleText] end local title = mw.title.new(titleText) if not title then cache[titleText] = { meta = {}, records = {}, byId = {} } return cache[titleText] end local content = title:getContent() if not content or content == '' then cache[titleText]..." |
m Protected "Module:GameData" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
(No difference)
| |||