Index: trunk/phase3/includes/CoreParserFunctions.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | static function displaytitle( $parser, $text = '' ) { |
111 | 111 | $text = trim( $text ); |
112 | 112 | $title = Title::newFromText( $text ); |
113 | | - if( $title instanceof Title && $title->equals( $parser->mTitle ) ) |
| 113 | + if( $title instanceof Title && $title->getFragment() == '' && $title->equals( $parser->mTitle ) ) |
114 | 114 | $parser->mOutput->setDisplayTitle( $text ); |
115 | 115 | return ''; |
116 | 116 | } |