Do not double load gallery styles now cache has expired
authorjdlrobson <jdlrobson@gmail.com>
Sat, 22 Aug 2015 00:15:48 +0000 (17:15 -0700)
committerOri.livneh <ori@wikimedia.org>
Fri, 18 Sep 2015 21:56:45 +0000 (21:56 +0000)
Was separated in 1.26wmf21 (Ib1aef04dc4fece78e6615386ecaef6a9f368f49e)
We should aim to get this in 1.26wmf24 (there will still
be a small amount of pages with outdated HTML but the benefit
to all users not double loading is arguably larger at this point)

Bug: T110709
Change-Id: I96acc21f57ecc8c5e55df9528a4412d0ea641fa8

resources/Resources.php

index 07142a5..4e59312 100644 (file)
@@ -1759,8 +1759,6 @@ return array(
        'mediawiki.legacy.commonPrint' => array(
                'position' => 'top',
                'styles' => array(
-                       // @todo: Remove mediawiki.page.gallery when cache has cleared
-                       'resources/src/mediawiki.page/mediawiki.page.gallery.print.css' => array( 'media' => 'print' ),
                        // @todo: Remove mediawiki.action.view.filepage.print.css when cache has cleared
                        'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' => array( 'media' => 'print' ),
                        'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
@@ -1775,8 +1773,6 @@ return array(
        'mediawiki.legacy.shared' => array(
                'position' => 'top',
                'styles' => array(
-                       // @todo: Remove when mediawiki.page.gallery in cached html.
-                       'resources/src/mediawiki.page/mediawiki.page.gallery.css',
                        // @todo: Remove mediawiki.action.view.filepage.css
                        // and mediawiki.legacy/images/checker.png when cache has cleared
                        'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',