Xqt has submitted this change and it was merged.
Change subject: [PEP8] changes ......................................................................
[PEP8] changes
Change-Id: I0392cfc6e2c137fd80b709cd06c4515c481df290 --- M add_text.py 1 file changed, 5 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/add_text.py b/add_text.py index 6930d68..d9b02b5 100644 --- a/add_text.py +++ b/add_text.py @@ -73,7 +73,9 @@ __version__ = '$Id$' #
-import re, urllib2, urllib +import re +import urllib2 +import urllib import webbrowser import codecs import wikipedia as pywikibot @@ -118,6 +120,7 @@ return pageText(url) return text
+ def untaggedGenerator(untaggedProject, limit=500): """ Function to get the pages returned by this tool: http://toolserver.org/~daniel/WikiSense/UntaggedImages.php @@ -144,6 +147,7 @@ for result in results: yield pywikibot.Page(pywikibot.getSite(), result)
+ def add_text(page=None, addText=None, summary=None, regexSkip=None, regexSkipUrl=None, always=False, up=False, putText=True, oldTextGiven=None, reorderEnabled=True, create=False):