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/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?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 . ')'; } }