X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpTextPass.php;h=512910c49b8bb19e3e3c487177f5f7ed1ee4bfdc;hb=1658759d42a5d802e29a71c3fd70ae127afd3e46;hp=e1df1f1a1661c18be0d5a51a9c8812313b30279e;hpb=fe25fde55bc9e58741965ad0f2275a7ba2ac77fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index e1df1f1a16..512910c49b 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -24,7 +24,7 @@ * @ingroup Maintenance */ -require_once __DIR__ . '/backup.inc'; +require_once __DIR__ . '/includes/BackupDumper.php'; require_once __DIR__ . '/7zip.inc'; require_once __DIR__ . '/../includes/export/WikiExporter.php'; @@ -127,6 +127,7 @@ TEXT 'first pageid written for the first %s (required) and the last pageid written for the ' . 'second %s if it exists.', false, true, false, true ); // This can be specified multiple times $this->addOption( 'quiet', 'Don\'t dump status reports to stderr.' ); + $this->addOption( 'full', 'Dump all revisions of every page' ); $this->addOption( 'current', 'Base ETA on number of pages in database instead of all revisions' ); $this->addOption( 'spawn', 'Spawn a subprocess for loading text records' ); $this->addOption( 'buffersize', 'Buffer size in bytes to use for reading the stub. ' .