جیاوازیی نێوان پێداچوونەوەکانی «میدیاویکی:Common.js»

لە چاوگ
Share/Save/Bookmark
 
(٦ دەستکاری لەلایەن ھەمان بەکارھێنەرەوە بیشاننادرێت)
ھێڵی ١: ھێڵی ١:
 
/* 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), 22x40 pixels
+
         "imageFile": "http://www.chawg.org/w/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
ھێڵی ١٠: ھێڵی ١٠:
 
/* Eme Bo Dugmei TT */
 
/* Eme Bo Dugmei TT */
 
var button = {
 
var button = {
         "imageFile": "http://www.chawg.org/wiki/skins/common/images/tt_button.gif",  //image to be shown on the button (may be a full URL too), 22x40 pixels
+
         "imageFile": "http://www.chawg.org/w/skins/common/images/tt_button.gif",  //image to be shown on the button (may be a full URL too), 22x40 pixels
         "speedTip": "Deqi Zeq",    //text shown in a tooltip when hovering the mouse over the button
+
         "speedTip": "TT",    //text shown in a tooltip when hovering the mouse over the button
 
         "tagOpen": "<tt>",        //the text to use to mark the beginning of the block
 
         "tagOpen": "<tt>",        //the text to use to mark the beginning of the block
 
         "tagClose": "</tt>",      //the text to use to mark the end of the block (if any)
 
         "tagClose": "</tt>",      //the text to use to mark the end of the block (if any)
 
         "sampleText": "Deqi Zeq"  //the sample text to place inside the block
 
         "sampleText": "Deqi Zeq"  //the sample text to place inside the block
 +
};
 +
mwCustomEditButtons.push(button);
 +
 +
/* Dugmei CODE le inline */
 +
var button = {
 +
        "imageFile": "http://www.chawg.org/w/skins/common/images/code_button.gif",  //image to be shown on the button (may be a full URL too), 22x22 pixels
 +
        "speedTip": "code heman hell",    //text shown in a tooltip when hovering the mouse over the button
 +
        "tagOpen": "<code>",        //the text to use to mark the beginning of the block
 +
        "tagClose": "</code>",      //the text to use to mark the end of the block (if any)
 +
        "sampleText": "CODE Heman hell"  //the sample text to place inside the block
 +
};
 +
mwCustomEditButtons.push(button);
 +
/* Dugmei BR bo hatne ser helli nwe */
 +
var button = {
 +
        "imageFile": "http://www.chawg.org/w/skins/common/images/Button_br.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
 +
        "speedTip": "BR bo deri taze",    //text shown in a tooltip when hovering the mouse over the button
 +
        "tagOpen": "<br />",        //the text to use to mark the beginning of the block
 +
        "tagClose": "",      //the text to use to mark the end of the block (if any)
 +
        "sampleText": ""  //the sample text to place inside the block
 
};
 
};
 
mwCustomEditButtons.push(button);
 
mwCustomEditButtons.push(button);

دوایین پێداچوونەوەی ‏١٩:٤٧، ١٨ی نیسانی ٢٠١٠

/* Any JavaScript here will be loaded for all users on every page load. */
var button = {
        "imageFile": "http://www.chawg.org/w/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);
/* Eme Bo Dugmei TT */
var button = {
        "imageFile": "http://www.chawg.org/w/skins/common/images/tt_button.gif",  //image to be shown on the button (may be a full URL too), 22x40 pixels
        "speedTip": "TT",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<tt>",        //the text to use to mark the beginning of the block
        "tagClose": "</tt>",      //the text to use to mark the end of the block (if any)
        "sampleText": "Deqi Zeq"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button);

/* Dugmei CODE le inline */
var button = {
        "imageFile": "http://www.chawg.org/w/skins/common/images/code_button.gif",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "code heman hell",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<code>",        //the text to use to mark the beginning of the block
        "tagClose": "</code>",      //the text to use to mark the end of the block (if any)
        "sampleText": "CODE Heman hell"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button);
/* Dugmei BR bo hatne ser helli nwe */
var button = {
        "imageFile": "http://www.chawg.org/w/skins/common/images/Button_br.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "BR bo deri taze",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<br />",        //the text to use to mark the beginning of the block
        "tagClose": "",      //the text to use to mark the end of the block (if any)
        "sampleText": ""   //the sample text to place inside the block
};
mwCustomEditButtons.push(button);