From: Platonides Date: Tue, 8 Nov 2011 20:58:57 +0000 (+0000) Subject: Attempt to fix translatewiki bug 32057 X-Git-Tag: 1.31.0-rc.0~26634 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=528a450f68842b41533aae0de3415334261f619c;p=lhc%2Fweb%2Fwiklou.git Attempt to fix translatewiki bug 32057 The different Preprocessor::newChild expect false (with strict comparison) if there's no title passed to them. --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index d3338629fc..4030d08400 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3034,7 +3034,7 @@ class Parser { $isLocalObj = false; # $text is a DOM node needing expansion in the current frame # Title object, where $text came from - $title = null; + $title = false; # $part1 is the bit before the first |, and must contain only title characters. # Various prefixes will be stripped from it later.