From: withoutaname Date: Fri, 20 Jun 2014 23:09:15 +0000 (-0700) Subject: Removed setLang() too from IContextSource subclasses X-Git-Tag: 1.31.0-rc.0~15287^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=1be828aa6c7680e8a35c695832fb160f067d4262;p=lhc%2Fweb%2Fwiklou.git Removed setLang() too from IContextSource subclasses getLang() has been removed by e45e0b1a6. Change-Id: I813f96b78211fbbe5b2e93488fcf1c28878b8d5a --- diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 4f0ae21d18..42deed7cba 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -170,6 +170,7 @@ changes to languages because of Bugzilla reports. * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all skin style files used by the module. * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19) +* Removed setLang() from subclasses of IContextSource. (deprecated since 1.19) * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20) * Removed info(), purge(), revert() and rollback() from the Article class; they have since become subclasses of the Action class. (deprecated since 1.19) diff --git a/includes/context/DerivativeContext.php b/includes/context/DerivativeContext.php index edf9e1ded8..f550e9e6cf 100644 --- a/includes/context/DerivativeContext.php +++ b/includes/context/DerivativeContext.php @@ -237,17 +237,6 @@ class DerivativeContext extends ContextSource { } } - /** - * Set the Language object - * - * @deprecated since 1.19 Use setLanguage instead - * @param Language|string $l Language instance or language code - */ - public function setLang( $l ) { - wfDeprecated( __METHOD__, '1.19' ); - $this->setLanguage( $l ); - } - /** * Set the Language object * diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index 1754a9d115..cb137fe0f9 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -268,17 +268,6 @@ class RequestContext implements IContextSource { return $code; } - /** - * Set the Language object - * - * @deprecated since 1.19 Use setLanguage instead - * @param Language|string $l Language instance or language code - */ - public function setLang( $l ) { - wfDeprecated( __METHOD__, '1.19' ); - $this->setLanguage( $l ); - } - /** * Set the Language object *