-- For unit tests, see
local me =
local config
-- if mw.loadData not supported, use require insteadif mw.loadData then config = mw.loadData('Module:Sandbox/isaacl/ExpandPageAbbreviation/data')else config = require('Module:Sandbox/isaacl/ExpandPageAbbreviation/data')end
me.phraseForAbbr = config.phraseForAbbr
function me._expand(abbr) if me.outputForAbbr[abbr] ~= nil then return me.outputForAbbr[abbr] else local outputString if me.phraseForAbbr[abbr]
function me.expand(frame) local abbr = frame.args[1] return me._expand(abbr)end
return me