From: Alexandre Emsenhuber Date: Sat, 5 Feb 2011 20:15:49 +0000 (+0000) Subject: Easier to use addWikiText() in wrapWikiMsg() X-Git-Tag: 1.31.0-rc.0~32184 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=42628c0dbc9af1ffd026d24a963dabf7a6e711f7;p=lhc%2Fweb%2Fwiklou.git Easier to use addWikiText() in wrapWikiMsg() --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9cd06ff7bc..946a41ab97 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2990,7 +2990,7 @@ class OutputPage { } $s = str_replace( '$' . ( $n + 1 ), wfMsgExt( $name, $options, $args ), $s ); } - $this->addHTML( $this->parse( $s, /*linestart*/true, /*uilang*/true ) ); + $this->addWikiText( $s ); } /**