From d8e612ffaa2d8190652dc02ae50f57f7ff984eb8 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Thu, 1 Nov 2018 17:26:10 -0400 Subject: [PATCH] Replace deprecated call to OutputPage::parse() in HTMLForm Use OutputPage::parseAsInterface() to tidy the output and make the selection of user interface language explicit. Follow-up to Ifeb1ca6eb8b5c743421b8f9e329f1e3658050e47. Bug: T198214 Change-Id: Ia4b63715380d97ccb3133bf39a260834c20b4f5a --- 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 c6882c4036..117a8fb912 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1285,7 +1285,7 @@ class HTMLForm extends ContextSource { if ( $status->isGood() ) { $elementstr = ''; } else { - $elementstr = $this->getOutput()->parse( + $elementstr = $this->getOutput()->parseAsInterface( $status->getWikiText() ); } -- 2.20.1