MediaWiki:Common.js
From UIT
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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Konqueror: Click Reload or press F5
- Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://wiki.hevs.ch/eda/images/1/1b/Ico_btSource.png", "speedTip": "GeSHi", "tagOpen": "<source lang='", "tagClose": "'>\n</source>", "sampleText": "Insert your language"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://wiki.hevs.ch/eda/images/1/15/Ico_btRSS.gif", "speedTip": "RSS", "tagOpen": "<rss max=5 highlight='HighlightedText'>", "tagClose": "</rss>", "sampleText": "URL"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://wiki.hevs.ch/eda/images/2/25/Ico_btComment.png", "speedTip": "Comment", "tagOpen": "<comments >", "tagClose": "", "sampleText": ""}; }