r47733 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47732‎ | r47733 | r47734 >
Date:00:03, 24 February 2009
Author:aaron
Status:ok
Tags:
Comment:
whitespace/style tweak
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -875,12 +875,10 @@
876876 }
877877 if( $this->isExternal() ) {
878878 $ret = $this->getFullURL( $query );
879 - } elseif( $this->getPrefixedText() === ''
880 - and $this->getFragment() !== '' ) {
 879+ } elseif( $this->getPrefixedText() === '' && $this->getFragment() !== '' ) {
881880 $ret = $this->getFragmentForURL();
882881 } else {
883 - $ret = $this->getLocalURL( $query, $variant )
884 - . $this->getFragmentForURL();
 882+ $ret = $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL();
885883 }
886884 wfProfileOut( __METHOD__ );
887885 return $ret;

Status & tagging log