Make export depth > 1 actually work. :) Assuming it doesn't bomb and die using too...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Apr 2009 21:31:05 +0000 (21:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Apr 2009 21:31:05 +0000 (21:31 +0000)
includes/specials/SpecialExport.php

index be58205..06bf34a 100644 (file)
@@ -353,6 +353,7 @@ class SpecialExport extends SpecialPage {
                        $pageSet = $this->getLinks( $inputPages, $pageSet, 'pagelinks',
                                                                           array( 'pl_namespace AS namespace', 'pl_title AS title' ),
                                                                           array( 'page_id=pl_from' ) );
+                       $inputPages = array_keys( $pageSet );
                }
                return $pageSet;
        }