* 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
*
* @deprecated since 1.27 use a StatsdDataFactory from MediaWikiServices (preferably injected)
*
* @since 1.25
- * @return StatsdDataFactory
+ * @return IBufferingStatsdDataFactory
*/
public function getStats();
*/
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.