Merge "Fix Postgres support"
[lhc/web/wiklou.git] / includes / context / IContextSource.php
index 750389d..8e9fc6f 100644 (file)
@@ -21,6 +21,8 @@
  * @file
  */
 
+use Liuggio\StatsdClient\Factory\StatsdDataFactory;
+
 /**
  * Interface for objects which can provide a MediaWiki context on request
  *
@@ -126,8 +128,10 @@ interface IContextSource {
        /**
         * Get the stats object
         *
+        * @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
+        *
         * @since 1.25
-        * @return BufferingStatsdDataFactory
+        * @return MediawikiStatsdDataFactory
         */
        public function getStats();