Withoutaname has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/141075

Change subject: Removed setLang() too from IContextSource subclasses
......................................................................

Removed setLang() too from IContextSource subclasses

Change-Id: I813f96b78211fbbe5b2e93488fcf1c28878b8d5a
---
M RELEASE-NOTES-1.24
M includes/context/DerivativeContext.php
M includes/context/RequestContext.php
3 files changed, 1 insertion(+), 22 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/75/141075/1

diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24
index 6c381bb..994bb56 100644
--- a/RELEASE-NOTES-1.24
+++ b/RELEASE-NOTES-1.24
@@ -166,6 +166,7 @@
 * 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)
 
 ==== Renamed classes ====
diff --git a/includes/context/DerivativeContext.php 
b/includes/context/DerivativeContext.php
index edf9e1d..f550e9e 100644
--- a/includes/context/DerivativeContext.php
+++ b/includes/context/DerivativeContext.php
@@ -240,17 +240,6 @@
        /**
         * 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
-        *
         * @param Language|string $l Language instance or language code
         * @throws MWException
         * @since 1.19
diff --git a/includes/context/RequestContext.php 
b/includes/context/RequestContext.php
index 1754a9d..cb137fe 100644
--- a/includes/context/RequestContext.php
+++ b/includes/context/RequestContext.php
@@ -271,17 +271,6 @@
        /**
         * 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
-        *
         * @param Language|string $l Language instance or language code
         * @throws MWException
         * @since 1.19

-- 
To view, visit https://gerrit.wikimedia.org/r/141075
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I813f96b78211fbbe5b2e93488fcf1c28878b8d5a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Withoutaname <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to