WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
386 stars 620 forks source link

Create new accounts from course's home wiki when possible #5724

Open ragesoss opened 6 months ago

ragesoss commented 6 months ago

Current Behavior:

Both accounts created through the Dashboard itself (via account requests) and also new accounts that get created by users starting from an enroll link go to English Wikipedia. For events on other wikis, this can be confusing and also does not correctly attributed that user's own language as their home wiki since their account gets created on en.wiki.

Desired Behavior:

When possible, accounts should be created through a user's home wiki. This will need to be extensively tested for compatibility with immediate OAuth login, and also needs to account for the situation where the account creation limit has been reached and the Dashboard would need to fall back on a bot account (https://en.wikipedia.org/wiki/User:OutreachDashboardBot) that is only able to create en.wiki accounts beyond the limit.