importScript('MediaWiki:Common.js/Slideshows.js');
/** * Ajouter un bouton à la fin de la barre d'outils */if ( typeof addCustomButton === 'undefined' ) { mw.log.deprecate( window, 'addCustomButton', function ( imageFile, speedTip, tagOpen, tagClose, sampleText, imageId ) { if ( mw.toolbar ) { mw.toolbar.addButton( { imageFile: imageFile.replace( /^http:(\/\/upload\.wikimedia\.org\/)/, '$1' ), speedTip: speedTip, tagOpen: tagOpen, tagClose: tagClose, sampleText: sampleText, imageId: imageId } );DO NOT ADD CODE BELOW THIS LINE } }, 'Use mw.toolbar.addButton instead.' );}