Difference between revisions of "MediaWiki:Common.js"

From Tycoon Gaming
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: mw.loader.load( '/wiki/index.php?title=MediaWiki:Tooltips.js&action=raw&ctype=text/javascript' );")
 
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.load( '/wiki/index.php?title=MediaWiki:Tooltips.js&action=raw&ctype=text/javascript' );
+
importArticles({
 +
    type: 'script',
 +
    articles: [
 +
        'https://dev.fandom.com/wiki/Tooltips.js',
 +
    ]
 +
});

Revision as of 23:21, 24 September 2019

/* Any JavaScript here will be loaded for all users on every page load. */
importArticles({
    type: 'script',
    articles: [
        'https://dev.fandom.com/wiki/Tooltips.js',
    ]
});