User:Anna Frodesiak/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Anna Frodesiak/common.css. |
//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');
addPortletLink('p-tb', mw.util.wikiGetlink('Special:DeletedContributions/')+username,
'Deleted contributions', 't-deleted', 'Deleted contributions of this user', null, '#t-whatlinkshere');
addPortletLink('p-tb', mw.util.wikiGetlink('Special:Contributions/')+username,
'User contributions', 't-live', 'Deleted contributions of this user', null, '#t-deleted');
addPortletLink('p-tb', mw.util.wikiGetlink('Special:Block/')+username, 'Block user', 't-block', 'Block this user', null, '#t-whatlinkshere');
});
importScript('User:Anomie/unwatch.js');
/* User:MusikAnimal/spamublock.js */
importScript( 'User:MusikAnimal/spamublock-toolbox.js' );// Backlink: [[User:MusikAnimal/spamublock.js]]