Revision: 4068 Author: btongminh Date: 2007-08-18 13:10:09 +0000 (Sat, 18 Aug 2007)
Log Message: ----------- More shared_image_repository() fixes.
Modified Paths: -------------- trunk/pywikipedia/families/incubator_family.py trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/families/incubator_family.py =================================================================== --- trunk/pywikipedia/families/incubator_family.py 2007-08-18 10:21:12 UTC (rev 4067) +++ trunk/pywikipedia/families/incubator_family.py 2007-08-18 13:10:09 UTC (rev 4068) @@ -25,5 +25,5 @@ def version(self, code): return "1.11alpha"
- def shared_image_repository(self): + def shared_image_repository(self, code): return ('commons', 'commons')
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-08-18 10:21:12 UTC (rev 4067) +++ trunk/pywikipedia/wikipedia.py 2007-08-18 13:10:09 UTC (rev 4068) @@ -4006,8 +4006,7 @@ return self._mw_version
def shared_image_repository(self): - sir = self.family.shared_image_repository() - return getSite(sir[0], sir[1]) + return self.family.shared_image_repository(self.lang)
def __cmp__(self, other): """Pseudo method to be able to use equality and inequality tests on