Módulo:GameText/loaddata-es
Ir a la navegación
Ir a la búsqueda
La documentación para este módulo puede ser creada en Módulo:GameText/loaddata-es/doc
-- This cache is set in Module:GameText/db-es
-- Note:
-- If a template that's being used by large number of page changed, it will causing all of these page's cache to be invalidated and requires regeneration.
-- This may crash wiki platform and cause visitor get 5xx error. So we use luacache to decouple data template and template which uses it.
-- By doing this, editing on data template won't cause massive pages to be regenerated.
local cache = require 'mw.ext.LuaCache'
info = cache.get(':_gametext:data:es')
if not info then
require('Module:GameText/db-es').purge()
info = cache.get(':_gametext:data:es') or {}
end
return info