From: Aaron Schulz Date: Sun, 10 Aug 2008 07:10:05 +0000 (+0000) Subject: Filecache should check &useskin. This should be backported. X-Git-Tag: 1.31.0-rc.0~45978 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=da4a31d15e974b5eba9347ca979e97f3ff227be7;p=lhc%2Fweb%2Fwiklou.git Filecache should check &useskin. This should be backported. --- diff --git a/includes/Article.php b/includes/Article.php index 21ec092412..639e449b24 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2932,6 +2932,7 @@ class Article { $redirect = $wgRequest->getVal( 'redirect' ); $printable = $wgRequest->getVal( 'printable' ); $page = $wgRequest->getVal( 'page' ); + $useskin = $wgRequest->getVal( 'useskin' ); //check for non-standard user language; this covers uselang, //and extensions for auto-detecting user language. @@ -2944,6 +2945,7 @@ class Article { && ($wgUser->isAnon()) && (!$wgUser->getNewtalk()) && ($this->mTitle->getNamespace() != NS_SPECIAL ) + && (!isset($useskin)) && (empty( $action ) || $action == 'view') && (!isset($oldid)) && (!isset($diff))