From 528a450f68842b41533aae0de3415334261f619c Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 8 Nov 2011 20:58:57 +0000 Subject: [PATCH] Attempt to fix translatewiki bug 32057 The different Preprocessor::newChild expect false (with strict comparison) if there's no title passed to them. --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1