User:Seraphim System/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:Seraphim System/common.css. |
/* Adds a toolbox link to do a copyvio check on the given page. */
mw.loader.using("mediawiki.util", function() {
mw.util.addPortletLink(
"p-tb",
"https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase() + "&title=" + encodeURIComponent(mw.config.get("wgPageName")),
"Copyvio check",
"t-copyvio-check",
"Check this page for copyright violations"
);
});
/* Syntax highligting */
//syntaxHighlighterConfig = {
// externalLinkColor:"#FFFFFF", //sea
// wikilinkColor: "#98C8B2", //easter frosting
// signatureColor: "#7b7b7b", //medium blue
// tableColor: "#7b7b7b", //mint
// templateColor: "#7b7b7b", //gray
// parameterColor: "#7b7b7b", //magenta
// tagColor: "#FFFFFF", //turkish rose
// commentColor: "#7b7b7b", //turkish rose
// entityColor: "#7b7b7b", //salmon
//AFD toolbar
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Wikipedia:List of current and old AfDs'),
'AfDs',
'pt-specialnew',
'View the AfD listings of the past 7 days and more...',
null,
'#pt-preferences'
);
});
//Subpages
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Special:PrefixIndex/User:Seraphim_System'),
'Subpages',
'pt-specialnew',
'Userspace',
null,
'#pt-preferences'
);
});
mw.loader.using( 'mediawiki.util' ).done( function() {
mw.util.addPortletLink('p-navigation', mw.util.getUrl('Wikipedia:List_of_infoboxes'), "Infoboxes")
} );
importScript('User:Primefac/revdel.js'); // [[User:Primefac/revdel]]
importScript('User:V111P/js/smartLinkingLoader.js'); // [[User:V111P/js/smartLinkingLoader.js]]
importScript('User:GregU/dashes.js')
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Meteor sandwich yum/Tidy citations.js'); //[[User:Meteor sandwich yum/Tidy citations.js]]
importScript("User:PleaseStand/userinfo.js"); // [[User:PleaseStand/User info]]