No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
Line 65: | Line 65: | ||
/* Admin/Mod Tools */ |
/* Admin/Mod Tools */ |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | |||
QuickModTools = { |
QuickModTools = { |
||
quickreasons: [ |
quickreasons: [ |
||
Line 81: | Line 74: | ||
defbanreason: "-" |
defbanreason: "-" |
||
} |
} |
||
+ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
/* See Diffs Quickly */ |
/* See Diffs Quickly */ |
Latest revision as of 10:27, 26 February 2017
/* Nuke: deleting stuff from rc and contributions */
importScriptPage('MediaWiki:Nuke/code.js', 'dev');
/* Rollbacking stuff */
importScriptPage('MediaWiki:Rollback/code.js', 'dev');
/* Quick creating user pages */
importScriptPage('MediaWiki:QuickCreateUserPage/code.js', 'dev');
var qtEnableUserPageOverwrite = true;
/* Quick creating message wall greeting */
importScriptPage('MediaWiki:QuickCreateMessageWallGreeting/code.js', 'dev');
var qtEnableMessageWallGreetingOverwrite = true;
/* 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 1 day on the wiki, haven't made more than 2 edits and edits can be made everywhere */
UserTagsJS.modules.newuser = {
days: 1, // Must have been on the Wiki for 1 day
edits: 2, // And have at least 2 edits to remove the tag
namespace: 1 // Edits are made everywhere
};
/* 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 90 days */
UserTagsJS.modules.inactive = 90; // 90 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 */
QuickModTools = {
quickreasons: [
"Spam",
"Vandalism",
"Inappropriate",
"Swearing"
],
defbanreason: "-"
}
importArticles({
type: "script",
articles: [
"u:dev:QuickModTools/loader.js"
]
});
/* 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');
/* 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',
// ...
]
} );