Revision: 4913 Author: btongminh Date: 2008-01-18 20:12:16 +0000 (Fri, 18 Jan 2008)
Log Message: ----------- Revert r4818 on commons_family.py. Scripts rely on the fact that for commons site.shared_image_repository() == site. This is the way to check whether a given wiki is a shared image repository itself.
Modified Paths: -------------- trunk/pywikipedia/families/commons_family.py
Modified: trunk/pywikipedia/families/commons_family.py =================================================================== --- trunk/pywikipedia/families/commons_family.py 2008-01-18 15:34:48 UTC (rev 4912) +++ trunk/pywikipedia/families/commons_family.py 2008-01-18 20:12:16 UTC (rev 4913) @@ -31,3 +31,6 @@
def version(self, code): return "1.12alpha" + + def shared_image_repository(self, code): + return ('commons', 'commons')
pywikipedia-l@lists.wikimedia.org