Load module mediawiki.page.gallery.styles for all ImageGalleries
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 23 Sep 2015 19:40:51 +0000 (21:40 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 24 Sep 2015 14:46:47 +0000 (16:46 +0200)
commit27700d276f96ed57f6d97263af13b5628af00a88
treeedd60ac922e50e1d31f3b523d3e02ee3803dc06c
parente4e40eabc29e2d7e492030f57ff1e3d0c36ea9d2
Load module mediawiki.page.gallery.styles for all ImageGalleries

Move the added module from Parser.php to TraditionalImageGallery,
because there the gallerybox class is added to the html and at the
moment all core image galleries are extending the traditional one.

That brings the styles back for special pages like Special:NewFiles,
Special:MostImages and also on category pages with media files.

Follows Ib1aef04dc4fece78e6615386ecaef6a9f368f49e

Bug: T113511
Change-Id: I32697c2c65824d7622c1840330d6074ebb68b488
includes/gallery/TraditionalImageGallery.php
includes/parser/Parser.php