User:T burnout/common.js
From Hobowars Wiki
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
- Opera: Clear the cache in Tools → Preferences
mw.toolbar.addButton({ imageId: 'mw-editbutton-bold', "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a2/SmallcapsButton.png", "speedTip": "xxx", "tagOpen": "'''", "tagClose": "'''", "sampleText": "xxx text"}); /* Remove Default Buttons */ mw-editbutton-italic({"display:none"}); mw-editbutton-link({"display:none"}); mw-editbutton-extlink({"display:none"}); mw-editbutton-headline({"display:none"}); mw-editbutton-image({"display:none"}); mw-editbutton-bold({"display:none"}); mw-editbutton-media({"display:none"}); mw-editbutton-math({"display:none"}); mw-editbutton-nowiki({"display:none"}); mw-editbutton-signature({"display:none"}); mw-editbutton-hr({"display:none"});