User:2Actimv/global.js

/* Quick Tools */ var QuickToolsAdvancedtop = false; importArticles({   type: 'script',    articles: [        'u:dev:QuickToolsv2/code.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: 2, // Must have been on the Wiki for 3 days edits: 2, // And have at least 5 edits to remove the tag namespace: 1 // 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:MediaWiki:RevealAnonIP/usercode.js"    ] });

/* Categories */ importScriptPage('MassCategorization/code.js', 'dev');

/* Sending Multiple Messages */ importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js'    ] });

/* Fast doing admin actions */ WHAMDelay = 100; importScriptPage('WHAM/code.2.js', 'dev'); /* Admin/Mod Tools */ importArticles({	type: "script",	articles: [		"u:dev:QuickModTools/code.js"	] });

QuickModTools = { quickreasons: [ "Spam", "Vandalism", "Inappropriate", "Swearing" ],	defbanreason: "-" }

/* See Diffs Quickly */ importScriptPage('DiffAnchored/code.js', 'dev');

/* Faster Rollbacking */ importScriptPage('AnchoredRollback/code.js', 'dev');

/* 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 = { avatar: false, position: 'top', size: false, diff: true, comment: false, time: true };

/* View Removed Messages */ importScriptPage('ViewRemoved/code.js', 'dev');

/* Multi Upload */ var MultiUploadoption = { max: 100 };

importScriptPage("MultiUpload/code.js", "dev");

/* Redirecting */ importScriptPage('AjaxRedirect/code.js', 'dev');

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

/* Faster Ban Module */ importArticles( {   type: 'script',    articles: [        // ...        'u:dev:FasterBanModule/code.js',        // ...    ] } );