Revision: 3911 Author: wikipedian Date: 2007-07-27 13:14:21 +0000 (Fri, 27 Jul 2007)
Log Message: ----------- made -start parameter not run on redirects (that's what's needed in nearly all cases)
Modified Paths: -------------- trunk/pywikipedia/pagegenerators.py
Modified: trunk/pywikipedia/pagegenerators.py =================================================================== --- trunk/pywikipedia/pagegenerators.py 2007-07-27 13:13:29 UTC (rev 3910) +++ trunk/pywikipedia/pagegenerators.py 2007-07-27 13:14:21 UTC (rev 3911) @@ -564,7 +564,7 @@ firstPageTitle = arg[7:] namespace = wikipedia.Page(wikipedia.getSite(), firstPageTitle).namespace() firstPageTitle = wikipedia.Page(wikipedia.getSite(), firstPageTitle).titleWithoutNamespace() - gen = AllpagesPageGenerator(firstPageTitle, namespace) + gen = AllpagesPageGenerator(firstPageTitle, namespace, includeredirects = False) elif arg.startswith('-new'): if len(arg) >=5: gen = NewpagesPageGenerator(number = int(arg[5:]))
pywikipedia-l@lists.wikimedia.org