User:Gaia94/global.js

/***********************************************************************/ /***********************************************************************/ /************************** Table of Contents **************************/ /***********************************************************************/ /***********************************************************************/   Section 1 - Table of Contents Section 2 - FastBlock Section 3 - AjaxDelete Section 4 - Delete Userpage Section 5 - WikiActivity Section 6 - Imports /***********************************************************************/

/* FastBlock */ window.FastBlock = [ {       label: 'Vandal/2w', expiry: '2 weeks', reason: 'Vandalism' },   {        label: 'Vandal/2m', expiry: '2 months', reason: 'Vandalism' },   {        label: 'Spam/1w', expiry: '1 week', reason: 'Spam', },   {        label: 'Spam/1m', expiry: '1 month', reason: 'Spam', },   {        label: 'Harass/1y', expiry: '1 year', reason: 'Intimidating behaviour/harassment', },   {   label: 'Alt', expiry: 'infinite', reason: 'Abusing multiple accounts', },   {        label: 'Harass/noexp', expiry: 'infinite', reason: 'Intimidating behaviour/harassment', } ];/**/

/* AjaxDelete */ window.AjaxDelete = { deleteReasons: { 'Vandalism': 'Vandalism', 'Spam': 'Spam', 'Author request': 'Author request', 'Useless/unused template': 'Useless template', 'Duplicate template': 'Dupe-template', 'Unused/useless redirect': 'Redirect', 'Housekeeping: no longer needed': 'Housekeeping', },   imageDeleteReasons: { 'Offensive content': 'Offensive', 'Inappropriate/mature content': 'Inappropriate', 'Harassment': 'Harassment', 'Housekeeping; unused image': 'Unused', 'Copyright infringement': 'Copyright', 'Author request': 'Author request' }, };/**/

/* Delete Userpage */ window.DeleteUserpage = { noConfirm: true, protect: true, deleteReason: 'Infinitely blocked user', protectReason: 'Blocked user', expiry: '1 week' }/**/

/** WikiActivity **/ window.rwaOptions = { limit: 50, autoInit: true };/**/

/* Imports */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WikiActivity.js',        'u:dev:MediaWiki:AjaxEdit.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AllPagesHideRedirect/code.js',        'u:dev:MediaWiki:BlogLink/code.js',        'u:dev:MediaWiki:CodeLinksDropdown.js',        'u:dev:MediaWiki:ContribsButtons.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:DeleteUserpage.js',        'u:dev:MediaWiki:EditBio/code.js',        'u:dev:MediaWiki:EditsShare.js',        'u:dev:MediaWiki:FastBlock.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:GlobalEditcount/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:MassRename/code.js',        'u:dev:MediaWiki:PiniginsUserInfo/code.js', 'u:dev:MediaWiki:Quotes.js', 'u:dev:MediaWiki:RailWAM/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', ] }); /**/