Module:User/JsonProbe

From Foxopedia
Revision as of 03:16, 12 August 2025 by Jterlecki (talk | contribs) (Created page with "local p = {} function p.run() if type(mw.ext) == 'table' and type(mw.ext.data) == 'table' and type(mw.ext.data.get) == 'function' then return 'JsonConfig Lua: OK' else return 'JsonConfig Lua: MISSING' end end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:User/JsonProbe/doc

local p = {}
function p.run()
  if type(mw.ext) == 'table' and type(mw.ext.data) == 'table' and type(mw.ext.data.get) == 'function' then
    return 'JsonConfig Lua: OK'
  else
    return 'JsonConfig Lua: MISSING'
  end
end
return p