Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
m (Everything broke, so I hope this fixes it.) |
m (Both are not working at the same time) |
||
Line 4: | Line 4: | ||
local aliasData = { | local aliasData = { | ||
vanillaAliases = [[Module:InventorySlot/Aliases]], | vanillaAliases = mw.loadData([[Module:InventorySlot/Aliases]]), | ||
gm4Aliases = [[Module:Gm4Sprite/Aliases]] | gm4Aliases = mw.loadData([[Module:Gm4Sprite/Aliases]]) | ||
} | } | ||
Line 66: | Line 66: | ||
if type == "gm4" then | if type == "gm4" then | ||
aliases = | aliases = aliasData.gm4Aliases | ||
else | else | ||
aliases = | aliases = aliasData.vanillaAliases | ||
end | end | ||
edits