User:Rob Kam/common.js
Jump to navigation
Jump to search
Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
//syntax highlighter mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=application/javascript&smaxage=21600&maxage=86400'); //enhanced diff - https://de.wikipedia.org/wiki/Benutzer_Diskussion:TMg/cleanDiff mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:TMg/cleanDiff.js&action=raw&ctype=text/javascript'); //format tidier - https://meta.wikimedia.org/wiki/User:TMg/autoFormatter mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript'); var autoFormatMaskedLinks = false; var autoFormatWikimediaLinks = false; var autoFormatReplacements = [ [/ +<ref\b/g, '<ref'], [ /(\n[*#]+) *([^\s*#:;])/g, '$1 $2' ], ];