JeroenDeDauw added a comment. While there might be places where this is a good pragmatic solution, doing this everywhere would not be wise. Don't forget about dependency injection. And carefully consider if there is no simpler approach before introducing a new API module meant for internal requests.
TASK DETAIL https://phabricator.wikimedia.org/T109836 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JeroenDeDauw Cc: Jdlrobson, hoo, Aklapper, JanZerebecki, Lydia_Pintscher, aude, daniel, Legoktm, JeroenDeDauw, Ricordisamoa, Wikidata-bugs, Malyacko _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs