Go to the source code of this file.
Variables | |
$optionsWithArgs = array( 't', 'c', 's', 'f', 'h', 'extdb', 'endid', 'e' ) | |
if(!function_exists("gzdeflate")) | $defaults |
$options = $options + $defaults |
Usage:
Non-wikimedia php compressOld.php [options...]
Wikimedia php compressOld.php <database> [options...]
Options are: -t <type> set compression type to either: gzip: compress revisions independently concat: concatenate revisions and compress in chunks (default) -c <chunk-size> maximum number of revisions in a concat chunk -b <begin-date> earliest date to check for uncompressed revisions -e <end-date> latest revision date to compress -s <start-id> the old_id to start from --extdb <cluster> store specified revisions in an external cluster (untested)
Definition in file compressOld.php.
if (!function_exists("gzdeflate")) $defaults |
Initial value:
array( 't' => 'concat', 'c' => 20, 's' => 0, 'b' => '', 'e' => '', 'extdb' => '', 'endid' => false, )
Definition at line 37 of file compressOld.php.
$options = $options + $defaults |
Definition at line 47 of file compressOld.php.
$optionsWithArgs = array( 't', 'c', 's', 'f', 'h', 'extdb', 'endid', 'e' ) |
Definition at line 27 of file compressOld.php.