Anonymous
×
Create a new article
Write your page title here:
We currently have 97 articles on The Dream Shrine. Type your article name above or click on one of the titles below and start writing!



The Dream Shrine
Revision as of 10:02, 6 August 2024 by MagicPixieDreamGirl (talk | contribs) (Created page with "local p = {} local LuaCache = mw.ext.LuaCache function p.get(key) return LuaCache and LuaCache.get(key) end function p.set(key, value) if LuaCache then LuaCache.set(key, value) end end function p.setMulti(entries) if LuaCache then LuaCache.setMulti(entries) end end function p.delete(key) if LuaCache then LuaCache.delete(key) end end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}

local LuaCache = mw.ext.LuaCache

function p.get(key)
	return LuaCache and LuaCache.get(key)
end

function p.set(key, value)
	if LuaCache then
		LuaCache.set(key, value)
	end
end

function p.setMulti(entries)
	if LuaCache then
		LuaCache.setMulti(entries)
	end
end

function p.delete(key)
	if LuaCache then
		LuaCache.delete(key)
	end
end

return p