From: Ori.livneh Date: Wed, 23 Sep 2015 19:32:33 +0000 (+0000) Subject: Revert "Do not double load gallery styles now cache has expired" X-Git-Tag: 1.31.0-rc.0~9885^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=4a9aab29c1ba0725271898bd60138336f17fa67e;p=lhc%2Fweb%2Fwiklou.git Revert "Do not double load gallery styles now cache has expired" This reverts commit 0fc3b0850c0def14a213dc7f0278444948762f82. Bug: T113511 Change-Id: I62afd734432c4e7432fe04b146809423090df9fe --- diff --git a/resources/Resources.php b/resources/Resources.php index 4e593128d0..07142a5511 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -1759,6 +1759,8 @@ 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' ) @@ -1773,6 +1775,8 @@ 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',