User:2ABot/global.js

importArticle({type:'script', article:'w:c:dev:UserTags/code.js'}); window.UserTagsJS = { modules: {} }; /* Users who are not longer than 5 days on the wiki, haven't made more than 10 edits and the edits have to be made on articles */ UserTagsJS.modules.newuser = { days: 3, // Must have been on the Wiki for 3 days edits: 5, // And have at least 5 edits to remove the tag namespace: 0 // Edits must be made to articles to count }; /* Users who aren't longer than 4 days on Wikia and haven't made somewhere on Wikia more than 10 edits */ UserTagsJS.modules.autoconfirmed = true; // Switch on /* Users who haven't made an edit for 30 days */ UserTagsJS.modules.inactive = 30; // 30 days /* View IP-address of anonymous editors */ importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] }); /* Categories */ massCategorizationDelay = 3000; importScriptPage('MassCategorization/code.js', 'dev'); /* Sending Multiple Messages */ importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js'    ] }); /* Fast doing admin actions */ importScriptPage('WHAM/code.2.js', 'dev'); "w:c:dev:WHAM/code.js", /* Admin/Mod Tools */ importArticles({	type: "script",	articles: [		"u:dev:QuickModTools/loader.js"	] }); QuickModTools = { quickreasons: [ "Spam", "Vandalism", "Inappropriate", "Swearing" ],	defbanreason: "-" } importArticles( {   type: 'script',    articles: [        // ...        'u:dev:ChatBlockButton/code.js',        // ...    ] } ); /* Switching Skin */ importScriptPage('SkinSwitchButton/code.js', 'dev'); /* Deleting Pages */ importScriptPage('AjaxBatchDeleteV2/code.js', 'dev'); /* Purging */ importArticle({   type: 'script',    article: 'u:dev:NullEditButton/code.js' }); /* Last Edit Information */ importArticles( {   type: 'script',    articles: [        // ...        'u:dev:LastEdited/code.js',        // ...    ] } ); window.lastEdited = { position: 'top', size: false, diff: true, comment: false, time: true }; /* Reverting Renamed Pages */ importScriptPage('MassRenameRevert/code.js', 'dev');

/* Solving Double/Broken Redirects */ importScriptPage('RedirectManagement/code.js', 'dev'); /* Renaming Categories */ importScriptPage("CategoryRenameAuto-update/code.js", "dev"); /* Rename Pages */ importScriptPage( 'AjaxRename/code.js', 'dev' ); /* Updating links when renaming a page */ importScriptPage("PageRenameAuto-update/code.js", "dev"); /* Category Stuff */ importScriptPage("MediaWiki:Gadget-HotCat.js", "a"); /* Deleting Stuff */ batchDeleteDelay = 1000; importScriptPage('AjaxBatchDelete/code.2.js', 'dev'); /* Undo Stuff */ importScriptPage( 'AjaxUndo/code.js', 'dev' ); /* Undelete Stuff */ importArticle({   type: 'script',    article: 'u:dev:AjaxBatchUndelete/code.js' }); /* Patrolling Edits */ importScriptPage('AjaxPatrol/code.js', 'dev' ); /* Deleting Pages from Page */ window.fdButtons = []; window.fdButtons[window.fdButtons.length] = { summary: 'Housekeeping', label: 'HK' }; window.fdButtons[window.fdButtons.length] = { summary: 'Empty', label: 'E' }; window.fdButtons[window.fdButtons.length] = { summary: 'Vandalism', label: 'V' }; window.fdButtons[window.fdButtons.length] = { summary: 'Spam', label: 'S' }; window.fdButtons[window.fdButtons.length] = { summary: 'Advertizing', label: 'A' }; importArticles( {   type: 'script',    articles: [        // ...        'u:dev:FastDelete/code.js',        // ...    ] } ); /* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Back to top Button */ importArticles({   type: "script",    articles: [        // Back to top button        "w:c:dev:BackToTopButton/code.js"    ] }); /* SearchSuggest */ importArticles({   type: 'script',    articles: [        'u:dev:SearchSuggest/code.js'    ] }); /* Adds cancel button above edit screen */ importScriptPage('MediaWiki:Wikia.js/cancelButton.js', 'admintools'); // Adding "My Contributions" to user menu. // Function: Adds "My Contributions" to the UserDropdownMenu. function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('My Contributions'); } addOnloadHook(UserContribsMenuItem); function onloadhookcustom { var replace = document.getElementById("OnlineChat"); if (null != replace) { var getvalue = replace.getAttribute("class"); } } /* Mark for Deletion */ importArticles({   type: "script",    articles: [        "u:dev:MarkForDeletion/code.js"    ] }); /* Duplicate Images List */ importScriptPage('DupImageList/code.js', 'dev'); /* Auto Edit Pages */ importArticles({   type: 'script',    articles: [        'u:dev:AutoEditPages/code.js'    ] });