From: C. Scott Ananian Date: Thu, 1 Nov 2018 21:26:10 +0000 (-0400) Subject: Replace deprecated call to OutputPage::parse() in HTMLForm X-Git-Tag: 1.34.0-rc.0~3580 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=d8e612ffaa2d8190652dc02ae50f57f7ff984eb8;p=lhc%2Fweb%2Fwiklou.git 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 --- 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() ); }