From fe2ea52ba1dc06168f68ce1b4c0e60671775ef02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 15 Nov 2012 15:25:09 +0000 Subject: [PATCH] Parser parse requires title, make a caller require valid title too Change-Id: I8a9cd18c5aa27493a0945765f80136cd0cc4f218 --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ ); -- 2.20.1