Difference between revisions of "User:Brownlowe.2/global.js"

From Test Wiki
(Created page with "if ( (mw.config.get("wgDBname") !== "wikidatawiki") && (mw.config.get("wgDBname") !== "testwikidatawiki") ) { // Don't work in Wikidata // Fork of Twinkle intended to work...")
 
 
Line 3: Line 3:
 
     mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
 
     mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
 
}
 
}
 +
importScript('User:Enterprisey/script-installer.js');

Latest revision as of 17:54, 19 February 2020

if ( (mw.config.get("wgDBname") !== "wikidatawiki") && (mw.config.get("wgDBname") !== "testwikidatawiki") ) { // Don't work in Wikidata
    // Fork of Twinkle intended to work on as many wikis as possible
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
}
importScript('User:Enterprisey/script-installer.js');