Last modified: 2014-09-02 01:13:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57078, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55078 - replace.py -match option
replace.py -match option
Status: NEW
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:20 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-02 01:13 UTC (History)
1 user (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:20:49 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/219/
Reported by: Anonymous user
Created on: 2009-08-21 18:38:13
Subject: replace.py -match option
Original description:
Hello\! It would be nice, if you add -match option to replace.py, that means that script will work only on pages which match some regexp.
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:20:51 UTC
How would this be different than the "-regex" option that already exists?
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:20:53 UTC
- **status**: open --> pending
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:20:55 UTC
-regex is used for replacement. How can we solve task such "replace text using some regex if article match some regex"?
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:20:57 UTC
- **status**: pending --> open
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 04:20:58 UTC
do you expect sth like -requiretext:XYZ \(in combination with -regex\) which could be the opposite of -excepttext:XYZ, analogous to the existing -requiretitle vs -excepttitle ?
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 04:21:00 UTC
Yep, something like that.

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


Navigation
Links