User:0Michael105/common.js

/* -- */ /*                                Welcome                                    */ /* -- */ /*           This code loads when I visit any page on this wiki. */ /*                                                                           */ /*  Feel free to take anything from here, but please be sure to attribute this*/ /* page, or the original author. See Licensing for more details. */ /*                                                                           */ /*                           Thanks, 0Michael105                              */

/* -- */ /*                          Configure JavaScript                             */ /* -- */ // FastBlock configuration window.FastBlock = [{ label: 'V', expiry: '1 month', reason: 'Vandalism', autoblock: '1' },	{		label: 'VAF', expiry: '1 month', reason: 'Attempted vandalism caught by abuse filter', autoblock: '1' },	{		label: 'H', expiry: '3 months', reason: 'Harassment', autoblock: '1' },	{		label: 'U1', expiry: '1 year', reason: 'User is underage', autoblock: '1' },	{		label: 'U2', expiry: '2 years', reason: 'User is underage', autoblock: '1' },	{		label: 'UW1', expiry: '1 year', reason: 'User is underage (aeb web.roblox.com links)', autoblock: '1' },	{		label: 'UW2', expiry: '2 years', reason: 'User is underage (aeb web.roblox.com links)', autoblock: '1' },	{		label: 'SOCK', expiry: 'indefinite', reason: 'Block bypassing', autoblock: '1' },	{		label: 'ADC', expiry: 'indefinite', reason: 'Adult content', autoblock: '1' } ];

// FastDelete configuration window.FastDeleteNoConfirm = false;

var fdButtons = [{ 'summary': 'Non-notable topic', 'label': 'Non-notable topic' },	{		'summary': 'Vandalism', 'label': 'Vandalism' },	{		'summary': 'Spam', 'label': 'Spam' },	{		'summary': 'Cleanup', 'label': 'Cleanup' },	{		'summary': 'Low-effort page', 'label': 'Low-effort page' },	{		'summary': 'Unused file', 'label': 'Unused file' } ];

// MessageBlock configuration var MessageBlock = { title: 'Blocked', message: '{' + '{subst:#invoke:BlockMessages|main|reason=$1|expiry=$2}' + '}', autocheck: true // set to false if automatic block messages are not desired };

/* -- */ /*                           Import JavaScript                               */ /* -- */ importArticles({	type: 'script',	articles: [		'u:dev:MediaWiki:FastBlock.js',		'u:dev:MediaWiki:JWB/load.js',		'u:dev:MediaWiki:RedirectManagement/code.js'	] });