http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11771
Revision: 11771 Author: xqt Date: 2013-07-20 10:53:18 +0000 (Sat, 20 Jul 2013) Log Message: ----------- new scriptpath for wikidata test client, update from trunk r11770.
Modified Paths: -------------- trunk/pywikipedia/families/wikidata_family.py
Modified: trunk/pywikipedia/families/wikidata_family.py =================================================================== --- trunk/pywikipedia/families/wikidata_family.py 2013-07-20 10:52:33 UTC (rev 11770) +++ trunk/pywikipedia/families/wikidata_family.py 2013-07-20 10:53:18 UTC (rev 11771) @@ -77,6 +77,11 @@ 'wikidata': u'Translations talk', }
+ def scriptpath(self, code): + if code == 'client': + return '' + return super(Family, self).scriptpath(code) + def shared_data_repository(self, code, transcluded=False): """Always return a repository tupe. This enables testing whether the site opject is the repository itself, see Site.is_data_repository()
pywikipedia-svn@lists.wikimedia.org