Actually there was a better solution to the problem: the titleWithoutNamespace() property of the Page object could be used. I changed the code and applied it by r4518.

Huji

On 11/8/07, Mak Thorpe <makthorpe@gmail.com> wrote:
Bug: In AllpagesPageGenerator, the code determines namespace from the
start parameter, but then proceeds in alphabetical order from the
start value's namespace name.

EG:  -start:Template:100 begins processing at Template:Template
documentation, not Template:!

Proposed Fix:

Current:
    if namespace==None:
        namespace = wikipedia.Page(wikipedia.getSite(), start).namespace()

Add:
        m = re.search('.+:(.)*',start, flags = 0)
        if m:
            start = m.group(1)

-Mak

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/pywikipedia-l