Page MenuHomePhabricator

Track editors home wiki
Closed, DeclinedPublic


As one of our KPIs we'd like to track how many accounts have been distributed to editors whose home Wiki (where they registered their account) isn't the English Wikipedia, to see how well we're doing at more globally focused outreach.

As a start, we need to begin tracking home wiki from OAuth again. We removed that information some time ago (T169526,

It would also be nice to let users update that information themselves after we set the default, but this is a future potential feature.

Event Timeline

Samwalton9 triaged this task as Medium priority.Jun 26 2019, 2:02 PM

From @jsn.sherman:

We can add home wiki to the editor data we fetch from the globaluser api. It'll be an easy task.
Long rambling history of us looking at how to think about this:
we previously kept an attribute called 'home wiki' back when users had to pick a project as an id source for sso, but it didn't mean the same thing as the central auth home wiki. It just tracked which project the user signed in from. We dropped that user data from the platform when we moved to sso with meta, since it was no longer required for sign in.
We chose not to pull it in from the api, because there wasn't really documentation for it, but there was an SUL migration thread about how the home wiki determination could be somewhat arbitrary.
Today I took a look at the central auth code that determines the home wiki, and actually it's very reasonable. It tries to determine an actual primary account based on how the user came into central auth; if it can't do that, it just goes by highest edit count.

Samwalton9 lowered the priority of this task from Medium to Low.Oct 1 2020, 8:50 AM
Samwalton9 moved this task from Open tasks to Incoming tasks on the Library-Card-Platform board.

This isn't data we currently need.