Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -56,18 +56,17 @@ |
57 | 57 | ); |
58 | 58 | |
59 | 59 | $showme = ''; |
60 | | - if ( $this->including() && ( $par == '' ) ) { |
| 60 | + if ( $this->including() && $par == '' ) { |
61 | 61 | // Bug 27864: if transcluded, show all pages instead of the form |
62 | | - $showme = ' '; |
63 | | - } elseif( isset( $par ) ){ |
| 62 | + } elseif( isset( $par ) ) { |
64 | 63 | $showme = $par; |
65 | | - } elseif( $prefix != '' ){ |
| 64 | + } elseif( $prefix != '' ) { |
66 | 65 | $showme = $prefix; |
67 | | - } elseif( $from != '' ){ |
| 66 | + } elseif( $from != '' ) { |
68 | 67 | // For back-compat with Special:Allpages |
69 | 68 | $showme = $from; |
70 | 69 | } |
71 | | - if ($showme != '' || $namespace) { |
| 70 | + if ( $showme != '' || $namespace ) { |
72 | 71 | $this->showPrefixChunk( $namespace, $showme, $from ); |
73 | 72 | } else { |
74 | 73 | $wgOut->addHTML( $this->namespacePrefixForm( $namespace, null ) ); |