Index: trunk/phase3/includes/Title.php |
— | — | @@ -875,12 +875,10 @@ |
876 | 876 | } |
877 | 877 | if( $this->isExternal() ) { |
878 | 878 | $ret = $this->getFullURL( $query ); |
879 | | - } elseif( $this->getPrefixedText() === '' |
880 | | - and $this->getFragment() !== '' ) { |
| 879 | + } elseif( $this->getPrefixedText() === '' && $this->getFragment() !== '' ) { |
881 | 880 | $ret = $this->getFragmentForURL(); |
882 | 881 | } else { |
883 | | - $ret = $this->getLocalURL( $query, $variant ) |
884 | | - . $this->getFragmentForURL(); |
| 882 | + $ret = $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL(); |
885 | 883 | } |
886 | 884 | wfProfileOut( __METHOD__ ); |
887 | 885 | return $ret; |