X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontext%2FContextSource.php;h=618253859df661e2e6ad1fbb9136cf31b0e5d2f8;hb=1190803d29de2ee7ca63573fa5ec9b6cb39cd6a3;hp=6530550fe5e8182b767c68944f09b684fba470c8;hpb=a8379682a46a428320c88702c800a6107c015137;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/ContextSource.php b/includes/context/ContextSource.php index 6530550fe5..618253859d 100644 --- a/includes/context/ContextSource.php +++ b/includes/context/ContextSource.php @@ -49,8 +49,6 @@ abstract class ContextSource implements IContextSource { } /** - * Set the IContextSource object - * * @since 1.18 * @param IContextSource $context */ @@ -59,8 +57,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Config object - * * @since 1.23 * @return Config */ @@ -69,8 +65,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the WebRequest object - * * @since 1.18 * @return WebRequest */ @@ -79,8 +73,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Title object - * * @since 1.18 * @return Title|null */ @@ -114,8 +106,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the OutputPage object - * * @since 1.18 * @return OutputPage */ @@ -124,8 +114,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the User object - * * @since 1.18 * @return User */ @@ -134,8 +122,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Language object - * * @since 1.19 * @return Language */ @@ -144,8 +130,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Skin object - * * @since 1.18 * @return Skin */ @@ -154,8 +138,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Timing object - * * @since 1.27 * @return Timing */ @@ -164,8 +146,6 @@ abstract class ContextSource implements IContextSource { } /** - * Get the Stats object - * * @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected) * * @since 1.25 @@ -188,7 +168,7 @@ abstract class ContextSource implements IContextSource { public function msg( $key /* $args */ ) { $args = func_get_args(); - return call_user_func_array( [ $this->getContext(), 'msg' ], $args ); + return $this->getContext()->msg( ...$args ); } /**