dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a532696
)
Replace deprecated call to OutputPage::parse() in HTMLForm
author
C. Scott Ananian
<cscott@cscott.net>
Thu, 1 Nov 2018 21:26:10 +0000
(17:26 -0400)
committer
C. Scott Ananian
<cscott@cscott.net>
Thu, 1 Nov 2018 21:26:10 +0000
(17:26 -0400)
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
patch
|
blob
|
history
diff --git
a/includes/htmlform/HTMLForm.php
b/includes/htmlform/HTMLForm.php
index
c6882c4
..
117a8fb
100644
(file)
--- 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()->parse
AsInterface
(
$status->getWikiText()
);
}