From: Brion Vibber Date: Wed, 20 Aug 2008 02:22:50 +0000 (+0000) Subject: Disable the time limit during full-history export X-Git-Tag: 1.31.0-rc.0~45781 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=cc16513cd4561ee0635fe8c545e11f8a6cd287ef;p=lhc%2Fweb%2Fwiklou.git Disable the time limit during full-history export --- 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 );