User:JJMC89/common.js

/*** Local Scripts ***/

importScript('MediaWiki:Gadget-SysopTools.js');

importScript('User:JJMC89/autolink.js');

importScript('User:JJMC89/AjaxPatrolLinks.js');

importScript('User:JJMC89/ajaxRollback.js');

/*** /Local Scripts ***/

/*** External Scripts ***/

importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript');//en:w:User:Cacycle/wikEd

//autoEdClick = false;//disables the diff page from opening automatically (required for wikEd compatability) //mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/complete.js&action=raw&ctype=text/javascript');//en:w:Wikipedia:AutoEd

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

/* * Add custom delete reasons * Author: Krinkle * File:Krinkle_addDeleteReasons.js * http://meta.wikimedia.org/wiki/User:Krinkle/Scripts/addDeleteReasons * http://meta.wikimedia.org/wiki/User:Krinkle/Scripts/addDeleteReasons.js */ $.getScript('http://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/addDeleteReasons.js&action=raw&ctype=text/javascript', function{ krAddDeleteReasons.File('Image of an item that never existed');  krAddDeleteReasons.File('Invalid file extension per Naming policy');  krAddDeleteReasons.File('Name corrected per Naming policy');  krAddDeleteReasons.File('Name corrected per Naming policy'); });

/*** /External Scripts ***/

/** * Make [rollback] and "blocklink" disappear on Watchlist, RecentChanges, and Contributions. * From User:Technical 13 */ if (wgPageName == "Special:Watchlist" || wgPageName == "Special:RecentChanges" || wgCanonicalSpecialPageName == "Contributions") { $('span.mw-rollback-link').remove; $('span.mw-usertoollinks').each(function {		$(this).children('a:last').replaceWith("-");		$(this).html($(this).html.replace(" | -", ""));	}); }

mw.util.addPortletLink('p-personal',mw.util.wikiGetlink('User:')+mw.config.get('wgUserName')+'/Links','My links','pt-mylinks',null,null,'#pt-preferences');