User:Gary/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:Gary/common.css. |
/* eslint-disable func-names, line-comment-position, max-len, no-inline-comments, no-multi-str, prefer-arrow-callback */
/* global importScript, importStylesheet */
// importScript('User:Gary/old scripts.js'); // Old scripts
/**
* Testing local user scripts
*/
mw.loader.load('http://127.0.0.1:5000/wikipedia.js');
/**
* Configuration
*/
importScript('User:Gary/config.js'); // Configuration
/**
* My scripts
*/
importScript('User:Gary/comments in local time.js'); // Comments in Local Time
importScript('User:Gary/nominations viewer.js'); // Nominations Viewer
importScript('User:Gary/subjects age from year.js'); // Subject Age from Year
/**
* Scripts from other users
*/
importScript('MediaWiki:Gadget-edittop.js'); // Edit Top
importScript('MediaWiki:Gadget-metadata.js'); // Metadata JS
importStylesheet('MediaWiki:Gadget-metadata.css'); // Metadata CSS
importScript('User:Dr pda/prosesize.js'); // Prose Size
importScript('MediaWiki:Gadget-DotsSyntaxHighlighter.js'); // Syntax Highlighter
importScript('User:Cacycle/wikEdDiff.js'); // wikEdDiff
// User info script and CSS
importScript('User:PleaseStand/userinfo.js');
$(function() {
mw.util.addCSS(
'.ps-group-reviewer { color: #590; } /* A light green color */\
.ps-group-sysop { color: #070; } /* A dark green color */\
.ps-group-bureaucrat { color: #06c; } /* A blue color */\
.ps-blocked { color: #901; } /* A red color */'
);
});