Revision: 4525 Author: rotem Date: 2007-11-10 16:46:19 +0000 (Sat, 10 Nov 2007)
Log Message: ----------- Fixing a regression in non-main namespace searches in Special:Allpages.
Modified Paths: -------------- trunk/pywikipedia/pagegenerators.py
Modified: trunk/pywikipedia/pagegenerators.py =================================================================== --- trunk/pywikipedia/pagegenerators.py 2007-11-10 11:39:23 UTC (rev 4524) +++ trunk/pywikipedia/pagegenerators.py 2007-11-10 16:46:19 UTC (rev 4525) @@ -114,7 +114,7 @@ """ if namespace==None: namespace = wikipedia.Page(wikipedia.getSite(), start).namespace() - title = wikipedia.Page(wikipedia.getSite(), start).titleWithoutNamespace() + title = wikipedia.Page(wikipedia.getSite(), start).titleWithoutNamespace() for page in wikipedia.getSite().allpages(start=title, namespace=namespace, includeredirects = includeredirects): yield page