jenkins-bot has submitted this change and it was merged.
Change subject: Removed 'UntaggedPageGenerator does not exist' warnings
......................................................................
Removed 'UntaggedPageGenerator does not exist' warnings
Change-Id: Iac41aa4833aa6f204966aaa9e3e6d13f133093e8
Original-Change-Id: Ib7e8a545334d11b73e93a740b39690520ef209f6
---
M scripts/add_text.py
1 file changed, 2 insertions(+), 12 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/add_text.py b/scripts/add_text.py
index 8eccc5e..c865be8 100644
--- a/scripts/add_text.py
+++ b/scripts/add_text.py
@@ -29,9 +29,6 @@
-newimages Add text in the new images
--untagged Add text in the images that don't have any license template
- (Not yet supported)
-
-always If used, the bot won't ask if it should add the text
specified
@@ -67,7 +64,7 @@
#
# (C) Filnik, 2007-2010
-# (C) Pywikipedia bot team, 2007-2013
+# (C) Pywikibot team, 2007-2013
#
# Distributed under the terms of the MIT license.
#
@@ -77,6 +74,7 @@
import re
import webbrowser
import codecs
+
import pywikibot
from pywikibot import config
from pywikibot import i18n
@@ -330,14 +328,6 @@
regexSkip = pywikibot.input(u'What text should I skip?')
else:
regexSkip = arg[8:]
-## *** NOT YET SUPPORTED ***
-## elif arg.startswith('-untagged'):
-## if len(arg) == 9:
-## untaggedProject = pywikibot.input(
-## u'What project do you want to use?')
-## else:
-## untaggedProject = arg[10:]
-## generator = untaggedGenerator(untaggedProject)
elif arg == '-up':
up = True
elif arg == '-noreorder':
--
To view, visit
https://gerrit.wikimedia.org/r/97997
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iac41aa4833aa6f204966aaa9e3e6d13f133093e8
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Pyfisch <pyfisch(a)googlemail.com>
Gerrit-Reviewer: jenkins-bot