Drop HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25
authorJames D. Forrester <jforrester@wikimedia.org>
Tue, 6 Mar 2018 17:11:47 +0000 (17:11 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Mon, 26 Mar 2018 17:55:41 +0000 (10:55 -0700)
Change-Id: If5f4e146071c17a9adabd36453ef68ff38405ed4

RELEASE-NOTES-1.31
includes/htmlform/HTMLForm.php
includes/htmlform/VFormHTMLForm.php

index 60e4cf6..66e4ee4 100644 (file)
@@ -317,6 +317,7 @@ changes to languages because of Phabricator reports.
   ::listSoftwareDefinedTags() instead.
 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You
   can use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
+* HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
 
 == Compatibility ==
 MediaWiki 1.31 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported,
index 9b58f92..af1743e 100644 (file)
@@ -430,17 +430,6 @@ class HTMLForm extends ContextSource {
                return $this->displayFormat;
        }
 
-       /**
-        * Test if displayFormat is 'vform'
-        * @since 1.22
-        * @deprecated since 1.25
-        * @return bool
-        */
-       public function isVForm() {
-               wfDeprecated( __METHOD__, '1.25' );
-               return false;
-       }
-
        /**
         * Get the HTMLFormField subclass for this descriptor.
         *
index 325526b..7bf5f9e 100644 (file)
@@ -37,11 +37,6 @@ class VFormHTMLForm extends HTMLForm {
         */
        protected $displayFormat = 'vform';
 
-       public function isVForm() {
-               wfDeprecated( __METHOD__, '1.25' );
-               return true;
-       }
-
        public static function loadInputFromParameters( $fieldname, $descriptor,
                HTMLForm $parent = null
        ) {