XZise created this task.
XZise added a subscriber: XZise.
XZise added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
While I was testing XXXXX I got the following error:
```
WARNING: loadpageinfo: Query on [[ar:قالب:ﻲﺘﻴﻣﺓ]] returned data on 'قالب:يتيمة'
Traceback (most recent call last):
File "pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "pwb.py", line 82, in run_python_file
main_mod.__dict__)
File "./scripts/lonelypages.py", line 280, in <module>
main()
File "./scripts/lonelypages.py", line 276, in main
bot = LonelyPagesBot(generator, **options)
File "./scripts/lonelypages.py", line 148, in __init__
self._exception = orphan_template.generate(self.site)
File "./scripts/lonelypages.py", line 99, in generate
if not pywikibot.Page(site, self._name, template_ns.id).exists():
File "/home/xzise/Programms/pywikibot/core/pywikibot/page.py", line 604, in
exists
return self.site.page_exists(self)
File "/home/xzise/Programms/pywikibot/core/pywikibot/site.py", line 2415, in
page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
```
It seems odd that it returns the data for a different page.
TASK DETAIL
https://phabricator.wikimedia.org/T94826
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb