User:Brownlowe.2/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Tsukushi (talk | contribs)
m Username moved page User:Brownlowe.2/global.js to User:Brownlowe.2/common.js without leaving a redirect
Tsukushi (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
if ( (mw.config.get("wgDBname") !== "wikidatawiki") && (mw.config.get("wgDBname") !== "testwikidatawiki") ) { // Don't work in Wikidata
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
// 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');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal/load.js&action=raw&ctype=text/javascript');
}
}
importScript('User:Enterprisey/script-installer.js');

Latest revision as of 16:01, 11 May 2024

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/load.js&action=raw&ctype=text/javascript');
}