Module:GameText/loaddata-pt

-- This cache is set in Module:GameText/db-pt -- Problem: If a template/module that is used by a large number of pages is changed, it will cause all of those page's cache to be invalidated and require regeneration. --			This may crash the wiki platform and cause the user to get a 5xx error. -- Solution: We use luacache to decouple the data and the template/module which uses it. --			By doing this, changing a data module will not cause massive pages to be regenerated. local cache = require 'mw.ext.LuaCache' info = cache.get(':_gametext:data:pt') if not info then require('Module:GameText/db-pt').purge info = cache.get(':_gametext:data:pt') or {} end return info