https://bugzilla.wikimedia.org/show_bug.cgi?id=34734

       Web browser: ---
             Bug #: 34734
           Summary: compressOld.php ignoring -s option
           Product: MediaWiki
           Version: 1.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10104
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10104
Patch fixing the treatment of the -s option

According to it's documentation, compressOld.php allows to limit the treated
ids using the "-s" option.
However, the "-s" option is ignored.php.
The attached patch fixes the problem.




Actual Behavior:
----------------
> compressOld.php -t gzip -s 6

Compressing database wikisvn
----------------------------------------------------------------------------

Starting from old_id 0...




Expected Behavior:
------------------
> compressOld.php -t gzip -s 6

Compressing database wikisvn
----------------------------------------------------------------------------

Starting from old_id 6...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to