Page MenuHomePhabricator

New users should be able to register themselves using their home wiki
Open, LowPublic

Description

I *think* that SUL means that we're able to use OAuth to any wiki in order to authenticate users. However, it might be more polite to use the person's preferred home wiki? Also, we want to know their home wiki in case we want to post anything to their User:Talk page.

Probably not in MVP scope, assuming that localization is acceptable when using enwiki for OAuth.

Event Timeline

awight created this task.Feb 8 2016, 11:18 PM
awight raised the priority of this task from to Needs Triage.
awight updated the task description. (Show Details)
Restricted Application added subscribers: StudiesWorld, Base, Aklapper. · View Herald TranscriptFeb 8 2016, 11:18 PM
awight added a subscriber: awight.Feb 8 2016, 11:19 PM

Special:Contributions is another important consideration. We might want to use globalcontributions?

awight renamed this task from New users should be able to register themselves using any wiki to New users should be able to register themselves using their home wiki.Feb 17 2016, 7:48 AM
awight triaged this task as Low priority.
awight set Security to None.

The CentralAuth database can be queried to determine user's home wiki. For example: https://meta.wikimedia.org/w/index.php?title=Special%3ACentralAuth&target=Adamw shows that I have gu_home_db = enwiki.

There's no API yet, so we would have to code this into Replica, or write the API.

I suggest that this should be a backburner issue. It would would be nice to have, but it won't be a blocker for anyone. We should probably just point to Meta as the login wiki for the P&E dashboard to start out.

When it's time to implement it, it will mean making some adjustments to the omniauth config, and possible also some changes in the mediawiki omniauth strategy so that it can take login wiki as a parameter per request.

awight added a comment.Apr 2 2016, 5:48 AM

Awesome to see that there's a MediaWiki API already! I have no idea whether home wiki information is up to date, however.

I think there's a related task where it would be more appropriate to make this point, but I want to highlight that "log in via home wiki" is a nice to have, but "link to user's home wiki user page" is a must-have.

DannyH moved this task from New & TBD Tickets to Programs + User groups on the Community-Tech board.
DannyH added a subscriber: DannyH.
DStrine removed a subscriber: awight.Oct 31 2016, 2:16 PM