X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fcontext%2FIContextSource.php;h=895e9e4b559e60dca545b2a1ac02a689dc990c6f;hb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1;hp=ccefc72f1b3480e8c08370b152113843965050f8;hpb=c8d361a38027ef5d808225b8a83f15417248aa67;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index ccefc72f1b..895e9e4b55 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -52,7 +52,7 @@ use Liuggio\StatsdClient\Factory\StatsdDataFactory; * belong here either. Session state changes should only be propagated on * shutdown by separate persistence handler objects, for example. */ -interface IContextSource { +interface IContextSource extends MessageLocalizer { /** * Get the WebRequest object * @@ -131,7 +131,7 @@ interface IContextSource { * @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected) * * @since 1.25 - * @return StatsdDataFactory + * @return IBufferingStatsdDataFactory */ public function getStats(); @@ -143,14 +143,6 @@ interface IContextSource { */ public function getTiming(); - /** - * Get a Message object with context set. See wfMessage for parameters. - * - * @param mixed ... - * @return Message - */ - public function msg(); - /** * Export the resolved user IP, HTTP headers, user ID, and session ID. * The result will be reasonably sized to allow for serialization.