setAttribute( 'data-showthumbnails', $opts->showthumbnails ? '1' : '' ); } /** @inheritDoc */ protected function perRow( Opts $opts, Element $ul ): void { /* do nothing */ } public function getModules(): array { return [ 'mediawiki.page.gallery.slideshow' ]; } }