is needed to # accommodate htmltidy which in version 4.8.6 generated crackpot HTML # in its absence, see: https://phabricator.wikimedia.org/T3765 # -Ævar $thumbWidth = $this->getGBWidth( $thumb ) - $this->getThumbPadding() - $this->getGBPadding(); $captionWidth = ceil( $thumbWidth - 20 ); $outerWrapper = '
'; return "\n\t\t\t" . $outerWrapper . '
' . "\n" . $galleryText . "\n\t\t\t
"; } } /** * Same as Packed except different CSS is applied to make the * caption only show up on hover. If a touch screen is detected, * falls back to PackedHoverGallery. Degrades gracefully for * screen readers. */ class PackedHoverImageGallery extends PackedOverlayImageGallery { }