Jump to content

User:Anna Frodesiak/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Anna Frodesiak (talk | contribs) at 07:55, 23 August 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//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( /\"/, "\\\"");
  addPortletLink('p-tb', mw.util.wikiGetlink('Special:DeletedContributions/')+username,
    'Deleted contributions', 't-deleted', 'Deleted contributions of this user', null, '#t-log');
});
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]] importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]