From: Brion Vibber Date: Wed, 29 Apr 2009 21:31:05 +0000 (+0000) Subject: Make export depth > 1 actually work. :) Assuming it doesn't bomb and die using too... X-Git-Tag: 1.31.0-rc.0~41934 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=006728faeda236f19cac23de961d068a9fb42835;p=lhc%2Fweb%2Fwiklou.git Make export depth > 1 actually work. :) Assuming it doesn't bomb and die using too much memory, of course. --- diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index be58205f89..06bf34a150 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -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; }