Merlijn van Deen <> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
            Summary|Return of the               |Page with empty title
                   |AttributeError: 'Page'      |raises "AttributeError:
                   |object has no attribute     |'Page' object has no
                   |'_isredir'                  |attribute '_isredir'" on
                   |                            |.get()
     Ever confirmed|0                           |1

--- Comment #2 from Merlijn van Deen <> ---
>>> page = pywikibot.Page(site)

I think this should raise an exception, as it creates a Page object without

>>> page

On the other hand, it's equivalent to
>>> page = pywikibot.Page(site, '')

which should be the main page.

In any case, the correct way to do what you want is

>>> page = pywikibot.Page(site, "Cat")
>>> page.get()

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to