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...)
 
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
var button = {
+
/*var button = {
 
         "imageFile": "images/5/56/Button_big.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
 
         "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
 
         "speedTip": "big text",    //text shown in a tooltip when hovering the mouse over the button
Line 8: Line 8:
 
};
 
};
 
mwCustomEditButtons.push(button);
 
mwCustomEditButtons.push(button);
 +
*/

Revision as of 20:08, 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);
*/