From 0fc3b0850c0def14a213dc7f0278444948762f82 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Fri, 21 Aug 2015 17:15:48 -0700 Subject: [PATCH] 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 --- resources/Resources.php | 4 ---- 1 file changed, 4 deletions(-) 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', -- 2.20.1