http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10138
Revision: 10138 Author: xqt Date: 2012-04-20 16:03:50 +0000 (Fri, 20 Apr 2012) Log Message: ----------- update mw release pre 1.20wmf1
Modified Paths: -------------- trunk/pywikipedia/families/wikipedia_family.py
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2012-04-20 15:37:37 UTC (rev 10137) +++ trunk/pywikipedia/families/wikipedia_family.py 2012-04-20 16:03:50 UTC (rev 10138) @@ -1486,6 +1486,12 @@ # 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 '1.19wmf1' + def code2encodings(self, code): """Return a list of historical encodings for a specific language wikipedia"""
pywikipedia-svn@lists.wikimedia.org