http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9394
Revision: 9394 Author: multichill Date: 2011-07-16 11:15:19 +0000 (Sat, 16 Jul 2011) Log Message: ----------- Bugfix r8530 : %s was missing.
Modified Paths: -------------- trunk/pywikipedia/imagerecat.py
Modified: trunk/pywikipedia/imagerecat.py =================================================================== --- trunk/pywikipedia/imagerecat.py 2011-07-16 10:53:48 UTC (rev 9393) +++ trunk/pywikipedia/imagerecat.py 2011-07-16 11:15:19 UTC (rev 9394) @@ -402,9 +402,9 @@ result = u'{{Check categories|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}\n' usageCounter = 1 for (lang, project, article) in usage: - result += u'|lang%d=' % (usageCounter, lang) - result += u'|wiki%d=' % (usageCounter, project) - result += u'|article%d=' % (usageCounter, article) + result += u'|lang%d=%s' % (usageCounter, lang) + result += u'|wiki%d=%s' % (usageCounter, project) + result += u'|article%d=%s' % (usageCounter, article) result += u'\n' usageCounter = usageCounter + 1 galleryCounter = 1
pywikipedia-svn@lists.wikimedia.org