Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**List of steps to reproduce** (step by step, including full links if
applicable):
>>> 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 (if not a Wikimedia wiki), browser information,
screenshots, other information, etc**: Pywikibot 7.0.0.dev0
TASK DETAIL
https://phabricator.wikimedia.org/T294761
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]