Remove HTMLForm::addJS() (deprecated since 1.18)
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 24 Jun 2014 17:59:44 +0000 (19:59 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Tue, 24 Jun 2014 17:59:44 +0000 (19:59 +0200)
Change-Id: Id174d37b69a2e8d76555c3d414fdb87c01222d66

RELEASE-NOTES-1.24
includes/htmlform/HTMLForm.php

index 8e290b1..8793fc9 100644 (file)
@@ -175,6 +175,7 @@ changes to languages because of Bugzilla reports.
 * Removed info(), purge(), revert() and rollback() from the Article class; they
   have since become subclasses of the Action class. (deprecated since 1.19)
 * SearchEngineReplacePrefixesComplete hook was removed.
+* Removed HTMLForm::addJS(). (deprecated since 1.18)
 
 ==== Renamed classes ====
 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
index 175088d..296de96 100644 (file)
@@ -304,15 +304,6 @@ class HTMLForm extends ContextSource {
                return $this->displayFormat === 'vform';
        }
 
-       /**
-        * Add the HTMLForm-specific JavaScript, if it hasn't been
-        * done already.
-        * @deprecated since 1.18 load modules with ResourceLoader instead
-        */
-       static function addJS() {
-               wfDeprecated( __METHOD__, '1.18' );
-       }
-
        /**
         * Get the HTMLFormField subclass for this descriptor.
         *