Difference between revisions of "User:T burnout/common.js"
From Hobowars Wiki
m (test) |
m (test) |
||
Line 1: | Line 1: | ||
+ | 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 */ | /* Remove Default Buttons */ | ||
#mw-editbutton-italic({"display:none"}); | #mw-editbutton-italic({"display:none"}); | ||
Line 11: | Line 20: | ||
#mw-editbutton-signature({"display:none"}); | #mw-editbutton-signature({"display:none"}); | ||
#mw-editbutton-hr({"display:none"}); | #mw-editbutton-hr({"display:none"}); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 10:01, 22 July 2014
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"});