https://bugzilla.wikimedia.org/show_bug.cgi?id=54567
Web browser: ---
Bug ID: 54567
Summary: Minor improvements on add_text.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.