All functions of the importer have $title, origTitle, but processTitle() returned...
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 19 Feb 2011 20:35:51 +0000 (20:35 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 19 Feb 2011 20:35:51 +0000 (20:35 +0000)
This caused confusion and a misusage of the processTitle() result.

Follow up to r66267.
Fixes bug 27486

includes/Import.php

index a593702..c76a683 100644 (file)
@@ -662,7 +662,7 @@ class WikiImporter {
                        return false;
                }
 
-               return array( $origTitle, $title );
+               return array( $title, $origTitle );
        }
 }