User:Monobi/common.js

// ***************************************************************** // Load various external scripts // ***************************************************************** mw.loader.load('//www.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript');

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = [ {		'summary': 'nobody cares', 'label': 'UN:N' },	{		'summary': 'Test, please use the sandbox', 'label': 'test' },	{		'summary': 'Please read About this site', 'label': 'site' },	{		'summary': 'Author/User Request', 'label': 'req' } ];

/** * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor. * @see https://meta.wikimedia.org/wiki/TemplateScript * @update-token */ // $.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function {	pathoschild.TemplateScript.add([ { name:'T', template:'--~', editSummary:'' }, { name:'encyc', template:'--~', editSummary:'' }, { name:'non', template:'--~', editSummary:'' } ]); }); //