http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9972
Revision: 9972 Author: xqt Date: 2012-03-09 09:42:53 +0000 (Fri, 09 Mar 2012) Log Message: ----------- Revert 9965 of trunk/pywikipedia/families/wikipedia_family.py: sr and zh are now 1.19
Modified Paths: -------------- trunk/pywikipedia/families/wikipedia_family.py
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2012-03-08 16:18:42 UTC (rev 9971) +++ trunk/pywikipedia/families/wikipedia_family.py 2012-03-09 09:42:53 UTC (rev 9972) @@ -1478,12 +1478,6 @@ # xxwikipedia for Wikipedias. return '%swiki_p' % code
- def version(self, code): - """Return MediaWiki version number as a string.""" - # Don't use this, use versionnumber() instead. This only exists - # to not break family files. - return code in ['sr', 'zh'] and '1.18wmf1' or '1.19wmf1' - def code2encodings(self, code): """Return a list of historical encodings for a specific language wikipedia"""
pywikipedia-svn@lists.wikimedia.org