http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10859
Revision: 10859
Author: xqt
Date: 2013-01-03 07:38:28 +0000 (Thu, 03 Jan 2013)
Log Message:
-----------
fix for r10777, bug #3599245
Modified Paths:
--------------
trunk/pywikipedia/templatecount.py
Modified: trunk/pywikipedia/templatecount.py
===================================================================
--- trunk/pywikipedia/templatecount.py 2013-01-01 22:40:36 UTC (rev 10858)
+++ trunk/pywikipedia/templatecount.py 2013-01-03 07:38:28 UTC (rev 10859)
@@ -49,7 +49,7 @@
class TemplateCountRobot:
@staticmethod
- def countTemplates(templates, namespace):
+ def countTemplates(templates, namespaces):
mysite = pywikibot.getSite()
total = 0
# The names of the templates are the keys, and the numbers of