Revision: 6183 Author: russblau Date: 2008-12-22 15:42:33 +0000 (Mon, 22 Dec 2008)
Log Message: ----------- nocapitalize implemented
Modified Paths: -------------- branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py =================================================================== --- branches/rewrite/pywikibot/site.py 2008-12-22 15:29:51 UTC (rev 6182) +++ branches/rewrite/pywikibot/site.py 2008-12-22 15:42:33 UTC (rev 6183) @@ -608,10 +608,10 @@ } self.sitelock = threading.Lock() self._msgcache = {} + self.nocapitalize = self.code in self.family.nocapitalize return
# ANYTHING BELOW THIS POINT IS NOT YET IMPLEMENTED IN __init__() - self.nocapitalize = self.__code in self.family.nocapitalize # Calculating valid languages took quite long, so we calculate it once # in initialization instead of each time it is used. self._validlanguages = []
pywikipedia-l@lists.wikimedia.org