Merge "Revert "wikibits: Remove redundant stubs for document.write""
[lhc/web/wiklou.git] / includes / htmlform / HTMLForm.php
index b14811c..ff6cfff 100644 (file)
@@ -1337,10 +1337,13 @@ class HTMLForm extends ContextSource {
        /**
         * Identify that the submit button in the form has a progressive action
         * @since 1.25
+        * @deprecated since 1.32, No need to call. Submit button already
+        * has a progressive action form.
         *
         * @return HTMLForm $this for chaining calls (since 1.28)
         */
        public function setSubmitProgressive() {
+               wfDeprecated( __METHOD__, '1.32' );
                $this->mSubmitFlags = [ 'progressive', 'primary' ];
 
                return $this;