Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION **Descriptio**n Pywikibot needs a reliable way to detect whether it is running on Toolforge, e.g. for request throttling and rate-limit handling. The existing helper version.get_toolforge_hostname() <https://doc.wikimedia.org/pywikibot/master/api_ref/version.html#version.get_toolforge_hostname> is deprecated and based on hostname heuristics, which are no longer reliable since the migration from SGE to Kubernetes. **Goal** Evaluate and define a supported and future-proof mechanism to detect a Toolforge runtime (e.g. via environment variables or another documented signal). TASK DETAIL https://phabricator.wikimedia.org/T414325 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
