Steps to replicate the issue (include links if applicable):
- Run code in pywikibot 8.2.0
- Run code in pywikibot 8.3.0
import pywikibot print(pywikibot.DataSite)
What happens?:
On 8.3.0, the code chunk throws an exception that it did not in 8.2.0
What should have happened instead?:
Behavior should have remained consistent
Software version (skip for WMF-hosted wikis like Wikipedia): Pywikibot 8.3.0
Other information (browser name/version, screenshots, etc.):
https://github.com/wikimedia/pywikibot/commit/858fc1e1bcc65a7ce987d7b6a8be8a61c540af2e removed DataSite from pywikibot/__init__,py and did not make it available again. Any old code that used pywikibot.DataSite now broke.