dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Added a separate error message for mkdir failures"
[lhc/web/wiklou.git]
/
includes
/
gallery
/
PackedOverlayImageGallery.php
diff --git
a/includes/gallery/PackedOverlayImageGallery.php
b/includes/gallery/PackedOverlayImageGallery.php
index
01360d0
..
db8ce68
100644
(file)
--- 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 ) {
* @return string
*/
protected function wrapGalleryText( $galleryText, $thumb ) {
-
// If we have no text, do not output anything to avoid
// ugly white overlay.
if ( trim( $galleryText ) === '' ) {
// 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 <div class="gallerytext"> is needed to
# accommodate htmltidy which in version 4.8.6 generated crackpot HTML
# ATTENTION: The newline after <div class="gallerytext"> 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=1
765
+ # in its absence, see: http
s://phabricator.wikimedia.org/T3
765
# -Ævar
$thumbWidth = $this->getGBWidth( $thumb ) - $this->getThumbPadding() - $this->getGBPadding();
# -Ævar
$thumbWidth = $this->getGBWidth( $thumb ) - $this->getThumbPadding() - $this->getGBPadding();