X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontext%2FIContextSource.php;h=6e48e1eba7dca08f1ea0de832de562532edb4a5c;hb=9283760f340c6971d748fb574a35453fa7928807;hp=895e9e4b559e60dca545b2a1ac02a689dc990c6f;hpb=1b86e6bb67708d24fce32b3940c926c8314dfcbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index 895e9e4b55..6e48e1eba7 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -21,8 +21,6 @@ * @file */ -use Liuggio\StatsdClient\Factory\StatsdDataFactory; - /** * Interface for objects which can provide a MediaWiki context on request * @@ -53,16 +51,13 @@ use Liuggio\StatsdClient\Factory\StatsdDataFactory; * shutdown by separate persistence handler objects, for example. */ interface IContextSource extends MessageLocalizer { + /** - * Get the WebRequest object - * * @return WebRequest */ public function getRequest(); /** - * Get the Title object - * * @return Title|null */ public function getTitle(); @@ -89,30 +84,22 @@ interface IContextSource extends MessageLocalizer { public function getWikiPage(); /** - * Get the OutputPage object - * * @return OutputPage */ public function getOutput(); /** - * Get the User object - * * @return User */ public function getUser(); /** - * Get the Language object - * * @return Language * @since 1.19 */ public function getLanguage(); /** - * Get the Skin object - * * @return Skin */ public function getSkin(); @@ -126,8 +113,6 @@ interface IContextSource extends MessageLocalizer { public function getConfig(); /** - * Get the stats object - * * @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected) * * @since 1.25 @@ -136,8 +121,6 @@ interface IContextSource extends MessageLocalizer { public function getStats(); /** - * Get the timing object - * * @since 1.27 * @return Timing */