X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Fgallery%2FSlideshowImageGallery.php;h=f29c565fc9945b1ba72ed93da1a957e0baee17c6;hb=1d1bb122942d2ca6e557dc13e2d198276ce65ba6;hp=3f0c9329d09199b7856b13b2ca07683c99f67802;hpb=df5e7c3aa0b508591cc95781872aac8f7a45b974;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/gallery/SlideshowImageGallery.php b/includes/gallery/SlideshowImageGallery.php index 3f0c9329d0..f29c565fc9 100644 --- a/includes/gallery/SlideshowImageGallery.php +++ b/includes/gallery/SlideshowImageGallery.php @@ -34,4 +34,8 @@ class SlideshowImageGallery extends TraditionalImageGallery { protected function getModules() { return [ 'mediawiki.page.gallery.slideshow' ]; } + + public function setAdditionalOptions( $params ) { + $this->mAttribs['data-showthumbnails'] = isset( $params['showthumbnails'] ); + } }