diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/context/IContextSource.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/context/IContextSource.php')
-rw-r--r-- | includes/context/IContextSource.php | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index 476035b5..c7b221b9 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -27,7 +27,6 @@ * Interface for objects which can provide a context on request. */ interface IContextSource { - /** * Get the WebRequest object * @@ -66,7 +65,7 @@ interface IContextSource { /** * Get the OutputPage object * - * @return OutputPage object + * @return OutputPage */ public function getOutput(); @@ -103,8 +102,16 @@ interface IContextSource { /** * Get a Message object with context set * - * @return Message object + * @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. + * + * @return Array + * @since 1.21 + */ + public function exportSession(); +} |