Last modified: 2012-05-03 02:42:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 34734 - compressOld.php ignoring -s option
compressOld.php ignoring -s option
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
All All
: Low normal (vote)
: 1.19.0 release
Assigned To: Antoine "hashar" Musso (WMF)
: patch, patch-reviewed
Depends on:
Blocks: 31217
  Show dependency treegraph
Reported: 2012-02-26 16:05 UTC by christian
Modified: 2012-05-03 02:42 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Patch fixing the treatment of the -s option (622 bytes, patch)
2012-02-26 16:05 UTC, christian

Description christian 2012-02-26 16:05:00 UTC
Created attachment 10104 [details]
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...
Comment 1 Antoine "hashar" Musso (WMF) 2012-03-01 11:31:54 UTC
This is a regression caused by r90549 and hence in 1.19.
Comment 2 Antoine "hashar" Musso (WMF) 2012-03-01 11:37:58 UTC
Fix applied:
In trunk with r112793
In 1.19wmf1 with r112794
In REL1_19 with r112795

Thanks for the patch!

Note You need to log in before you can comment on or make changes to this bug.