User:Hydrargyrum/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 can be added at User:Hydrargyrum/common.css. |
/* Increase editor syntax highlighter timeout to 75 ms for use on long articles. Default is 50 ms. This can make the editor response seem a bit sluggish when editing long articles, but syntax highlighting is valuable enough to put up with it. If this page is edited, clear the browser cache and reload Wikipedia pages in order for changes to take effect. See mw:User:Remember the dot/Syntax highlighter (https://www.mediawiki.org/wiki/User:Remember_the_dot/Syntax_highlighter#Customizing) */
//syntax highlighter
//mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');
syntaxHighlighterConfig = {
timeout: 75,
wikilinkColor: "#D8ECFF", //darker cyan, like "Show changes" page
externalLinkColor: "#B2FBB2", //pale green
tagColor: "#FFD9FF", //pink
}