Topic on Project:Support desk

[RESOLVED] compressOld.php

3
Kuhitkuhit (talkcontribs)

The command is php compressOld.php <database> [options...]

Manual:CompressOld.php#Usage

I want to compress all edits prior to December 31, 2014

So in the [[options...] what would be my option parameter?

88.130.101.238 (talkcontribs)

The script has the option -e, which defines the end date. Reading the source code, the script expects the value to be an integer with a length of 14 signs. This integer is then used to compare it against the value from rev_timestamp in your database. This means that you have to provide the date in the format, which is specified on Manual:Timestamp.

I have updated Manual:CompressOld.php to make that more clear.

Reply to "[RESOLVED] compressOld.php"