jayvdb created this task. jayvdb added subscribers: greg, pywikipedia-bugs, jayvdb, Aklapper. jayvdb added projects: Pywikibot-tests, pywikibot-core.
TASK DESCRIPTION If loading the initialisation of ParamInfo was successful, some of the core API modules are working correctly. If then loading a batch of modules causes a server error, the paraminfo class could retry the batch by loading paraminfo for one module at a time, and report which module fails.
Another option is to avoid loading non-core modules, or avoid loading all modules to determine prefixes.
This should make pywikibot more resilient for when defective modules deployed to a wiki, and result in quicker & better errors reported to WMF ops / release managers.
(Currently WMF test and beta wikis have such a defective module : T100775 , so fixing this quickly may be necessary in case Wikimedia dont revert / fix the problem)
TASK DETAIL https://phabricator.wikimedia.org/T100779
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, jayvdb, greg, pywikipedia-bugs