User:Slowking Man/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:Slowking Man/common.css. |
scriptsToManage = {
// Backlink: [[User:Enterprisey/archiver.js]]
"User:Enterprisey/archiver.js" :
"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&\
title=User:Enterprisey/archiver.js" ,
// Backlink: [[User:Wugapodes/Capricorn.js]]
"User:Wugapodes/Capricorn.js" :
"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&\
title=User:Wugapodes/Capricorn.js" ,
};
// create a user defined object
var myLintHints = { };
// specify some object component
myLintHints.rooms = "*";
// communicate user defined object
mw.hook( "lintHint.config" ).fire( myLintHints );
( () => {
'use strict';
const myScripts = [
// Backlink: [[User:Trappist the monk/HarvErrors.js]]
"User:Trappist the monk/HarvErrors.js" ,
// Backlink: [[User:PrimeHunter/Source links.js]]
'User:PrimeHunter/Source links.js' ,
// Backlink: [[User:PrimeHunter/Where links this.js]]
'User:PrimeHunter/Where links this.js' ,
// Backlink: [[User:PerfektesChaos/js/lintHint/r.js]]
'User:PerfektesChaos/js/lintHint/r.js' ,
// Backlink: [[User:Magnus Manske/intercat.js]]
'User:Magnus Manske/intercat.js' ,
// Linkback: [[User:Odie5533/SnipManager.user.js]]
'User:Odie5533/SnipManager.user.js' ,
// Linkback: [[User:Kaniivel/RefConsolidate_start.js]]
'User:Kaniivel/RefConsolidate_start.js' ,
// Linkback: [[User:Ohconfucius/script/Sources.js]]
'User:Ohconfucius/script/Sources.js' ,
// Linkback: [[User:Salix alba/Citoid.js]]
'User:Salix alba/Citoid.js' ,
// Linkback: [[MediaWiki:Gadget-MoreMenu.enwiki.js]]
'MediaWiki:Gadget-MoreMenu.enwiki.js' ,
'User:Slowking_Man/scripts/FatFingerTrap.js' ,
'User:Slowking Man/scripts/ReallyComplete.js' ,
];
// finally, load scripts
const loadPath = '//en.wikipedia.org/w/index.php?action=raw&maxage=86400\
&bcache=1&ctype=text/javascript&title=' ;
const myModules = [ 'mediawiki.api' , 'mediawiki.util' , ];
const myCallBack = () => myScripts.forEach(
scr => mw.loader.load( loadPath + scr.replaceAll( ' ', '_' ) ) );
mw.loader.using( myModules , myCallBack ) ;
return;
} )();