User:Syde BOT/global.js

// 06:17, October 3, 2016 (UTC) //  //Add extra AccountNav options /* */   if (navLinks) return; var user = mw.util.wikiUrlencode(mw.config.get('wgUserName')), links = { contribs: { text: 'My Contributions', url: '/wiki/Special:Mycontributions' },       blogs: { text: 'My Blogs', url: '/wiki/User_blog:' + user },       watchlist: { text: 'My Watchlist', url: '/wiki/Special:Watchlist' },       followed: { text: 'My Followed Pages', url: '/wiki/Special:Following' }   },        html = '', navLinks = true; for (var i in links) { html += '' + links[i].text + ''; }   document.querySelector('.wds-global-navigation__user-menu .wds-list > li:nth-child(2)').insertAdjacentHTML('afterEnd', html); }); /* // EDIT INTRO BUTTON importScriptPage('EditIntroButton/code.js', 'dev'); // END INTRO BUTTON // AUTO-REFRESH RECENT CHANGES AND WIKI-ACTIVITY AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges", "Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); // END AUTO-REFRESH // REFRESH DROP-DOWN MENU OPTION importScriptPage('PurgeButton/code.js', 'dev'); // END REFRESH BUTTON // The options need to be set before the import! Otherwise they may not work. importArticles({ type:'script', articles: [ // ...		'w:c:dev:UserTags/code.js', // ...	] }); window.UserTagsJS = {	modules: {},	tags: {		assistant: 'Assistant'	},	oasisPlaceBefore: '' }; importArticle({type:'script', article:'w:c:dev:UserTags/code.js'}); UserTagsJS.modules.inactive = 90; UserTagsJS.modules.newuser = true; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'assistant', 'rollback', 'chatmoderator', 'moderator', 'bannedfromchat']; /* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /* HideRail */ importScriptPage('HideRail/code.js', 'dev');
 * (function {

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