dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
22dd67e
)
Merge "Use parseAsBlock() instead of parse() to show the error message in OutputPage...
author
Siebrand
<siebrand@wikimedia.org>
Tue, 9 Oct 2012 08:58:25 +0000
(08:58 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 9 Oct 2012 08:58:25 +0000
(08:58 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
4fa33ac
..
e5361bc
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-2056,7
+2056,7
@@
class OutputPage extends ContextSource {
$this->prepareErrorPage( $title );
if ( $msg instanceof Message ){
- $this->addHTML( $msg->parse() );
+ $this->addHTML( $msg->parse
AsBlock
() );
} else {
$this->addWikiMsgArray( $msg, $params );
}