« MediaWiki:Common.js » : différence entre les versions

De Esopedia
Aucun résumé des modifications
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
var button = {
var button = {
         "imageFile": "images/citation.jpg",  //image to be shown on the button (may be a full URL too), 22x22 pixels
         "imageFile": "images/citation.jpg",   
         "speedTip": "bloc de citation",    //text shown in a tooltip when hovering the mouse over the button
         "speedTip": "bloc de citation",     
         "tagOpen": "<blockquote>",        //the text to use to mark the beginning of the block
         "tagOpen": "<blockquote>",         
         "tagClose": "</blockquote>",      //the text to use to mark the end of the block (if any)
         "tagClose": "</blockquote>",       
         "sampleText": "bloc de citation"  //the sample text to place inside the block
         "sampleText": "bloc de citation"   
};
};
mwCustomEditButtons.push(button);
mwCustomEditButtons.push(button);

Version du 7 février 2008 à 22:24

var button = {
        "imageFile": "images/citation.jpg",  
        "speedTip": "bloc de citation",    
        "tagOpen": "<blockquote>",        
        "tagClose": "</blockquote>",      
        "sampleText": "bloc de citation"   
};
mwCustomEditButtons.push(button);