User:Philipnelson99/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:Philipnelson99/common.css. |
syntaxHighlighterConfig = {
timeout: 30,
}
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('User:Philipnelson99/Huggle_Stats/table'),
'Huggle Stats',
'pt-hg_stat',
'hg_stat',
null,
'#pt-preferences'
);
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
importScript( 'User:Equazcion/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
//importScript('User:Ingenuity/AntiVandal.js'); // Backlink: [[User:Ingenuity/AntiVandal.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
mw.loader.load( '/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
if (mw.config.get('wgCanonicalSpecialPageName') === 'AbuseFilter') {
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/batchtest-plus-core.js&action=raw&ctype=text/javascript");
}
importScript('User:DannyS712/EFFPRH.js'); // Backlink: [[User:DannyS712/EFFPRH.js]]
importScript('User:Suffusion of Yellow/batchtest-plus.js'); // Backlink: [[User:Suffusion of Yellow/batchtest-plus.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Enterprisey/abusefilter-diff-check.js'); // Backlink: [[User:Enterprisey/abusefilter-diff-check.js]]
importScript('User:Suffusion of Yellow/effp-helper.js'); //Linkback: [[User:Suffusion of Yellow/effp-helper.js]] Added by Script installer
importScript('User:Ingenuity/AbuseFilterContribs.js'); // Backlink: [[User:Ingenuity/AbuseFilterContribs.js]]
/*importScript('User:MusikAnimal/responseHelper.js');*/ // Backlink: [[User:MusikAnimal/responseHelper.js]]
importScript('User:Philipnelson99/userscript_testing.js')
importScript('User:GeneralNotability/ip-ext-info.js'); //Linkback: [[User:GeneralNotability/ip-ext-info.js]] Added by Script installer
(function() {
var responses = {}, inline = false, indentation = ":", templateName = "", defaultPrompt = "", anew = false, spi = false, unresolved;
$(document).ready(function() {
mw.loader.using( ['mediawiki.util'], function() {
// show shortcuts if not editing
if (!mw.config.get('wgEditMessage') && window.responseHelperNavLinks !== false) {
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Administrator intervention against vandalism', "WP:AIV");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Requests for page protection', "WP:RFPP");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Usernames for administrator attention', "WP:UAA");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Wikipedia:Edit Filter Noticeboard', "WP:EFN");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Log?type=block&user=&page=&wpdate=&tagfilter=&wpfilters[]=newusers&wpFormIdentifier=logeventslist', "Block log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:Log?type=newusers&user=&page=&wpdate=&tagfilter=&wpfilters[]=newusers&wpFormIdentifier=logeventslist', "User creation log");
mw.util.addPortletLink('p-navigation', mw.config.get( 'wgServer' ) + '/wiki/Special:AbuseLog?wpSearchUser=&wpSearchPeriodStart=&wpSearchPeriodEnd=&wpSearchTitle=&wpSearchImpact=0&wpSearchAction=any&wpSearchActionTaken=disallow&wpSearchFilter=', "Disallowed edits");
return;
}
});
});
}());