From: Niklas Laxström Date: Thu, 15 Nov 2012 15:25:09 +0000 (+0000) Subject: Parser parse requires title, make a caller require valid title too X-Git-Tag: 1.31.0-rc.0~21614^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=fe2ea52ba1dc06168f68ce1b4c0e60671775ef02;p=lhc%2Fweb%2Fwiklou.git Parser parse requires title, make a caller require valid title too Change-Id: I8a9cd18c5aa27493a0945765f80136cd0cc4f218 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index ff83f700ad..ab7e62fa8f 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1469,7 +1469,7 @@ class OutputPage extends ContextSource { * @param $interface Boolean: whether it is an interface message * (for example disables conversion) */ - public function addWikiTextTitle( $text, &$title, $linestart, $tidy = false, $interface = false ) { + public function addWikiTextTitle( $text, Title $title, $linestart, $tidy = false, $interface = false ) { global $wgParser; wfProfileIn( __METHOD__ );