jayvdb created this task. jayvdb added subscribers: pywikipedia-bugs, valhallasw, jayvdb. jayvdb added projects: pywikibot-core, tracking, easy, Pywikibot-tests.
TASK DESCRIPTION The compat method spec is ``` def siteinfo(self, key='general', force=False, dump=False): ```
In core it is
``` @property def siteinfo(self): ```
Need tests and probably fixes to make that backwards compatible.
TASK DETAIL https://phabricator.wikimedia.org/T85322
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: jayvdb Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs
XZise added a subscriber: XZise. XZise added a comment.
The Siteinfo class 'just' needs implement `__call__` and deprecate it (similar to how `APISite.namespaces()` is now a property but could be still called).
TASK DETAIL https://phabricator.wikimedia.org/T85322
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: Aklapper, valhallasw, jayvdb, XZise, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org