jenkins-bot has submitted this change and it was merged.

Change subject: [BREAKING CHANGE] InputWidget: Remove deprecated #setRTL 
function
......................................................................


[BREAKING CHANGE] InputWidget: Remove deprecated #setRTL function

Deprecated since 0.13.1.

Change-Id: I7922b0d577885cf5f20bb262951b596451af0737
---
M php/widgets/InputWidget.php
M src/widgets/InputWidget.js
2 files changed, 0 insertions(+), 24 deletions(-)

Approvals:
  VolkerE: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/php/widgets/InputWidget.php b/php/widgets/InputWidget.php
index c395325..2cb409b 100644
--- a/php/widgets/InputWidget.php
+++ b/php/widgets/InputWidget.php
@@ -92,18 +92,6 @@
        }
 
        /**
-        * Set the directionality of the input, either RTL (right-to-left) or 
LTR (left-to-right).
-        *
-        * @deprecated since v0.13.1, use #setDir directly
-        * @param boolean $isRTL Directionality is right-to-left
-        * @return $this
-        */
-       public function setRTL( $isRTL ) {
-               $this->setDir( $isRTL ? 'rtl' : 'ltr' );
-               return $this;
-       }
-
-       /**
         * Set the directionality of the input.
         *
         * @param string $dir Text directionality: 'ltr', 'rtl' or 'auto'
diff --git a/src/widgets/InputWidget.js b/src/widgets/InputWidget.js
index 692f90d..bcc5d70 100644
--- a/src/widgets/InputWidget.js
+++ b/src/widgets/InputWidget.js
@@ -153,18 +153,6 @@
 };
 
 /**
- * Set the directionality of the input, either RTL (right-to-left) or LTR 
(left-to-right).
- *
- * @deprecated since v0.13.1; use #setDir directly
- * @param {boolean} isRTL Directionality is right-to-left
- * @chainable
- */
-OO.ui.InputWidget.prototype.setRTL = function ( isRTL ) {
-       this.setDir( isRTL ? 'rtl' : 'ltr' );
-       return this;
-};
-
-/**
  * Set the directionality of the input.
  *
  * @param {string} dir Text directionality: 'ltr', 'rtl' or 'auto'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7922b0d577885cf5f20bb262951b596451af0737
Gerrit-PatchSet: 5
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: Bartosz DziewoƄski <matma....@gmail.com>
Gerrit-Reviewer: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to