Add the 'full' option explicitly to dumpTextPass.php.
authorAriel T. Glenn <ariel@wikimedia.org>
Mon, 13 Aug 2018 06:31:48 +0000 (09:31 +0300)
committerAriel T. Glenn <ariel@wikimedia.org>
Mon, 13 Aug 2018 06:31:48 +0000 (09:31 +0300)
Broken since  4abb45939234fe94ce1a78f3ef171a01b2e40511 (2015) but
hidden since maintenance scripts would pass through all opts,
even those not specifically added.

Bug: T201803
Change-Id: Ic55bf3d970d768b796848a77abf7b0eb6616c013

maintenance/dumpTextPass.php

index e1df1f1..05db622 100644 (file)
@@ -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. ' .