https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114243

Revision: 114243
Author:   ialex
Date:     2012-03-20 10:07:51 +0000 (Tue, 20 Mar 2012)
Log Message:
-----------
* (bug 34735) Updated compressOld.php documentation to mention the different 
usages of -s and -n parameters depending on compression type

Based on patch by [email protected] - 
http://bug-attachment.wikimedia.org/attachment.cgi?id=10105

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES-1.20
    trunk/phase3/maintenance/storage/compressOld.php

Modified: trunk/phase3/RELEASE-NOTES-1.20
===================================================================
--- trunk/phase3/RELEASE-NOTES-1.20     2012-03-20 09:57:41 UTC (rev 114242)
+++ trunk/phase3/RELEASE-NOTES-1.20     2012-03-20 10:07:51 UTC (rev 114243)
@@ -47,6 +47,8 @@
 * (bug 15816) Add a switch for SETting the search_path (Postgres)
 * (bug 34521) Returning to the previous page after logging in loses any array-
   valued parameters in the query string
+* (bug 34735) Updated compressOld.php documentation to mention the different
+  usages of -s and -n parameters depending on compression type
 
 === API changes in 1.20 ===
 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.

Modified: trunk/phase3/maintenance/storage/compressOld.php
===================================================================
--- trunk/phase3/maintenance/storage/compressOld.php    2012-03-20 09:57:41 UTC 
(rev 114242)
+++ trunk/phase3/maintenance/storage/compressOld.php    2012-03-20 10:07:51 UTC 
(rev 114243)
@@ -17,8 +17,9 @@
  *  -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 <startid>        the old_id to start from
- *  -n <endid>          the old_id to stop at
+ *  -s <startid>        the id to start from (referring to the text table for
+ *                      type gzip, and to the page table for type concat)
+ *  -n <endid>          the page_id to stop at (only when using concat 
compression type)
  *  --extdb <cluster>   store specified revisions in an external cluster 
(untested)
  *
  * This program is free software; you can redistribute it and/or modify
@@ -56,9 +57,9 @@
                $this->addOption( 'chunksize', 'Maximum number of revisions in 
a concat chunk', false, true, 'c' );
                $this->addOption( 'begin-date', 'Earliest date to check for 
uncompressed revisions', false, true, 'b' );
                $this->addOption( 'end-date', 'Latest revision date to 
compress', false, true, 'e' );
-               $this->addOption( 'startid', 'The old_id to start from', false, 
true, 's' );
+               $this->addOption( 'startid', 'The id to start from (gzip -> 
text table, concat -> page table)', false, true, 's' );
                $this->addOption( 'extdb', 'Store specified revisions in an 
external cluster (untested)', false, true );
-               $this->addOption( 'endid', 'Stop at this old_id', false, true, 
'n' );
+               $this->addOption( 'endid', 'The page_id to stop at (only when 
using concat compression type)', false, true, 'n' );
        }
 
        public function execute() {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to