Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1047,6 +1047,11 @@ |
1048 | 1048 | continue; |
1049 | 1049 | } |
1050 | 1050 | } |
| 1051 | + if( ( $nt->getPrefixedText() == $wgTitle->getPrefixedText() ) && |
| 1052 | + ( strpos( $link, "#" ) == FALSE ) ) { |
| 1053 | + $s .= "<strong>" . $text . "</strong>" . $trail; |
| 1054 | + continue; |
| 1055 | + } |
1051 | 1056 | if( $ns == $media ) { |
1052 | 1057 | $s .= $sk->makeMediaLinkObj( $nt, $text ) . $trail; |
1053 | 1058 | $wgLinkCache->addImageLinkObj( $nt ); |