User:Jackmcbarn/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:Jackmcbarn/common.css. |
// If you want this next script, you probably want to remove -unstable from it
importScript('User:Jackmcbarn/editProtectedHelper-unstable.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
if(/^User:.*\/(CSD|PROD)_log$/.test(mw.config.get('wgPageName'))) {
$('#mw-content-text').prepend($('<button>Show/hide redlinked pages</button>').click(function(){
$('ol>li>a.new:first-child').parent().toggle();
}));
}
importScript('User:Ale_jrb/Scripts/csdhelper.js'); //[[User:Ale_jrb/Scripts]]
importScript('User:Dr pda/prosesize.js');
importScript('User:Mr.Z-man/closeAFD.js');
window.LinkClassifierOnDemand = true; // not really, but we want to make our own onLoad hook
$(importScript('User:Anomie/linkclassifier.js')) // Linkback: [[User:Anomie/linkclassifier.js]]
.load(function() {
$(document).ready(function() {
window.LinkClassifierOnDemand = false;
LinkClassifier.cats['soft-redirect'] = ['Category:Wikipedia soft redirects', 'Category:Protected soft redirects', 'Category:Redirects to Wiktionary'].sort();
LinkClassifier.onLoad();
});
});
importStylesheet('User:Jackmcbarn/linkclassifier.css');
importScript('User:Timotheus Canens/spihelper.js');
importScript('User:Mr. Stradivarius/gadgets/SpamUserPage.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]]
SpamUserPage = {
presets: [
{
id: 'softerblock',
label: 'Promotional username, soft block',
deletesummary: '[[WP:CSD#G11|G11]]: Unambiguous [[WP:NOTADVERTISING|advertising]] or promotion',
blocksummary: '{{uw-softerblock}}',
editsummary: 'You have been indefinitely blocked from editing because your [[WP:U|username]] ' +
'gives the impression that the account represents a group, organization or website.',
template: '<div class="notice" style="background:#def; border:1px solid #468; padding:0.5em; margin:0.5em auto; min-height:50px">[[File:Information.svg|left|50px|alt=|link=]]Welcome to Wikipedia. Because we have a [[Wikipedia:ORGNAME|policy]] against usernames which give the impression that the account represents a group, organization or website, I have [[Wikipedia:Blocking policy|blocked]] this account; '''please take a moment to [[Special:Userlogin/signup|create a new account]] with a username that represents only yourself as an individual and which complies with our [[Wikipedia:Username policy|username policy]].''' <p>You should also read our [[Wikipedia:Conflict of interest|conflict of interest guideline]] and be aware that '''promotional editing is not acceptable''' regardless of the username you choose. <p>If your username '''does not''' represent a group, organization or website, you may [[Wikipedia:Appealing a block|appeal this username block]] by adding 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 ~~~~''}} below this notice.<p>You may simply create a new account, but you may prefer to change your username to one that complies with our [[Wikipedia:Username policy|username policy]], so that your past contributions are associated with your new username. If you would prefer to change your username, you may appeal this username block by adding 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-un|2=''new username''|3=reason=''Your reason here ~~~~''}} below this notice. Thank you. [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 21:44, 18 June 2015 (UTC)</div><!-- Template:Uw-softerblock -->[[Category:Wikipedians who are indefinitely blocked for promotional user names|{{PAGENAME}}]]{{z15}}<!-- Template:uw-softerblock -->',
nocreate: false,
autoblock: false
},
{
id: 'causeblock',
label: 'Username of a non-profit, soft block',
deletesummary: '[[WP:CSD#G11|G11]]: Unambiguous [[WP:NOTADVERTISING|advertising]] or promotion',
blocksummary: '{{uw-causeblock}}',
editsummary: 'You have been indefinitely blocked from editing because your [[WP:U|username]] ' +
'gives the impression that the account represents a group, organization or website.',
template: '<div class="notice" style="background:#def; border:1px solid #468; padding:0.5em; margin:0.5em auto; min-height:50px">[[File:Information.svg|left|50px|alt=|link=]]Welcome to Wikipedia. Because we have a [[Wikipedia:ORGNAME|policy]] against usernames which give the impression that the account represents a group, organization or website, I have [[Wikipedia:Blocking policy|blocked]] this account; '''please take a moment to [[Special:Userlogin/signup|create a new account]] with a username that represents only yourself as an individual and which complies with our [[Wikipedia:Username policy|username policy]].''' It also appears that your account is intended to be used for the purpose of [[Wikipedia:Wikipedia is not here to tell the world about your noble cause|telling the world about an organization, person or cause]] that you consider worthwhile. Unfortunately, many good causes are not sufficiently [[WP:N|notable]] for their own Wikipedia article, and all users are discouraged from editing in any area where they have an [[WP:COI|inherent conflict of interest]]. You may wish to consider one of these [[WP:OUT|alternative outlets]]. <p>If your username '''does not''' represent a group, organization or website, you may [[Wikipedia:Appealing a block|appeal this username block]] by adding 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 ~~~~''}} below this notice.<p>You may simply create a new account, but you may prefer to change your username to one that complies with our [[Wikipedia:Username policy|username policy]], so that your past contributions are associated with your new username. If you would prefer to change your username, you may appeal this username block by adding 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-un|2=''new username''|3=reason=''Your reason here ~~~~''}} below this notice. Thank you. [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 21:44, 18 June 2015 (UTC)</div><!-- Template:Uw-softerblock -->[[Category:Wikipedians who are indefinitely blocked for promotional user names|{{PAGENAME}}]]{{z15}}<!-- Template:uw-softerblock --><!-- Template:Uw-causeblock -->',
nocreate: false,
autoblock: false
}
],
watchlist: 'nochange'
};