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:
47ea4aa
)
Let Import also read CDATA as content
author
Matthias Mullie
<git@mullie.eu>
Wed, 14 Oct 2015 09:14:51 +0000
(11:14 +0200)
committer
Matthew Flaschen
<mflaschen@wikimedia.org>
Tue, 3 Nov 2015 01:02:34 +0000
(20:02 -0500)
Change-Id: I55275e20bb2fd589247fca5c44fd54d1ae9ff686
includes/Import.php
patch
|
blob
|
history
diff --git
a/includes/Import.php
b/includes/Import.php
index
33ab4ea
..
3d94c33
100644
(file)
--- a/
includes/Import.php
+++ b/
includes/Import.php
@@
-515,6
+515,7
@@
class WikiImporter {
while ( $this->reader->read() ) {
switch ( $this->reader->nodeType ) {
case XMLReader::TEXT:
+ case XMLReader::CDATA:
case XMLReader::SIGNIFICANT_WHITESPACE:
$buffer .= $this->reader->value;
break;