mPerRow = 0; } /** * Add javascript adds interface elements * @return array */ protected function getModules() { return [ 'mediawiki.page.gallery.slideshow' ]; } public function setAdditionalOptions( $params ) { $this->mAttribs['data-showthumbnails'] = isset( $params['showthumbnails'] ); } }