prettify link
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 5 Jan 2006 15:07:46 +0000 (15:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 5 Jan 2006 15:07:46 +0000 (15:07 +0000)
includes/SpecialUnwatchedpages.php

index d37ce07..97a33ee 100644 (file)
@@ -47,10 +47,10 @@ class UnwatchedpagesPage extends QueryPage {
                $nt = Title::makeTitle( $result->namespace, $result->title );
                $text = $wgContLang->convert( $nt->getPrefixedText() );
                
-               $plink = $skin->makeKnownLink( $nt->getPrefixedText(), htmlspecialchars( $text ) );
-               $wlink = $skin->makeKnownLinkObj( $nt, '(' . wfMsg( 'watch' ) . ')', 'action=watch' );
+               $plink = $skin->makeKnownLinkObj( $nt, htmlspecialchars( $text ) );
+               $wlink = $skin->makeKnownLinkObj( $nt, wfMsgHtml( 'watch' ), 'action=watch' );
                
-               return $plink . ' ' . $wlink;
+               return $plink . ' (' . $wlink . ')';
        }
 }