User:Anna F remote/common.js

//Makes identifying blocked editors instantaneous. importScript('User:NuclearWarfare/Mark-blocked script.js'); //MastCells importScript('User:MastCell/user-rights.js'); //for RFPP (confusing but handy, read the manual) importScript('User:Rami_R/rfppClerk.js'); //always open diffs from history in a new window $(function { $("#mw-history-compare").attr("target", "_blank"); }); //something to do with saying a protection has been done importScript('User:Steel359/protection.js'); //turn off Visual Editor importScript('User:Matma_Rex/VE_killer.js'); $( document ).ready( function { var rights_isAdmin = (wgUserGroups.toString.indexOf('sysop') != -1);  if (!rights_isAdmin) return; //Restrict to admins.  if (wgNamespaceNumber != "2" && wgNamespaceNumber != "3") return;  var username = mw.config.get('wgTitle').split( '/' )[0].replace( /\"/, "\\\"");  mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:DeletedContributions/')+username, 'Deleted contributions', 't-deleted', 'Deleted contributions of this user', null, '#t-log'); }); importScript('User:Anomie/unwatch.js');