X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fgallery%2FPackedOverlayImageGallery.php;h=db8ce68b9ae1118b5ef2f05d15e6271166d6624c;hb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;hp=01360d05fc675d850bf015b83b1b9cb67bf3ee8c;hpb=81c698cc8caf94e03d9457b67e1b4e94d47c7f4f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/gallery/PackedOverlayImageGallery.php b/includes/gallery/PackedOverlayImageGallery.php index 01360d05fc..db8ce68b9a 100644 --- a/includes/gallery/PackedOverlayImageGallery.php +++ b/includes/gallery/PackedOverlayImageGallery.php @@ -31,7 +31,6 @@ class PackedOverlayImageGallery extends PackedImageGallery { * @return string */ protected function wrapGalleryText( $galleryText, $thumb ) { - // If we have no text, do not output anything to avoid // ugly white overlay. if ( trim( $galleryText ) === '' ) { @@ -40,7 +39,7 @@ class PackedOverlayImageGallery extends PackedImageGallery { # ATTENTION: The newline after
is needed to # accommodate htmltidy which in version 4.8.6 generated crackpot HTML - # in its absence, see: http://bugzilla.wikimedia.org/show_bug.cgi?id=1765 + # in its absence, see: https://phabricator.wikimedia.org/T3765 # -Ævar $thumbWidth = $this->getGBWidth( $thumb ) - $this->getThumbPadding() - $this->getGBPadding();