From: Aaron Schulz Date: Fri, 24 Jun 2011 07:08:44 +0000 (+0000) Subject: Minor code cleanups X-Git-Tag: 1.31.0-rc.0~29317 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=ee54cd576af5835bcb44e95e72b77d567b5405e2;p=lhc%2Fweb%2Fwiklou.git Minor code cleanups --- diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index cf1dbbd7ac..1421a61777 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -56,18 +56,17 @@ class SpecialPrefixindex extends SpecialAllpages { ); $showme = ''; - if ( $this->including() && ( $par == '' ) ) { + if ( $this->including() && $par == '' ) { // Bug 27864: if transcluded, show all pages instead of the form - $showme = ' '; - } elseif( isset( $par ) ){ + } elseif( isset( $par ) ) { $showme = $par; - } elseif( $prefix != '' ){ + } elseif( $prefix != '' ) { $showme = $prefix; - } elseif( $from != '' ){ + } elseif( $from != '' ) { // For back-compat with Special:Allpages $showme = $from; } - if ($showme != '' || $namespace) { + if ( $showme != '' || $namespace ) { $this->showPrefixChunk( $namespace, $showme, $from ); } else { $wgOut->addHTML( $this->namespacePrefixForm( $namespace, null ) );