From: Alexandre Emsenhuber Date: Wed, 2 Feb 2011 14:48:26 +0000 (+0000) Subject: Force isCached() to false; otherwise the result is "This page is disabled for perform... X-Git-Tag: 1.31.0-rc.0~32255 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=847ed17b3e0af88d4bd4e759ee91201b693f59bb;p=lhc%2Fweb%2Fwiklou.git Force isCached() to false; otherwise the result is "This page is disabled for performance reason" when both $wgMiserMode and $wgDisableQueryPages are true --- diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index 6eccb90c91..e95a0ca665 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -37,6 +37,7 @@ class FileDuplicateSearchPage extends QueryPage { function isSyndicated() { return false; } function isCacheable() { return false; } + function isCached() { return false; } function linkParameters() { return array( 'filename' => $this->filename );