From: Jeff Janes Date: Fri, 12 Sep 2014 23:09:08 +0000 (-0700) Subject: Import: Fix error reporting X-Git-Tag: 1.31.0-rc.0~12590^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=a9074bef816979ca2d75cd217c71cfae55f2703d;p=lhc%2Fweb%2Fwiklou.git Import: Fix error reporting FileRepoStatus does not have a getXml method. Make the import routine invoke getHTML instead. Change-Id: I571cfe7165b92397f205c8710d260feeec5cc2ca --- 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; } }