diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
commit | a2190ac74dd4d7080b12bab90e552d7aa81209ef (patch) | |
tree | 8b31f38de9882d18df54cf8d9e0de74167a094eb /includes/gallery/TraditionalImageGallery.php | |
parent | 15e69f7b20b6596b9148030acce5b59993b95a45 (diff) | |
parent | 257401d8b2cf661adf36c84b0e3fd1cf85e33c22 (diff) |
Merge branch 'mw-1.26'
Diffstat (limited to 'includes/gallery/TraditionalImageGallery.php')
-rw-r--r-- | includes/gallery/TraditionalImageGallery.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/gallery/TraditionalImageGallery.php b/includes/gallery/TraditionalImageGallery.php index 7a0206c2..181c7b8e 100644 --- a/includes/gallery/TraditionalImageGallery.php +++ b/includes/gallery/TraditionalImageGallery.php @@ -49,8 +49,10 @@ class TraditionalImageGallery extends ImageGalleryBase { if ( $this->mParser ) { $this->mParser->getOutput()->addModules( $modules ); + $this->mParser->getOutput()->addModuleStyles( 'mediawiki.page.gallery.styles' ); } else { $this->getOutput()->addModules( $modules ); + $this->getOutput()->addModuleStyles( 'mediawiki.page.gallery.styles' ); } $output = Xml::openElement( 'ul', $attribs ); if ( $this->mCaption ) { @@ -205,7 +207,7 @@ class TraditionalImageGallery extends ImageGalleryBase { protected function wrapGalleryText( $galleryText, $thumb ) { # 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=1765 + # its absence, see: https://phabricator.wikimedia.org/T3765 # -Ævar return "\n\t\t\t" . '<div class="gallerytext">' . "\n" |