dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Enforce no-session constraint in opensearch_desc.php and profileinfo.php"
[lhc/web/wiklou.git]
/
includes
/
gallery
/
SlideshowImageGallery.php
diff --git
a/includes/gallery/SlideshowImageGallery.php
b/includes/gallery/SlideshowImageGallery.php
index
3f0c932
..
f29c565
100644
(file)
--- 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'] );
+ }
}