Matthias Mullie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246178
Change subject: Let Import also read CDATA as content
......................................................................
Let Import also read CDATA as content
Change-Id: I55275e20bb2fd589247fca5c44fd54d1ae9ff686
---
M includes/Import.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/78/246178/1
diff --git a/includes/Import.php b/includes/Import.php
index fc48158..1684ab1 100644
--- a/includes/Import.php
+++ b/includes/Import.php
@@ -515,6 +515,7 @@
while ( $this->reader->read() ) {
switch ( $this->reader->nodeType ) {
case XMLReader::TEXT:
+ case XMLReader::CDATA:
case XMLReader::SIGNIFICANT_WHITESPACE:
$buffer .= $this->reader->value;
break;
--
To view, visit https://gerrit.wikimedia.org/r/246178
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55275e20bb2fd589247fca5c44fd54d1ae9ff686
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits