jayvdb created this task. jayvdb added subscribers: pywikipedia-bugs, jayvdb, Aklapper, XZise. jayvdb added projects: Pywikibot-login.py, pywikibot-core.
TASK DESCRIPTION One factor complicating site initialisation is that Request._add_defaults loads Siteinfo if action=query to determine whether to add rawcontinue.
As mentioned on wikitech-l, that should be fixable by always adding rawcontinue if neither continue or rawcontinue are present, and Pywikibot explicitly not supporting the 1.25 branches where this caused a nasty warning.
TASK DETAIL https://phabricator.wikimedia.org/T100962
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: XZise, Aklapper, jayvdb, pywikipedia-bugs
XZise added a comment.
To be honest I don't see much of a benefit. Do all versions we support also support the `rawcontinue` parameter? It also caches the siteinfo so if later another siteinfo (e.g. namespaces) are needed, it would load the version anyway. Also what do you mean with “nasty warning”?
TASK DETAIL https://phabricator.wikimedia.org/T100962
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, Aklapper, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org