r81391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81390‎ | r81391 | r81392 >
Date:14:48, 2 February 2011
Author:ialex
Status:ok
Tags:
Comment:
Force isCached() to false; otherwise the result is "This page is disabled for performance reason" when both $wgMiserMode and $wgDisableQueryPages are true
Modified paths:
  • /trunk/phase3/includes/specials/SpecialFileDuplicateSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialFileDuplicateSearch.php
@@ -37,6 +37,7 @@
3838
3939 function isSyndicated() { return false; }
4040 function isCacheable() { return false; }
 41+ function isCached() { return false; }
4142
4243 function linkParameters() {
4344 return array( 'filename' => $this->filename );

Status & tagging log