Merge "GallerySlideshow: Add tooltip on toggle thumbnails icon"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 12 Oct 2016 15:50:21 +0000 (15:50 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 12 Oct 2016 15:50:21 +0000 (15:50 +0000)
maintenance/Doxyfile
resources/src/mediawiki/page/gallery-slideshow.js

index 0c89c05..7e9220c 100644 (file)
@@ -4,10 +4,10 @@
 # doxygen (www.doxygen.org) for MediaWiki.
 #
 # Some placeholders have been added for MediaWiki usage:
-# {{OUTPUT_DIRECTORY}}
-# {{CURRENT_VERSION}}
-# {{STRIP_FROM_PATH}}
-# {{INPUT}}
+# OUTPUT_DIRECTORY = {{OUTPUT_DIRECTORY}}
+# CURRENT_VERSION  = {{CURRENT_VERSION}}
+# STRIP_FROM_PATH  = {{STRIP_FROM_PATH}}
+# INPUT            = {{INPUT}}
 #
 # To generate documentation run: php mwdocgen.php --no-extensions
 
index f2d7b04..cf448b0 100644 (file)
                // Show thumbnail stretched to the right size while the image loads
                this.$thumbnail = imageLi.find( 'img' );
                this.$img.attr( 'src', this.$thumbnail.attr( 'src' ) );
+               this.$img.attr( 'alt', this.$thumbnail.attr( 'alt' ) );
                this.$imgLink.attr( 'href', imageLi.find( 'a' ).eq( 0 ).attr( 'href' ) );
                this.setImageSize();