r33994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33993‎ | r33994 | r33995 >
Date:06:53, 29 April 2008
Author:raymond
Status:old
Tags:
Comment:
Do not show useless input form if wiki is running in misermode
Modified paths:
  • /trunk/phase3/includes/SpecialWithoutinterwiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialWithoutinterwiki.php
@@ -14,7 +14,13 @@
1515 }
1616
1717 function getPageHeader() {
18 - global $wgScript;
 18+ global $wgScript, $wgMiserMode;
 19+
 20+ # Do not show useless input form if wiki is running in misermode
 21+ if( $wgMiserMode ) {
 22+ return '';
 23+ }
 24+
1925 $prefix = $this->prefix;
2026 $t = SpecialPage::getTitleFor( $this->getName() );
2127

Status & tagging log