Steps to replicate the issue (include links if applicable):
import pywikibot
site = pywikibot.Site('wikidata')
page = site.page_from_repository('Q5296')What happens?:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
p = site.page_from_repository('Q5296')
File "D:\pwb\GIT\core\pywikibot\site\_apisite.py", line 1192, in page_from_repository
raise NotImplementedError(
NotImplementedError: page_from_repository method is not implemented for Wikibase wikidata:wikidata.What should have happened instead?:
page should be Page('Wikidata:Main Page'), see https://www.wikidata.org/wiki/Q5296