Difference between revisions of "MediaWiki:Common.js"
HyperActive (talk | contribs) (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...") |
(No difference)
|
Revision as of 20:39, 27 November 2010
/* 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)