From: jdlrobson Date: Sat, 22 Aug 2015 00:15:48 +0000 (-0700) Subject: Do not double load gallery styles now cache has expired X-Git-Tag: 1.31.0-rc.0~9966 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=0fc3b0850c0def14a213dc7f0278444948762f82;p=lhc%2Fweb%2Fwiklou.git Do not double load gallery styles now cache has expired 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 --- diff --git a/resources/Resources.php b/resources/Resources.php index 07142a5511..4e593128d0 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -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',