From: Alexandre Emsenhuber Date: Mon, 13 Feb 2012 16:43:43 +0000 (+0000) Subject: Use local context to get message X-Git-Tag: 1.31.0-rc.0~24729 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ae09c45d04d417944ba5a8800666f88f546df425;p=lhc%2Fweb%2Fwiklou.git Use local context to get message --- diff --git a/includes/specials/SpecialUnwatchedpages.php b/includes/specials/SpecialUnwatchedpages.php index 22c648585f..c4f99f89cd 100644 --- a/includes/specials/SpecialUnwatchedpages.php +++ b/includes/specials/SpecialUnwatchedpages.php @@ -78,7 +78,7 @@ class UnwatchedpagesPage extends QueryPage { $token = WatchAction::getWatchToken( $nt, $this->getUser() ); $wlink = Linker::linkKnown( $nt, - wfMsgHtml( 'watch' ), + $this->msg( 'watch' )->escaped(), array(), array( 'action' => 'watch', 'token' => $token ) );