http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90692
Revision: 90692
Author: aaron
Date: 2011-06-24 07:08:44 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
Minor code cleanups
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialPrefixindex.php
Modified: trunk/phase3/includes/specials/SpecialPrefixindex.php
===================================================================
--- trunk/phase3/includes/specials/SpecialPrefixindex.php 2011-06-24
06:11:36 UTC (rev 90691)
+++ trunk/phase3/includes/specials/SpecialPrefixindex.php 2011-06-24
07:08:44 UTC (rev 90692)
@@ -56,18 +56,17 @@
);
$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 ) );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs