Difference between revisions of "MediaWiki:Common.js"

From Dr. GWF Drake's Research Group
Jump to: navigation, search
(Created page with "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...")
 
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 = {
 
"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)
 

Revision as of 20:39, 27 November 2010

/* Any JavaScript here will be loaded for all users on every page load. */