http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10751
Revision: 10751 Author: xqt Date: 2012-12-01 07:13:18 +0000 (Sat, 01 Dec 2012) Log Message: ----------- mw release 1.21wmf4
Modified Paths: -------------- branches/rewrite/pywikibot/family.py
Modified: branches/rewrite/pywikibot/family.py =================================================================== --- branches/rewrite/pywikibot/family.py 2012-11-26 08:14:58 UTC (rev 10750) +++ branches/rewrite/pywikibot/family.py 2012-12-01 07:13:18 UTC (rev 10751) @@ -759,9 +759,10 @@ return self.disambiguationTemplates[fallback] else: raise KeyError( -"ERROR: title for disambig template in language %(language_code)s unknown" - % {'language_code': code}) + "ERROR: title for disambig template in language %s unknown" + % code)
+ # Methods def protocol(self, code): """ @@ -822,7 +823,7 @@ """Return MediaWiki version number as a string.""" # Don't use this, use versionnumber() instead. This only exists # to not break family files. - return '1.21wmf3' + return '1.21wmf4'
def versionnumber(self, code): """Return an int identifying MediaWiki version.
pywikipedia-svn@lists.wikimedia.org