User:Acme Gamer/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:EntityConvert/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:YouShallNotPass/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CheckJStatus.js',    ] });

/* QuickAccessToCSSAndJS * Original code by User:JPhil2.0 (can be found in https://community.wikia.com/wiki/User:JPhil2.0/global.js?diff=2017878&oldid=2017872) * Modified and fixed by User:Ultragustavo25 and User:Doork */ $(function {    var user = mw.config.get('wgUserName'),        i18n;    if ( window.QuickAccessToCSSAndJSLoaded || user === null ) {       return;    }    window.QuickAccessToCSSAndJSLoaded = true;    var links = {        js: 'https://community.fandom.com/wiki/User:' + user + '/global.js',        css: 'https://community.fandom.com/wiki/User:' + user + '/global.css',        localcommoncss: mw.util.getUrl('User:' + user + '/common.css'),        localcommonjs: mw.util.getUrl('User:' + user + '/common.js'),    };    function addLink(linkName) {        $('').append( $('', {               href: links[linkName],                text: i18n.msg(linkName).plain            }) ).insertBefore('.wds-global-navigation__user-menu li:last');   }    mw.hook('dev.i18n').add(function(i18njs) { i18njs.loadMessages(           'QuickAccessToCSSAndJS'        ).then(function(i18nData) {            i18n = i18nData;            Object.keys(links).forEach(addLink);        }); });   if (!window.dev || !window.dev.i18n) {        importArticle({ type: 'script', article: 'u:dev:MediaWiki:I18n-js/code.js' });   } }); /* (function  {    if (window.NavCodeLinksLoaded) {        return;    }    window.NavCodeLinksLoaded = true;    $('.wds-global-navigation__user-menu .wds-list').prepend( ['css', 'js'].map(function(ext) {           return $('', { append: $('', {                   'href': mw.util.getUrl('MediaWiki:Common.' + ext),                    text: 'Common ' + ext.toUpperCase                }) });       })    ); });
 * NavCodeLinks
 * Adds Wiki's CSS and JS link to navigation dropdown
 * @author Monochromatic Bunny

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnalyticsShortcut.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CodeSelectAll.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DisableCode/code.js',    ] });

// I will need this a lot I guess lol importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FastBlock.js',    ] });

window.FastBlock = [ {       label: '2nd Ban', expiry: '1 week', reason: 'Vandalism' },   {        label: '3rd Ban', expiry: 'infinite', reason: 'Vandalism', } ];

//For adding notes importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NotesModule/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UserAndIPTools.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CategoryQuickRemove.js',    ] });

/*importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AddButtonVideo/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AddButtonsPhoto/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CodeLinksDropdown.js',    ] });

//Ibettercheckthisonelol importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:EmojiUserNav.js',    ] });

//VSTF and Dev links. importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NavLinks/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:Quick Management/code.js',    ] });

//user name availibity importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UsernameAvailability/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UserActivityLink.js',    ] });

//Test mode, which is cool! ^^ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MinimalTestModeAlert.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UsefulDropdown/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RedirectManagement/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QQX/code.js',    ] });

// >~> importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickTools/code.js',    ] });