Difference between revisions of "User:Vrana/common.js"
(Trying to add a simple syntax highlighter. I should be sleeping...) |
m (Doesn't work. I'm going to sleep.) |
||
Line 1: | Line 1: | ||
+ | // Doesn't work | ||
//syntax highlighter | //syntax highlighter | ||
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); | mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); |
Revision as of 21:44, 11 November 2024
// Doesn't work
//syntax highlighter
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');