User:Gourleyo/global.js

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20070329064923/central/images/3/3a/Button_headline3.png", "speedTip": "Level 3 headline", "tagOpen": "===", "tagClose": "===", "sampleText": "L3 text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/__cb20070329065005/central/images/0/08/Button_headline4.png", "speedTip": "Level 4 headline", "tagOpen": "====", "tagClose": "====", "sampleText": "L4 text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20070329064928/central/images/0/0b/Button_headline5.png", "speedTip": "Level 5 headline", "tagOpen": "=====", "tagClose": "=====", "sampleText": "L5 text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100328123408/central/images/b/bc/Button_Boxes1%262.PNG", "speedTip": "Add boxes for a homepage.", "tagOpen": "{"+"{Box1 start}}", "tagClose": "{"+"{Box2 start}}", "sampleText": "INSTRUCTIONS:Put writing under the Box2 template, and press enter after this writing, and after the Box1 template."}; }

.star-rating, .star-rating a:hover, .star-rating .current-rating { background-image: url(http://trac.wikia-code.com/export/19974/wikia/trunk/skins/monaco/images/monaco-sprite.png) }

// Override Lightboxes and go directly to the image's page when clicking on an image var ImageLightbox= { log:function(msg) { $.log(msg,'ImageLightbox'); }, track:function(fakeUrl){ window.jQuery.tracker.byStr('lightbox'+fakeUrl); }, init:function{ var self=this; if(!window.wgEnableImageLightboxExt){ this.log('disabled'); return; }   var images=$('#bodyContent').find('a.lightbox, a.image'); if(!images.exists){return;} images.unbind('.lightbox').bind('click.lightbox',function(ev){self.onClick.call(self,ev);}); }, onClick:function(ev){ }, show:function(imageName,caption){ } }; ImageLightbox.init.call(ImageLightbox);