X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpTextPass.php;h=e18d0b8723825078712f297eed4417f7424e682e;hb=93d44c9a4209457ca55a39b9649661f022456dd2;hp=2b79b546d43133a6bd15db56c1c771f2c0533fd8;hpb=313dde5d06c42be1eb7da9127ec92bb5d360ddab;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index 2b79b546d4..e18d0b8723 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -25,6 +25,7 @@ */ require_once __DIR__ . '/backup.inc'; +require_once __DIR__ . '/7zip.inc'; require_once __DIR__ . '/../includes/export/WikiExporter.php'; use Wikimedia\Rdbms\IMaintainableDatabase; @@ -142,8 +143,6 @@ TEXT } function processOptions() { - global $IP; - parent::processOptions(); if ( $this->hasOption( 'buffersize' ) ) { @@ -151,7 +150,6 @@ TEXT } if ( $this->hasOption( 'prefetch' ) ) { - require_once "$IP/maintenance/backupPrefetch.inc"; $url = $this->processFileOpt( $this->getOption( 'prefetch' ) ); $this->prefetch = new BaseDump( $url ); }