Last modified: 2014-02-12 23:39:51 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 11640 - would be handy if list and exactlist filters had negation
would be handy if list and exactlist filters had negation
Status: NEW
Product: Utilities
Classification: Unclassified
mwdumper (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Brion Vibber
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-12 15:03 UTC by Brian Foley
Modified: 2014-02-12 23:39 UTC (History)
2 users (show)

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


Attachments
Add negation to list and exactlist filters (2.47 KB, patch)
2007-10-12 15:03 UTC, Brian Foley
Details
updated negate using different filter names rather than '!' (3.70 KB, patch)
2007-10-15 23:13 UTC, Brian Foley
Details
Updated the patch to a the most recent revision (no changes) (3.49 KB, patch)
2011-02-06 07:25 UTC, Diederik van Liere
Details

Description Brian Foley 2007-10-12 15:03:38 UTC
Created attachment 4250 [details]
Add negation to list and exactlist filters

The list and exactlist filters allow you to specify a list of pages you want to see in a dump, but sometimes it's useful to be able to find all pages in a dump except for a specific list of pages. "grep -v" if you will.

Included is a simple patch that does this.
Comment 1 Brion Vibber 2007-10-15 20:09:39 UTC
Indeed, that would be useful at times...

I'd be inclined to use --filter=exclude:blah instead of --filter=list:!blah though; '!' is annoying to type on a Unix command line since you have to be extra careful quoting it, so perhaps better not to expand use of it.
Comment 2 Brian Foley 2007-10-15 23:13:50 UTC
Created attachment 4259 [details]
updated negate using different filter names rather than '!'

Good point. Is this any better?
Comment 3 Diederik van Liere 2011-02-06 07:25:27 UTC
Created attachment 8086 [details]
Updated the patch to a the most recent revision (no changes)

I have updated the patch by Brian Foley to the most recent revision. I think it's need to be reviewed and then (hopefully) merged into the trunk. All credits go to Brian Foley.

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


Navigation
Links