Splitting this use case from T216032: Adjust new article invite for out of beta graduation
We need to find whether the current user a potential translator so that we can provide various invitations to use CX such as the one given in T216032.
A potential translator can be:
- A user whose home wiki is not the current wiki
- A user who has edits or have account in more than one wiki(Example API https://en.wikipedia.org/w/api.php?action=query&format=json&prop=&list=&meta=globaluserinfo&guiprop=editcount|merged)
- A user who has used compact language links feature to switch between wikis