jenkins-bot has submitted this change and it was merged.
Change subject: Name changed. Minor fixes. ......................................................................
Name changed. Minor fixes.
Change-Id: Iba89a308466a87adc4a9806c995d4b9e8db4a5e8 --- M pywikibot/__init__.py M pywikibot/bot.py M pywikibot/botirc.py M pywikibot/catlib.py M pywikibot/config2.py M pywikibot/date.py M pywikibot/editor.py M pywikibot/exceptions.py M pywikibot/family.py M pywikibot/fixes.py M pywikibot/i18n.py M pywikibot/interwiki_graph.py M pywikibot/logentries.py M pywikibot/login.py M pywikibot/page.py M pywikibot/pagegenerators.py M pywikibot/plural.py M pywikibot/site.py M pywikibot/textlib.py M pywikibot/throttle.py M pywikibot/titletranslate.py M pywikibot/tools.py M pywikibot/userlib.py M pywikibot/version.py M pywikibot/xmlreader.py 25 files changed, 55 insertions(+), 42 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index 8fe058c..8f53758 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -3,7 +3,7 @@ The initialization file for the Pywikibot framework. """ # -# (C) Pywikipedia bot team, 2008-213 +# (C) Pywikibot team, 2008-213 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/bot.py b/pywikibot/bot.py index c530c4b..b885a6a 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -3,7 +3,7 @@ User-interface related functions for building bots """ # -# (C) Pywikipedia bot team, 2008-2012 +# (C) Pywikibot team, 2008-2012 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/botirc.py b/pywikibot/botirc.py index 48e7f4d..8a847a9 100644 --- a/pywikibot/botirc.py +++ b/pywikibot/botirc.py @@ -7,7 +7,7 @@ """ # # (C) Balasyum -# (C) Pywikipedia bot team, 2008-2013 +# (C) Pywikibot team, 2008-2013 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/catlib.py b/pywikibot/catlib.py index 067c834..a3ed406 100644 --- a/pywikibot/catlib.py +++ b/pywikibot/catlib.py @@ -7,7 +7,7 @@
""" # -# (C) Pywikipedia bot team, 2008 +# (C) Pywikibot team, 2008 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/config2.py b/pywikibot/config2.py index af4ee98..e82bc50 100644 --- a/pywikibot/config2.py +++ b/pywikibot/config2.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- # # (C) Rob W.W. Hooft, 2003 -# (C) Pywikipedia bot team, 2003-2012 +# (C) Pywikibot team, 2003-2012 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import os import sys as __sys diff --git a/pywikibot/date.py b/pywikibot/date.py index 1239d48..6378649 100644 --- a/pywikibot/date.py +++ b/pywikibot/date.py @@ -4,20 +4,19 @@ lists which are required by some other programs. """ # -# © Rob W.W. Hooft, 2003 -# © Daniel Herding, 2004 -# © Ævar Arnfjörð Bjarmason, 2004 -# © Andre Engels, 2004-2005 -# © Yuri Astrakhan, 2005-2006 FirstnameLastname@gmail.com +# (C) Rob W.W. Hooft, 2003 +# (C) Daniel Herding, 2004 +# (C) Ævar Arnfjörð Bjarmason, 2004 +# (C) Andre Engels, 2004-2005 +# (C) Yuri Astrakhan, 2005-2006 FirstnameLastname@gmail.com # (years/decades/centuries/millenniums str <=> int conversions) -# © Pywikipedia bot team, 2004-2012 +# (C) Pywikibot team, 2004-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
-# used for date recognition -import types import re
# diff --git a/pywikibot/editor.py b/pywikibot/editor.py index 871c4a7..af10f8d 100644 --- a/pywikibot/editor.py +++ b/pywikibot/editor.py @@ -6,14 +6,13 @@
# # (C) Gerrit Holl 2004 -# (C) Pywikipedia team, 2004-2012 -# -__version__ = "$Id$" +# (C) Pywikibot team, 2004-2013 # # Distributed under the terms of the MIT license. # +__version__ = "$Id$" +#
-__metaclass__ = type import sys import os import tempfile diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py index dd97cb0..f029147 100644 --- a/pywikibot/exceptions.py +++ b/pywikibot/exceptions.py @@ -3,7 +3,7 @@ Exception classes used throughout the framework. """ # -# (C) Pywikipedia bot team, 2008 +# (C) Pywikibot team, 2008 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/family.py b/pywikibot/family.py index 4c54c66..3a3d663 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*-
# -# (C) Pywikipedia bot team, 2004-2013 +# (C) Pywikibot team, 2004-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import logging import re diff --git a/pywikibot/fixes.py b/pywikibot/fixes.py index 9f7ee2c..4802292 100644 --- a/pywikibot/fixes.py +++ b/pywikibot/fixes.py @@ -5,12 +5,12 @@ """
# -# (C) Pywikipedia team, 2008-2010 -# -__version__ = '$Id$' +# (C) Pywikibot team, 2008-2010 # # Distributed under the terms of the MIT license. # +__version__ = '$Id$' +#
help = u""" * HTML - Convert HTML tags to wiki syntax, and diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py index b15f7fc..df64ef5 100644 --- a/pywikibot/i18n.py +++ b/pywikibot/i18n.py @@ -1,13 +1,15 @@ # -*- coding: utf-8 -*- -""" Various i18n functions, both for the internal translation system - and for TranslateWiki-based translations +""" +Various i18n functions, both for the internal translation system +and for TranslateWiki-based translations """ # -# (C) Pywikipedia bot team, 2004-2013 +# (C) Pywikibot team, 2004-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import re import locale diff --git a/pywikibot/interwiki_graph.py b/pywikibot/interwiki_graph.py index 5daf1a6..ee043ae 100644 --- a/pywikibot/interwiki_graph.py +++ b/pywikibot/interwiki_graph.py @@ -1,11 +1,14 @@ """ Module with the graphviz drawing calls """ # -# (C) Pywikipedia bot team, 2006-2010 +# (C) Pywikibot team, 2006-2010 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +# + import threading + pydotfound = True try: import pydot diff --git a/pywikibot/logentries.py b/pywikibot/logentries.py index 81adb71..05df835 100644 --- a/pywikibot/logentries.py +++ b/pywikibot/logentries.py @@ -3,11 +3,12 @@ Objects representing Mediawiki log entries """ # -# (C) Pywikipedia bot team, 2007-12 +# (C) Pywikibot team, 2007-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
from pywikibot.exceptions import * import pywikibot diff --git a/pywikibot/login.py b/pywikibot/login.py index f73f544..536d5ff 100644 --- a/pywikibot/login.py +++ b/pywikibot/login.py @@ -5,11 +5,12 @@ """ # # (C) Rob W.W. Hooft, 2003 -# (C) Pywikipedia bot team, 2003-2012 +# (C) Pywikibot team, 2003-2012 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import pywikibot from pywikibot import config, deprecate_arg diff --git a/pywikibot/page.py b/pywikibot/page.py index 89574f7..daf37e8 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -3,11 +3,12 @@ Objects representing various types of MediaWiki pages. """ # -# (C) Pywikipedia bot team, 2008-2013 +# (C) Pywikibot team, 2008-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import pywikibot from pywikibot import deprecate_arg diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index a0698e4..d09b713 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -13,11 +13,12 @@ ¶ms; """ # -# (C) Pywikipedia bot team, 2008-2013 +# (C) Pywikibot team, 2008-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import re import codecs diff --git a/pywikibot/plural.py b/pywikibot/plural.py index 742baf1..2b02046 100644 --- a/pywikibot/plural.py +++ b/pywikibot/plural.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # (C) xqt, 2011 -# (C) Pywikipedia bot team, 2011 +# (C) Pywikibot team, 2011 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/site.py b/pywikibot/site.py index 18416c1..854ec27 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -4,11 +4,12 @@ on the same topic in different languages). """ # -# (C) Pywikipedia bot team, 2008-2012 +# (C) Pywikibot team, 2008-2012 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
try: from hashlib import md5 diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index f1df622..1816125 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -7,11 +7,12 @@
""" # -# (C) Pywikipedia bot team, 2008-2013 +# (C) Pywikibot team, 2008-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
try: import mwparserfromhell diff --git a/pywikibot/throttle.py b/pywikibot/throttle.py index 240b606..db74e5d 100644 --- a/pywikibot/throttle.py +++ b/pywikibot/throttle.py @@ -3,20 +3,21 @@ Mechanics to slow down wiki read and/or write rate. """ # -# (C) Pywikipedia bot team, 2008 +# (C) Pywikibot team, 2008 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' - -import pywikibot -from pywikibot import config +#
import logging import math import threading import time
+import pywikibot +from pywikibot import config + _logger = "wiki.throttle"
pid = False # global process identifier diff --git a/pywikibot/titletranslate.py b/pywikibot/titletranslate.py index 24ed10f..db05833 100644 --- a/pywikibot/titletranslate.py +++ b/pywikibot/titletranslate.py @@ -2,7 +2,7 @@ # # (C) Rob W.W. Hooft, 2003 # (C) Yuri Astrakhan, 2005 -# (C) Pywikipedia bot team, 2003-2010 +# (C) Pywikibot team, 2003-2010 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/tools.py b/pywikibot/tools.py index b7d8b72..299a248 100644 --- a/pywikibot/tools.py +++ b/pywikibot/tools.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Miscellaneous helper functions (not wiki-dependent)""" # -# (C) Pywikipedia bot team, 2008 +# (C) Pywikibot team, 2008 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/userlib.py b/pywikibot/userlib.py index 7844650..6d90419 100644 --- a/pywikibot/userlib.py +++ b/pywikibot/userlib.py @@ -7,7 +7,7 @@
""" # -# (C) Pywikipedia bot team, 2008 +# (C) Pywikibot team, 2008 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/version.py b/pywikibot/version.py index 9555d71..5e3fc9d 100644 --- a/pywikibot/version.py +++ b/pywikibot/version.py @@ -3,11 +3,12 @@ # # (C) Merlijn 'valhallasw' van Deen, 2007-2008 # (C) xqt, 2010-2012 -# (C) Pywikipedia bot team, 2007-2013 +# (C) Pywikibot team, 2007-2013 # # Distributed under the terms of the MIT license. # __version__ = '$Id$' +#
import os import time diff --git a/pywikibot/xmlreader.py b/pywikibot/xmlreader.py index c389266..0348bb3 100644 --- a/pywikibot/xmlreader.py +++ b/pywikibot/xmlreader.py @@ -8,7 +8,7 @@ XmlEntry objects which can be used by other bots. """ # -# (C) Pywikipedia bot team, 2005-2012 +# (C) Pywikibot team, 2005-2012 # # Distributed under the terms of the MIT license. #
pywikibot-commits@lists.wikimedia.org