From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/context/IContextSource.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'includes/context/IContextSource.php') diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index 35d5aed6..f718103d 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -37,7 +37,7 @@ interface IContextSource { /** * Get the Title object * - * @return Title + * @return Title|null */ public function getTitle(); @@ -76,14 +76,6 @@ interface IContextSource { */ public function getUser(); - /** - * Get the Language object - * - * @deprecated since 1.19 Use getLanguage instead - * @return Language - */ - public function getLang(); - /** * Get the Language object * @@ -99,6 +91,14 @@ interface IContextSource { */ public function getSkin(); + /** + * Get the site configuration + * + * @since 1.23 + * @return Config + */ + public function getConfig(); + /** * Get a Message object with context set * @@ -110,7 +110,7 @@ interface IContextSource { * Export the resolved user IP, HTTP headers, user ID, and session ID. * The result will be reasonably sized to allow for serialization. * - * @return Array + * @return array * @since 1.21 */ public function exportSession(); -- cgit v1.2.3-54-g00ecf