Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(let's try this again... moving alias check to Sprite:setItem (double alias attempt #5)) |
(initialize aliases variable? (double alias attempt #5.1)) |
||
Line 11: | Line 11: | ||
local vanillaAliases = mw.loadData( aliasData.vanillaAliases ) | local vanillaAliases = mw.loadData( aliasData.vanillaAliases ) | ||
local gm4Aliases = mw.loadData( aliasData.gm4Aliases ) | local gm4Aliases = mw.loadData( aliasData.gm4Aliases ) | ||
local aliases | |||
local types = { | local types = { | ||
Line 126: | Line 127: | ||
-- set aliases | -- set aliases | ||
if type == "gm4" then | if type == "gm4" then | ||
aliases = gm4Aliases | |||
else | else | ||
aliases = vanillaAliases | |||
end | end | ||
-- js-less plaintext title | -- js-less plaintext title |
edits