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

From Hobowars Wiki
Jump to: navigation, search
m (test)
m (yap)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
/* Extra Buttons */
 
mw.toolbar.addButton({
 
mw.toolbar.addButton({
 
imageId: 'mw-editbutton-bold',
 
imageId: 'mw-editbutton-bold',
 
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a2/SmallcapsButton.png",
 
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a2/SmallcapsButton.png",
     "speedTip": "xxx",
+
     "speedTip": "lol",
     "tagOpen": "'''",
+
     "tagOpen": "lololololol",
     "tagClose": "'''",
+
     "tagClose": "lololololol",
     "sampleText": "xxx text"});
+
     "sampleText": " huh "});
 
+
 
+
/* 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"});
+

Latest revision as of 08:20, 23 July 2014

/* Extra Buttons */
mw.toolbar.addButton({
imageId: 'mw-editbutton-bold',
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a2/SmallcapsButton.png",
     "speedTip": "lol",
     "tagOpen": "lololololol",
     "tagClose": "lololololol",
     "sampleText": " huh "});