From 0920d4a4803e779ce45c5ee496ba93b4e6b613ab Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 3 Aug 2012 13:03:08 +0200 Subject: [PATCH] Change from wgMiserMode to isCached on Special:WithoutInterwikis This makes it clearer why the input from is not needed. It does not change anything, because isCached checks isExpensive and wgMiserMode and isExpensive is true here. Change-Id: Ib5f775d5ff20b53b91732ca544ec273543afe7d1 --- includes/specials/SpecialWithoutinterwiki.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index accef8c8c6..74eedc37ee 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -41,10 +41,10 @@ class WithoutInterwikiPage extends PageQueryPage { } function getPageHeader() { - global $wgScript, $wgMiserMode; + global $wgScript; - # Do not show useless input form if wiki is running in misermode - if( $wgMiserMode ) { + # Do not show useless input form if special page is cached + if( $this->isCached() ) { return ''; } -- 2.20.1