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
"; } }