Difference between revisions of "User:T burnout/common.js"

From Hobowars Wiki
Jump to: navigation, search
m (test)
m (test)
Line 9: Line 9:
  
 
/* Remove Default Buttons */
 
/* Remove Default Buttons */
#mw-editbutton-italic({"display:none"});
+
mw-editbutton-italic({"display:none"});
#mw-editbutton-link({"display:none"});
+
mw-editbutton-link({"display:none"});
#mw-editbutton-extlink({"display:none"});
+
mw-editbutton-extlink({"display:none"});
#mw-editbutton-headline({"display:none"});
+
mw-editbutton-headline({"display:none"});
#mw-editbutton-image({"display:none"});
+
mw-editbutton-image({"display:none"});
#mw-editbutton-bold({"display:none"});
+
mw-editbutton-bold({"display:none"});
#mw-editbutton-media({"display:none"});
+
mw-editbutton-media({"display:none"});
#mw-editbutton-math({"display:none"});
+
mw-editbutton-math({"display:none"});
#mw-editbutton-nowiki({"display:none"});
+
mw-editbutton-nowiki({"display:none"});
#mw-editbutton-signature({"display:none"});
+
mw-editbutton-signature({"display:none"});
#mw-editbutton-hr({"display:none"});
+
mw-editbutton-hr({"display:none"});

Revision as of 10:02, 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"});