Do not double load gallery styles now cache has expired
authorJdlrobson <jrobson@wikimedia.org>
Wed, 23 Sep 2015 20:17:09 +0000 (20:17 +0000)
committerjdlrobson <jdlrobson@gmail.com>
Tue, 13 Oct 2015 21:00:54 +0000 (14:00 -0700)
This reverts commit 4a9aab29c1ba0725271898bd60138336f17fa67e.
now that galleries are rendered correctly on category pages.

Dependency: I32697c2c65824d7622c
Change-Id: I0ef5c2d5a9019355aa3a158f9e489df02975e0af

resources/Resources.php

index 0ec4b6b..48cf6f8 100644 (file)
@@ -1850,8 +1850,6 @@ return array(
        'mediawiki.legacy.commonPrint' => array(
                'position' => 'top',
                'styles' => array(
-                       // @todo: Remove mediawiki.page.gallery when cache has cleared
-                       'resources/src/mediawiki/page/gallery-print.css' => array( 'media' => 'print' ),
                        'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
                ),
        ),
@@ -1864,8 +1862,6 @@ return array(
        'mediawiki.legacy.shared' => array(
                'position' => 'top',
                'styles' => array(
-                       // @todo: Remove when mediawiki.page.gallery in cached html.
-                       'resources/src/mediawiki/page/gallery.css',
                        'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
                ),
        ),