MediaWiki:Common.js

From Fritipedia

(Difference between revisions)
Jump to: navigation, search

Dickie (Talk | contribs)
(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...)
Newer edit →

Revision as of 02:06, 24 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);
Personal tools