Module:Sprite: Difference between revisions

Jump to navigation Jump to search
initialize aliases variable? (double alias attempt #5.1)
(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
         local aliases = gm4Aliases
         aliases = gm4Aliases
     else
     else
         local aliases = vanillaAliases
         aliases = vanillaAliases
     end
     end
-- js-less plaintext title
-- js-less plaintext title
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits

Navigation menu