From 0ae334875be9cfbcb154e87c3d8e5f4cb6b28f83 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 29 Apr 2008 06:53:48 +0000 Subject: [PATCH] Do not show useless input form if wiki is running in misermode --- includes/SpecialWithoutinterwiki.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() ); -- 2.20.1