From fefedf568bd39ccda63846e304ea93f2dd707099 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Tue, 14 May 2019 14:29:40 +0100 Subject: [PATCH] HTMLForm: Add known MediaWiki version to wfDeprecated() call In 3706dcb, this method was soft deprecated and hard deprecated at the same time (1.28) but during the call to wfDeprecated for hard deprecation, the version number was missed, though this will default to false, it's good to use the version number which is known in this case (1.28). Change-Id: I535ad07e79d14bac8ec42beaeb4b3762a494b28b --- includes/htmlform/HTMLForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 85a2a1bdd4..f5be83fc1a 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1287,7 +1287,7 @@ class HTMLForm extends ContextSource { * @return string */ public function getErrors( $errors ) { - wfDeprecated( __METHOD__ ); + wfDeprecated( __METHOD__, '1.28' ); return $this->getErrorsOrWarnings( $errors, 'error' ); } -- 2.20.1