http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9974
Revision: 9974 Author: xqt Date: 2012-03-09 11:43:44 +0000 (Fri, 09 Mar 2012) Log Message: ----------- Revert r9966 of rewrite branch: sr and zh are now 1.19
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikipedia_family.py
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikipedia_family.py 2012-03-09 11:08:24 UTC (rev 9973) +++ branches/rewrite/pywikibot/families/wikipedia_family.py 2012-03-09 11:43:44 UTC (rev 9974) @@ -573,12 +573,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"""