User:Δ/monobook.js

$.fx.off = true;

if(mw.config.get('wgNamespaceNumber')==0) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/img_removal.py?title=' + encodeURIComponent(mw.config.get('wgPageName')), 'Check files');

if (mw.config.get('wgNamespaceNumber')==0) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/fix_refs?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fr=True', 'Fix Refs');

if (mw.config.get('wgNamespaceNumber')==2) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/fix_refs?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fr=True', 'Fix Refs');

importScript('User:Δ/NFCC alt.js');

$(function() {

var item = mw.util.addPortletLink('p-cactions',,'βsocks','ca-betasocks','Check socks with Betacommand\'s tool',,null);

var link=item.firstChild;

link.onclick = function() {

jsMsg('

'+

'

' +

'

Master<\/th><\/td><\/tr>' +

'

Socks<\/th><\/td><\/tr>' +

'

Key<\/th><\/td><\/tr>' +

'

Print<\/th><\/td><\/tr>' +

'

<\/td><\/tr><\/table>'+'<\/form>','betasocks');

return false;

};

});

importScript('User:Δ/Common.js');

importScript('User:Δ/Copyvio Detection Candidates.js');

importScript('User:Δ/Spam.js'); // Blog removal

importScript('User:AWeenieMan/furme.js');

mw.loader.load('https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

// background color of preview box

var previewBackground = '#ffffdd';

// loads the editor

importScript('User:Cacycle/editor.js');

importScript('User:AzaToth/twinkle.js');

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS

TwinkleConfig.batchdeleteChunks = 50;

TwinkleConfig.batchDeleteMinCutOff = 5;

TwinkleConfig.batchMax = 5000;

TwinkleConfig.batchProtectChunks = 50;

TwinkleConfig.batchProtectMinCutOff = 5;

TwinkleConfig.batchundeleteChunks = 50;

TwinkleConfig.batchUndeleteMinCutOff = 5;

TwinkleConfig.blankTalkpageOnIndefBlock = false;

TwinkleConfig.defaultWarningGroup = 1;

TwinkleConfig.deleteTalkPageOnDelete = false;

TwinkleConfig.deletionSummaryAd = '';

TwinkleConfig.deliChunks = 500;

TwinkleConfig.deliMax = 5000;

TwinkleConfig.markAIVReportAsMinor = true;

TwinkleConfig.markSockReportAsMinor = true;

TwinkleConfig.markUAAReportAsMinor = true;

TwinkleConfig.markRevertedPagesAsMinor = [ 'vand' ];

TwinkleConfig.markSpeedyPagesAsMinor = false;

TwinkleConfig.markSpeedyPagesAsPatrolled = true;

TwinkleConfig.notifyUserOnDeli = false;

TwinkleConfig.notifyUserOnSpeedyDeletionNomination = [ 'g1', 'g2', 'g3', 'g4', 'g10', 'g11', 'g12', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f9', 'f10', 'f11', 'u3', 't2', 't3', 'p2' ];

TwinkleConfig.offerReasonOnNormalRevert = false;

TwinkleConfig.openTalkPage = [ 'agf', 'norm', 'vand' ];

TwinkleConfig.openTalkPageOnAutoRevert = false;

TwinkleConfig.openUserTalkPageOnSpeedyDelete = [ 'g1', 'g2', 'g3', 'g4', 'g5', 'g10', 'g11', 'g12', 'a1', 'a3', 'a7', 'a9', 'f3', 'f4', 'f5', 'f6', 'f7', 'f9', 'f11', 'u3', 't2' ];

TwinkleConfig.orphanBacklinksOnSpeedyDelete = {exclude:['g6'], orphan:true};

TwinkleConfig.proddeleteChunks = 50;

TwinkleConfig.prodReasonDefault = "";

TwinkleConfig.protectionSummaryAd = '';

TwinkleConfig.revertMaxRevisions = 50;

TwinkleConfig.showRollbackLinks = [ 'diff'];

TwinkleConfig.showSharedIPNotice = false;

TwinkleConfig.speedyWindowHeight = 500;

TwinkleConfig.speedyWindowWidth = 800;

TwinkleConfig.summaryAd = '';

TwinkleConfig.unlinkNamespaces = [ 0, 100 ];

TwinkleConfig.userTalkPageMode = 'window';

TwinkleConfig.watchProdPages = true;

TwinkleConfig.watchRevertedPages = [ 'agf', 'norm', 'vand', 'torev' ];

TwinkleConfig.watchSpeedyPages = [ 'g3', 'g5', 'g10', 'g11', 'g12', 't1' ];

TwinkleConfig.watchWarnings = true;

TwinkleConfig.welcomeUserOnSpeedyDeletionNotification = TwinkleConfig.notifyUserOnSpeedyDeletionNomination;

TwinkleConfig.xfdWatchDiscussion = "default";

TwinkleConfig.xfdWatchList = "no";

TwinkleConfig.xfdWatchPage = "default";

TwinkleConfig.xfdWatchUsages = "no";

TwinkleConfig.xfdWatchUser = "default";

// Live Preview (User:Pilaf/Live Preview, )

wpUserName = 'Cacycle'; // User name to display in signatures

wpShowImages = true; // Enable downloading and displaying of images

importScript('User:Pilaf/livepreview.js');

window.onload = Main;

// installs the editor and other tools after loading the page

function Main() {

SetupEditor();

// othertools();

}

//////////////////////////////////////////

importScript('User:Δ/GeorgeMoney.js'); // GeorgeMoney

importScript('User:Δ/Sandbox.js'); // js sandbox

importScript('User:Quarl/util.js'); // Utility functions

importScript('User:Quarl/wikipage.js'); // WikiPage class

importScript('User:Quarl/wikiedit.js'); // WikiEditor

importScript('User:Quarl/diff.js'); // WikiEditor

importScript('User:Quarl/cookie.js'); // cookie helpers

importScript('User:Quarl/shortcuts.js'); // Shortcuts class

importScript('User:Δ/Personaltoolbox.js'); // Personal toolbox

importScript('User:Cactus.man/Scripts/ChangeTitles.js'); // New personal menu & tab titles

importScript('User:Cactus.man/Scripts/Time.js'); // Add date and time to the personal menu

//************

popupShortcutKeys=true; // optional: enable keyboard shortcuts

popupAdminLinks=true; // optional: enable admin links

popupSubpopups=true;

popupFixDabs=true;

popupFixRedits=true;

//END

//************

importScript('User:Gary King/show upload deletion logs.js');

// include comfortable javascript editor by cacycle

// levels of undo (each level holds the whole text)

var undoBufferMax = 20;

// text and popup title of summary buttons

var summaryButtons = [

['Copyedit', 'Copyedit'],

['Linkfix', 'Linkfix'],

['Vandal', 'Reverting vandalism'],

['Format', 'Formatting source text'],

['NFCC','remove Non-free images, reverting these is considered copyright violation and you will be blocked'],

['Cap lists', 'Capitalizing (link) lists as per Wikipedia:List and Wikipedia:Manual_of_Style']

];

importScript('User:Δ/Addtabs/monobook.js');

// background color of preview box

var previewBackground = '#ffffdd';

// loads the editor

importScript('User:Cacycle/editor.js');

// Live Preview (User:Pilaf/Live Preview, )

wpUserName = 'Cacycle'; // User name to display in signatures

wpShowImages = true; // Enable downloading and displaying of images

importScript('User:Pilaf/livepreview.js');

//

//---------------------------------------------------------------

//Toolbox links

function changelinks() {

if(!document.getElementById) return;

document.getElementById('pt-mytalk').firstChild.innerHTML = 'Talk';

document.getElementById('pt-preferences').firstChild.innerHTML = 'Preferences';

document.getElementById('pt-watchlist').firstChild.innerHTML = 'Watchlist';

document.getElementById('pt-mycontris').firstChild.innerHTML = 'Contributions';

document.getElementById('pt-logout').firstChild.innerHTML = 'Log out';

}

function addtoolboxlinks() {

var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0];

addlilink(tb, '/wiki/Wikipedia:Categories_for_deletion/Working', 'WP:CFD/W', '');

addlilink(tb, '/wiki/Wikipedia:Bots/Requests for approval', 'WP:B/RFA', '');

addlilink(tb, '/wiki/Wikipedia:Bot_requests', 'Bot Request', '');

addlilink(tb, '/wiki/User_Talk:Δbot', 'ΔBot', '');

addlilink(tb, '/wiki/WP:ANI', 'ANI', '');

addlilink(tb, '/wiki/WP:AN', 'AN', '');

}

//END

window.onload = Main;

// installs the editor and other tools after loading the page

function Main() {

SetupEditor();

changelinks();

addtoolboxlinks();

// othertools();

}