From: Raimond Spekking Date: Tue, 29 Apr 2008 06:53:48 +0000 (+0000) Subject: Do not show useless input form if wiki is running in misermode X-Git-Tag: 1.31.0-rc.0~48019 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=0ae334875be9cfbcb154e87c3d8e5f4cb6b28f83;p=lhc%2Fweb%2Fwiklou.git Do not show useless input form if wiki is running in misermode --- diff --git a/includes/SpecialWithoutinterwiki.php b/includes/SpecialWithoutinterwiki.php index 6900b16463..56d82bb492 100644 --- a/includes/SpecialWithoutinterwiki.php +++ b/includes/SpecialWithoutinterwiki.php @@ -14,7 +14,13 @@ class WithoutInterwikiPage extends PageQueryPage { } function getPageHeader() { - global $wgScript; + global $wgScript, $wgMiserMode; + + # Do not show useless input form if wiki is running in misermode + if( $wgMiserMode ) { + return ''; + } + $prefix = $this->prefix; $t = SpecialPage::getTitleFor( $this->getName() );