From: Alexandre Emsenhuber Date: Thu, 7 Jul 2011 20:17:55 +0000 (+0000) Subject: * Fixed comment X-Git-Tag: 1.31.0-rc.0~29001 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=13d2bd67057941d31def7f7a666f642521bd09bd;p=lhc%2Fweb%2Fwiklou.git * Fixed comment * Wrap arround RequestContext::msg() instead of doing that all that stuff once more --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index f517a54b8d..8bca60b58c 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -648,7 +648,7 @@ class SpecialPage { } /** - * Shortcut to get the skin being used for this instance + * Shortcut to get the User executing this instance * * @return User * @since 1.18 @@ -688,15 +688,13 @@ class SpecialPage { } /** - * Wrapper around wfMessage that sets the current context. Currently this - * is only the title. + * Wrapper around wfMessage that sets the current context. * * @return Message * @see wfMessage */ public function msg( /* $args */ ) { - return call_user_func_array( 'wfMessage', - func_get_args() )->title( $this->getFullTitle() ); + return call_user_func_array( array( $this->getContext(), 'msg' ), func_get_args() ); } /**