Difference between revisions of "MediaWiki:Common.js"

From Fritipedia
Jump to navigationJump to search
(New page: →‎Any JavaScript here will be loaded for all users on every page load.: var button = { "imageFile": "images/5/56/Button_big.png", //image to be shown on the button (may be a fu...)
(No difference)

Revision as of 21:06, 23 December 2008

/* Any JavaScript here will be loaded for all users on every page load. */
var button = {
        "imageFile": "images/5/56/Button_big.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "big text",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<big>",        //the text to use to mark the beginning of the block
        "tagClose": "</big>",      //the text to use to mark the end of the block (if any)
        "sampleText": "big text"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button);