Originally from: http://sourceforge.net/p/pywikipediabot/patches/537/
Reported by: phoenixca
Created on: 2012-01-21 20:06:11
Subject: Minor improvements on add_text.py
Original description:
Added an open in browser option to confirmation dialogue \(similar to replace.py \) and added a new -only arg \(essentially the opposite of -except\). If a page text doesn't match the -only regex given, it skips.
Example use:
I added this while trying to clean-up a Wikia wiki. Wikia's RTE leaves \[\[File:Placeholder on pages often. With this addition, the bot can use -only:"\[\[File:Placeholder" -except:"\{\{image\}\}" -text:"\{\{image\}\}" -up , to add a meta tag to pages that have image placeholders, but not ones that already have the \{\{image\}\} tag.
Version: unspecified
Severity: enhancement
See Also:
https://sourceforge.net/p/pywikipediabot/patches/537