List of steps to reproduce:
>>> import pywikibot
>>> site = pywikibot.Site('wikihow:en')
>>> page = pywikibot.Page(site, 'Start-a-Wiki')
>>> page.text[:79]What happens?:
Traceback (most recent call last):
File "<pyshell#43>", line 1, in <module>
page.text[:79]
File "C:\pwb\GIT\core\pywikibot\page\__init__.py", line 569, in text
return self.get(get_redirect=True)
File "C:\pwb\GIT\core\pywikibot\page\__init__.py", line 436, in get
self._getInternals()
File "C:\pwb\GIT\core\pywikibot\page\__init__.py", line 465, in _getInternals
self.site.loadrevisions(self, content=True)
File "C:\pwb\GIT\core\pywikibot\site\_generators.py", line 698, in loadrevisions
raise InconsistentTitleError(page, pagedata['title'])
pywikibot.exceptions.InconsistentTitleError: Query on [[wikihow:en:Start-a-wiki]] returned data on 'Start a wiki'What should have happened instead?:
The expected result is:
'This wikiHow teaches you how to create a wiki-style website. Hosting a wiki is '
Software version: Pywikibot 7.0.0.dev0