From 006728faeda236f19cac23de961d068a9fb42835 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 29 Apr 2009 21:31:05 +0000 Subject: [PATCH] Make export depth > 1 actually work. :) Assuming it doesn't bomb and die using too much memory, of course. --- includes/specials/SpecialExport.php | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1