Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// Helper tools
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js&action=raw&ctype=text/javascript');

// UTC clock
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/UTCclock.js&action=raw&ctype=text/javascript');

/*********
** Lupin's tools
*********/
//[[User:Lupin/popupsdev.js]] - please include this line
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js&action=raw&ctype=text/javascript');
popupShortcutKeys=true; // optional: enable keyboard shortcuts
popupAdminLinks=true;   // optional: enable admin links [[Category:VoA scripted admins]]
popupSubpopups=false;
popupOnEditSelection=false;
popupStructure='shortmenus';
popupFixDabs=true;
popupAllDabsStubs=false;
//Experimental
ExtendedRevertSummary=true;
popupExtraUserMenu=true;

mw.loader.load('//en.wikibooks.org/w/index.php?title=User:Az1568/recent2.js&action=raw&ctype=text/javascript');

//Admin protection tools
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/Protection/monobook.js&action=raw&ctype=text/javascript');

//Delete tabs
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/Deletion/monobook.js&action=raw&ctype=text/javascript');

function winc(s) {
	mw.loader.load('//en.wikipedia.org/w/index.php?title=' + s + '&action=raw&ctype=text/javascript');
}

winc('User:MarkS/extraeditbuttons.js'); // Script from [[User:MarkS/extraeditbuttons.js]] extra edit buttons
winc('User:Voice_of_All/Sleeper/monobook.js'); // User log tools -Checking for sleeper accounts
winc('User:Voice_of_All/replacetxt.js'); // Replace txt
winc('User:Voice_of_All/Google/monobook.js'); // Google tool
winc('User:Voice_of_All/Addtabs/monobook.js'); // Helper tools <!-- Do Not Use [LAST] tab -->
winc('User:Invitatious/unsigned2.js'); // unsigned comments script

//Admin rollback tools
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lupin/autoedit.js&action=raw&ctype=text/javascript');

// Admin rollback tools [[Category:Wikibooks administrators who use VoA script|{{PAGENAME}}
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/Specialadmin/monobook.js&action=raw&ctype=text/javascript');

//Note: copy the following code (with customized values) to your monobook.js file to set customized confirm text:
$(function Dfn_js_con() {
	//moves
	Mvaluejs_class = 'yes';
	//edits
	Rvaluejs_class = 'yes';
	//uploads
	Uvaluejs_class = 'yes';
});

// Always check "block anons only" on Special:Blockip
$(function(){ var x; if (x=document.getElementById('wpAnonOnly')) {x.checked=true;} });
$(function(){ var x; if (x=document.getElementById('wpCreateAccount')) {x.checked=true;} });
$(function(){ var x; if (x=document.getElementById('wpEnableAutoblock')) {x.checked=false;} });

// QuickBlocks
function QuickBlock (expiry,reason,ao,autob) {
	blockForm = document.getElementById('blockip');
	inputs = blockForm.getElementsByTagName('input');
	for (i=0; i<inputs.length; i++) {
		if (inputs[i].name == 'wpBlockOther') {
			inputs[i].value = expiry;
			continue;
		}
		if (inputs[i].name == 'wpBlockReason') {
			inputs[i].value = reason;
			continue;
		}
		if (inputs[i].name == 'wpAnonOnly') {
			if (ao==1)
				inputs[i].checked = 'checked';
			continue;
		}
		if (inputs[i].name == 'wpEnableAutoblock') {
			if (autob==0)
				inputs[i].checked=false;
			continue;
		}
	}
	blockForm.submit();
}

$(function(){
	if (document.title.indexOf("Block user") == -1) return;
	addTab('javascript:('+QuickBlock+')("indefinite","Please read [[Wikibooks:Profanity#Usernames|Wikibooks:Profanity]] and choose another name",0,0)','p-block-user');
	addTab('javascript:('+QuickBlock+')("indefinite","Vandalism Only Account",0,1)','p-block-vand only');
	addTab('javascript:('+QuickBlock+')("indefinite","Username too similar to that of an existing user: please [[Special:Emailuser/Az1568|Email me]] if you are a legitimate editor.",0,1)','sockpuppet','p-block-sock');
	addTab('javascript:('+QuickBlock+')("24 hours","Vandalism.",0,1)','24','p-block-24h');
	addTab('javascript:('+QuickBlock+')("24 hours","Blocked for 24 hours due to recent vandalism. If this is a shared address, please register an account to avoid collateral damage.",1,1)','24ao','p-block-24h');
	addTab('javascript:('+QuickBlock+')("31 hours","Vandalism.",0,1)','31','p-block-31h');
	addTab('javascript:('+QuickBlock+')("31 hours","Blocked for 31 hours due to recent vandalism. If this is a shared address, please register an account to avoid collateral damage.",1,1)','31ao','p-block-31h');
	addTab('javascript:('+QuickBlock+')("1 week","Vandalism.",0,1)','1week','p-block-school');
	addTab('javascript:('+QuickBlock+')("1 week","Blocked for one week due to repeat vandalism. If this is a shared address, please register an account to avoid collateral damage.",1,1)','1weekAO','p-block-school');
	addTab('javascript:('+QuickBlock+')("1 month","Blocked for one month due to chronic vandalism. If this is a shared address, please register an account to avoid collateral damage.",1,1)','1Month','31-days');
	addTab('javascript:('+QuickBlock+')("September 2007","Due to repeated vandalism, this school has been blocked until September 2007. Legitimate users are encouraged to register an account offsite to avoid collateral damage.",1,1)','Sept07','September 2007');
	addTab('javascript:('+QuickBlock+')("31 hours","Blocked for 31 hours due to recent trolling. If this is a shared address, please register an account to avoid collateral damage.",1,1)','Troll-31','p-block-troll-31');
	addTab('javascript:('+QuickBlock+')("indefinite","Trolling",0,1)','Troll-indef','p-block-troll-indef');
});

/**
 * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
 * @see https://meta.wikimedia.org/wiki/TemplateScript
 * @update-token [[File:pathoschild/templatescript.js]]
 */
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
	pathoschild.TemplateScript.add([
		{ name:'header', template:'{{header\n | title    =\n | author   =\n | section  =\n | previous =\n | next     =\n | notes    =\n}}' },
		{ name:'author', template:'{{author\n |name           =\n |last_initial   =\n |dates          =\n |description    =\n |image          =\n |wikipedia_link =\n |wikiquote_link =\n |commons_link   =\n}}' },
		{ name:'featured talk', template:'{{featured talk\n | month   = {{subst:CURRENTMONTH}}\n | year    = {{subst:CURRENTYEAR}}\n | archive = {{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}\n}}' },
		{ name:'textinfo', template:'{{textinfo\n| edition      =\n| source       =\n| contributors =\n| progress     =\n| notes        =\n| proofreaders =\n}}' },
		{ name:'featured', template:'[[WS:FT|Featured text]] (see the [[WS:PP|protection policy]])', forActions:'protect' },

		{ name:'standardised', template:'[[WS:STYLE|Standardised]]', forActions:'move' },

		{ name:'Copyvio discussion', template:'[[Wikibooks:Deletion_policy#Copyright_violations|Possible copyright violation]]', forActions:'delete' },
		{ name:'Proposed', template:'[[WB:VFD|Proposed deletion]]', forActions:'delete' },
		{ name:'G1 no meaningful content', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion] ("No meaningful content or history.")', forActions:'delete' },
		{ name:'G2 recreation', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Reposted content previously deleted...")', forActions:'delete' },
		{ name:'G3 banned user', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("content created and edited solely by a banned user after they were banned...")', forActions:'delete' },
		{ name:'G4 redundant', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Two versions of the same text on different pages...")', forActions:'delete' },
		{ name:'G5 beyond scope', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]] ("...clearly lies outside the [[WB:WIW|scope of Wikibooks]]...")', forActions:'delete' },
		{ name:'G6 copyvio', template:'[[Wikibooks:Deletion_policy#Copyright_violations|Wikibooks:Deletion policy]]  ("...clear and proven copyright violation...")', forActions:'delete' },
		{ name:'G6 re-copyvio', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...content previously deleted as a copyright violation...")', forActions:'delete' },
		{ name:'G6 copyvio author', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...author pages for authors whose works are all copyrighted...")', forActions:'delete' },
		{ name:'G7 author\'s request', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Deletion per request of the author...")', forActions:'delete' },
		{ name:'A1 transwikied', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Articles [[m:transwiki|transwikied]] to another project...")', forActions:'delete' },
		{ name:'A1 transwikied (commons)', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]] A1 ("...images uploaded to the [[commons:|Wikimedia commons]] with the original contributor noted...")', forActions:'delete' },
		{ name:'A2 non-notable', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...not significantly peer-reviewed or previously published in a significant edition or forum.")', forActions:'delete' },
		{ name:'A3 no authorship info', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Works without authorship information...")', forActions:'delete' },
		{ name:'M1 trivial', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...deletion as part of a page move or history merge, as long as the action requiring the deletion is uncontroversial.")', forActions:'delete' },
		{ name:'M2 redirect (new)', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Unneeded redirects from page titles created within the last week...")', forActions:'delete' },
		{ name:'M2 redirect (old)', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...[unneeded] redirects tagged with {{subst:dated soft redirect|"[[new title]]"}} for at least two months.")', forActions:'delete' },
		{ name:'M2 redirect (broken)', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("...Redirects to inexistant pages...)"', forActions:'delete' },
		{ name:'M3 redirect (article to other ns)', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Internamespace redirects from the article namespace to any other namespace.")', forActions:'delete' },
		{ name:'M4 talk page', template:'[[Wikibooks:Deletion_policy#Speedy_deletions|Criteria for speedy deletion]]  ("Unneeded talk: a discussion page for deleted or inexistant content.")', forActions:'delete' },
		{ name:'Username pattern', template:'This username matches a recent pattern of malicious or suspicious usernames. For verification purposes, please [[m:H:EC|confirm an email address]] and [[Special:Emailuser/Az1568|email me]], or follow the instructions on this page.', forActions:'block' }
	]);
});
// </nowiki>


	
// Helper tools
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js&action=raw&ctype=text/javascript');