From a9074bef816979ca2d75cd217c71cfae55f2703d Mon Sep 17 00:00:00 2001 From: Jeff Janes Date: Fri, 12 Sep 2014 16:09:08 -0700 Subject: [PATCH] Import: Fix error reporting FileRepoStatus does not have a getXml method. Make the import routine invoke getHTML instead. Change-Id: I571cfe7165b92397f205c8710d260feeec5cc2ca --- includes/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Import.php b/includes/Import.php index 5319076e82..29a1bb9925 100644 --- a/includes/Import.php +++ b/includes/Import.php @@ -1599,7 +1599,7 @@ class WikiRevision { wfDebug( __METHOD__ . ": Successful\n" ); return true; } else { - wfDebug( __METHOD__ . ': failed: ' . $status->getXml() . "\n" ); + wfDebug( __METHOD__ . ': failed: ' . $status->getHTML() . "\n" ); return false; } } -- 2.20.1