Difference between revisions of "User:T burnout/common.js"
From Hobowars Wiki
m (test) |
m (test) |
||
Line 1: | Line 1: | ||
− | mw.toolbar. | + | /* 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"}); | ||
+ | |||
+ | mw.toolbar.addButton({ | ||
imageId: 'mw-editbutton-bold', | imageId: 'mw-editbutton-bold', | ||
− | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/ | + | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a2/SmallcapsButton.png", |
− | "speedTip": " | + | "speedTip": "xxx", |
"tagOpen": "'''", | "tagOpen": "'''", | ||
"tagClose": "'''", | "tagClose": "'''", | ||
− | "sampleText": " | + | "sampleText": "xxx text"}); |
Revision as of 10:00, 22 July 2014
/* 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"}); 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"});