Merlijn van Deen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/97997


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(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/97/97997/1

diff --git a/scripts/add_text.py b/scripts/add_text.py
index 6aa9a76..c7b3f98 100644
--- a/scripts/add_text.py
+++ b/scripts/add_text.py
@@ -29,8 +29,6 @@
 
 -newimages        Add text in the new images
 
-(Not yet supported: -untagged         Add text in the images that don't have 
any license template)
-
 -always           If used, the bot won't ask if it should add the text
                   specified
 
@@ -66,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.
 #
@@ -76,6 +74,7 @@
 import re
 import webbrowser
 import codecs
+
 import pywikibot
 from pywikibot import config
 from pywikibot import i18n
@@ -328,14 +327,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: newchange
Gerrit-Change-Id: Iac41aa4833aa6f204966aaa9e3e6d13f133093e8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhall...@arctus.nl>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to