Xqt added a subscriber: Xqt.
Xqt added a comment.
Herald added a subscriber: StudiesWorld.
looks like a spelling variant solved by the query result. The same bug occurred
if there are html tags inside the page title e.g.
>>> import pwb, pywikibot as py
>>> s = py.Site()
>>> p = py.Page(s, u'Eaton Corporation')
WARNING: loadpageinfo: Query on [[de:Eaton Corporation]] returned data on
'Eaton Corporation'
Traceback (most recent call last):
File "<pyshell#17>", line 1, in <module>
p.exists()
File "pywikibot\page.py", line 671, in exists
x = self.site.page_exists(self)
File "pywikibot\site.py", line 2901, in page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
TASK DETAIL
https://phabricator.wikimedia.org/T94826
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, StudiesWorld, pywikibot-bugs-list, Aklapper, XZise, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs