MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Latest revision as of 22:14, 2 February 2011
/* Any JavaScript here will be loaded for all users on every page load. */
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "images/2/23/Button_code.png",
"speedTip": "inline <code> tag",
"tagOpen": "<code>",
"tagClose": "</code>",
"sampleText": "Insert code here"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "images/3/3c/Button_pre.png",
"speedTip": "block <pre> tag",
"tagOpen": "<pre>\n",
"tagClose": "\n</pre>",
"sampleText": "Insert code here"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "images/d/d2/Button_source.png",
"speedTip": "block <source> tag",
"tagOpen": "<source lang=\"ruby\">\n",
"tagClose": "\n</source>",
"sampleText": "Insert code here"}
}