From 13d2bd67057941d31def7f7a666f642521bd09bd Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 7 Jul 2011 20:17:55 +0000 Subject: [PATCH] * Fixed comment * Wrap arround RequestContext::msg() instead of doing that all that stuff once more --- includes/SpecialPage.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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() ); } /** -- 2.20.1