http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9358
Revision: 9358 Author: xqt Date: 2011-07-10 12:22:09 +0000 (Sun, 10 Jul 2011) Log Message: ----------- minor changes. i18n files _should_ have the same name.
Modified Paths: -------------- branches/rewrite/scripts/basic.py
Modified: branches/rewrite/scripts/basic.py =================================================================== --- branches/rewrite/scripts/basic.py 2011-07-10 11:34:35 UTC (rev 9357) +++ branches/rewrite/scripts/basic.py 2011-07-10 12:22:09 UTC (rev 9358) @@ -24,7 +24,8 @@ #
import pywikibot -from pywikibot import pagegenerators, i18n +from pywikibot import pagegenerators +from pywikibot import i18n
# This is required for the text that is shown when you run this script # with the parameter -help. @@ -34,7 +35,7 @@
class BasicBot: # Edit summary message that should be used is placed on /i18n subdirectory. - # The file containing these messages must have the same name as the caller + # The file containing these messages should have the same name as the caller # script (i.e. basic.py in this case)
def __init__(self, generator, dry):
pywikipedia-svn@lists.wikimedia.org