dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb4b24
)
Attempt to fix translatewiki bug 32057
author
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Nov 2011 20:58:57 +0000
(20:58 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 8 Nov 2011 20:58:57 +0000
(20:58 +0000)
The different Preprocessor::newChild expect false (with strict comparison) if there's no title passed to them.
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
d333862
..
4030d08
100644
(file)
--- 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.