User:C.Syde65/global.js

// 06:57, April 11, 2016 (UTC) // 

// Add Special:Contributions, Special:Watchlist, & Special:Following to AccountNavigation in Wikia skin importScriptPage('MediaWiki:Wikia.js/accountNavigation.js', 'admintools'); // END Add Special:Contributions, Special:Watchlist, & Special:Following to AccountNavigation in Wikia skin

// 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');

/* Rollback Code */ importScriptPage('MediaWiki:Rollback/code.js', 'dev');

// Adds NavigationPopups // wikipedia:User:Lupin/popups mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400"); popupRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertSummary = 'Revert to revision $1 dated $2 by $3 using popups'; popupExtendedRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertToPreviousSummary = 'Revert to the revision prior to revision $1 dated $2 by $3 using popups'; popupRevertToPreviousSummary = 'Revert to the revision prior to revision %s using popups'; popupRevertSummaryPrompt = true; popupStructure = 'menus'; popupFixDabs = 'true'; popupFixDabsSummary = 'Disambiguate %s to %s using popups'; popupRmDabLinkSummary = 'Remove link to dab page %s using popups'; // END Adds NavigationPopups // install User:Cacycle/wikEdDiff enhanced diff importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript'); // Add RevealAnonIP importArticle({type:'script', article:'w:c:dev:RevealAnonIP/code.js'}); // END Add RevealAnonIP

importScriptPage('MediaWiki:ChatTags/code.js', 'shining-armor'); var loadedTester = setInterval(function {  if(typeof mainRoom !== "undefined") {       importScriptPage("MediaWiki:JacobsLadderSuite.js","d97"); // import the API       setTimeout(function { importScriptPage("MediaWiki:TitleNotifications.js","d97"); },500);      clearInterval(loadedTester);   } },100);

if (window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) { var pname = window.location.pathname.split('Special:InfoboxBuilder/')[1];  location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+pname+'?action=edit&useeditor=source'));  }