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-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]]
// SpamUserPage - see [[User:Mr. Stradivarius/gadgets/SpamUserPage]] for documentation.
SpamUserPage = {}; // Don't remove this line! It is necessary for SpamUserPage settings.
SpamUserPage.menulocation = "p-tb";
SpamUserPage.presets = [
{
id: "spamublock",
template: "<div class="user-block" style="min-height: 40px"> [[Image:Stop x nuvola.svg|40px|left|alt=|link=]] You have been '''[[Wikipedia:Blocking policy|blocked]]''' from editing because [[Special:MyContributions|your account's edits]] and/or [[Special:MyPage|username]] indicate that it is being used on behalf of a company, group, website or organization for purposes of promotion and/or publicity. If you think there are good reasons why you should be unblocked, you may [[Wikipedia:Appealing a block|appeal this block]] by copying the text <!-- Copy the text as it appears on your page, not as it appears in this edit area. Do not include the "tlx" argument. -->{{tlx|unblock|2=reason=''Your reason here ~~~~''}} and posting it below this notice (replacing ''"Your reason here ~~~~"'' with the reason), but you should read the [[Wikipedia:Guide to appealing blocks|guide to appealing blocks]] first.</div> — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 04:19, 28 June 2015 (UTC)"
},
{
id: "soablock",
template: "<div class="user-block" style="min-height: 40px"> [[Image:Stop x nuvola.svg|40px|left|alt=|link=]] You have been '''[[Wikipedia:Blocking policy|blocked]]''' from editing because [[Special:MyContributions|your account's edits]] and/or [[Special:MyPage|username]] indicate that it is being used on behalf of a company, group, website or organization for purposes of promotion and/or publicity. If you think there are good reasons why you should be unblocked, you may [[Wikipedia:Appealing a block|appeal this block]] by copying the text <!-- Copy the text as it appears on your page, not as it appears in this edit area. Do not include the "tlx" argument. -->{{tlx|unblock|2=reason=''Your reason here ~~~~''}} and posting it below this notice (replacing ''"Your reason here ~~~~"'' with the reason), but you should read the [[Wikipedia:Guide to appealing blocks|guide to appealing blocks]] first.</div> — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 04:19, 28 June 2015 (UTC)"
}
];
importScript('User:Mr. Stradivarius/gadgets/SpamUserPage.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]]