From: Alexandre Emsenhuber Date: Thu, 22 Dec 2011 20:37:55 +0000 (+0000) Subject: Use local context to get messages X-Git-Tag: 1.31.0-rc.0~25799 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=f1542711056c145ff84b6ca31e004c7ed408c11e;p=lhc%2Fweb%2Fwiklou.git Use local context to get messages --- diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php index 8837c07ab9..a6df66f606 100644 --- a/includes/specials/SpecialDoubleRedirects.php +++ b/includes/specials/SpecialDoubleRedirects.php @@ -38,7 +38,7 @@ class DoubleRedirectsPage extends PageQueryPage { function sortDescending() { return false; } function getPageHeader() { - return wfMsgExt( 'doubleredirectstext', array( 'parse' ) ); + return $this->msg( 'doubleredirectstext' )->parseAsBlock(); } function reallyGetQueryInfo( $namespace = null, $title = null ) { @@ -105,7 +105,7 @@ class DoubleRedirectsPage extends PageQueryPage { $edit = Linker::linkKnown( $titleA, - wfMsgExt( 'parentheses', array( 'escape' ), wfMsg( 'editlink' ) ), + $this->msg( 'parentheses', $this->msg( 'editlink' )->text() )->escaped(), array(), array( 'redirect' => 'no',