From c480c7e8408e1cba80d488193117da0718f8e049 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 5 Jan 2006 15:07:46 +0000 Subject: [PATCH] prettify link --- includes/SpecialUnwatchedpages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialUnwatchedpages.php b/includes/SpecialUnwatchedpages.php index d37ce07b31..97a33eebe5 100644 --- a/includes/SpecialUnwatchedpages.php +++ b/includes/SpecialUnwatchedpages.php @@ -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 . ')'; } } -- 2.20.1