User:Nefastu/common.js
From Guild Wars 2 Wiki
Jump to navigationJump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
RLQ.push(function () { mw.loader.load( '/index.php?title=User:Nefastu/JS/AToolsMonobook.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'); }); //toolbar modifications $(function () { if (mw.toolbar) { //custom signature button mw.toolbar.addButton({ imageFile: '//wiki.guildwars2.com/resources/src/mediawiki.toolbar/images/en/button_sig.png', speedTip: 'Comment with —', tagOpen: '—~~', tagClose: '~~', sampleText: '' }); }}); RLQ.push(function () { mw.loader.load( '/index.php?title=User:Nefastu/JS/VersionHistory.js&action=raw&ctype=text/javascript' ); });