From: Brion Vibber Date: Thu, 5 Jan 2006 15:07:46 +0000 (+0000) Subject: prettify link X-Git-Tag: 1.6.0~756 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=c480c7e8408e1cba80d488193117da0718f8e049;p=lhc%2Fweb%2Fwiklou.git prettify link --- 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 . ')'; } }