From cc16513cd4561ee0635fe8c545e11f8a6cd287ef Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 20 Aug 2008 02:22:50 +0000 Subject: [PATCH] Disable the time limit during full-history export --- includes/specials/SpecialExport.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index a8ba2be438..5021e96fc3 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -232,6 +232,11 @@ function wfSpecialExport( $page = '' ) { $lb = wfGetLBFactory()->newMainLB(); $db = $lb->getConnection( DB_LAST ); $buffer = WikiExporter::STREAM; + + // This might take a while... :D + wfSuppressWarnings(); + set_time_limit(0); + wfRestoreWarnings(); } $exporter = new WikiExporter( $db, $history, $buffer ); -- 2.20.1