Anomie added a comment.
I don't know of a way to force such errors on Wikimedia sites, as any way of
doing so would be considered a bug that we would want to fix. I suppose you
could see if there are any open tasks in Phabricator with reproducible test
cases.
If you have your own wiki set up somewhere for testing, just insert something
like
throw new RuntimeException( "Testing" );
at the top of the `execute()` method of some API module.
TASK DETAIL
https://phabricator.wikimedia.org/T210657
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Anomie
Cc: Framawiki, zhuyifei1999, Xqt, Aklapper, pywikibot-bugs-list, Multichill,
Anomie, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa,
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, Krenair
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs