No edit summary |
No edit summary |
||
ھێڵی ١: | ھێڵی ١: | ||
/* 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": "http://www.chawg.org/wiki/skins/common/images/syntax_button.gif", //image to be shown on the button (may be a full URL too), | "imageFile": "http://www.chawg.org/wiki/skins/common/images/syntax_button.gif", //image to be shown on the button (may be a full URL too), 22x40 pixels | ||
"speedTip": "Syntax Highlight", //text shown in a tooltip when hovering the mouse over the button | "speedTip": "Syntax Highlight", //text shown in a tooltip when hovering the mouse over the button | ||
"tagOpen": "<source lang=\'LANG\'>", //the text to use to mark the beginning of the block | "tagOpen": "<source lang=\'LANG\'>", //the text to use to mark the beginning of the block |
وەک پێداچوونەوەی ١٧:٤٦، ١٩ی کانوونی یەکەمی ٢٠٠٨
/* Any JavaScript here will be loaded for all users on every page load. */
var button = {
"imageFile": "http://www.chawg.org/wiki/skins/common/images/syntax_button.gif", //image to be shown on the button (may be a full URL too), 22x40 pixels
"speedTip": "Syntax Highlight", //text shown in a tooltip when hovering the mouse over the button
"tagOpen": "<source lang=\'LANG\'>", //the text to use to mark the beginning of the block
"tagClose": "</source>", //the text to use to mark the end of the block (if any)
"sampleText": "Syntax Highlight" //the sample text to place inside the block
};
mwCustomEditButtons.push(button);