Wikidata:Property proposal/Stack Exchange user ID

Stack Exchange user ID edit

Originally proposed at Wikidata:Property proposal/Generic

DescriptionIdentifier of the account in the Stack Exchange network. This can be obtained by visiting the profile of the user in the Stack Exchange network and extracting the last part of the URL. https://stackexchange.com/users/123456 -> 123456
Data typeExternal identifier
Domainhuman (Q5)
Allowed values\d+
Example 1Jeff Atwood (Q4703800)1
Example 2Peter Shor (Q370071)508412
Example 3Ross Ulbricht (Q15041155)1249338
Example 4Alan Kay (Q92742)563708
Example 5Miguel de Icaza (Q62849)9211
Example 6Alex Martelli (Q4717433)34048
Example 7Randal L. Schwartz (Q93056)11625
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://stackexchange.com/users/$1
See alsowebsite account on (P553): website that the person or organization has an account on (use with P554) Note: only used with reliable source or if the person or organization disclosed it.
Applicable "stated in"-valueStack Exchange (Q3495447)
Distinct-values constraintyes

Motivation edit

Some humans create accounts in Stack Exchange (Q3495447) sites for asking or answering questions.

I'll explain a little bit about how Stack Exchange assign IDs to users: When a user creates an account in a Stack Exchange site, an account is automatically created in the Stack Exchange network. Thus, the user doesn't have to sign up again in any other Stack Exchange site. Here's a simple example to understand this: User X signs up in "Stack Overflow" (Q549037, a Stack Exchange site). When he did this, he implicitly created an account in the Stack Exchange network. At this point, he has two identifiers: one in Stack Overflow and one in the Stack Exchange network. If decides to participate in "Ask Ubuntu" (Q4807093, another Stack Exchange site), he needs to visit the site and click in "Join this community" and he will be given another ID in that site. At this point, the user has 3 identifiers: one for the Stack Exchange network, one for "Stack Overflow" and one for "Ask Ubuntu".

The identifier for "Stack Overflow" and the identifier for "Ask Ubuntu" can be obtained with the identifier for the Stack Exchange network because, fortunately, Stack Exchange lists the existing accounts in the Stack Exchange sites by visiting the profile in the network. Here's an example: https://stackexchange.com/users/1234?tab=accounts

That means that by having the "Stack Exchange user ID" property, we don't need a property for each Stack Exchange site, because by visiting the profile in the Stack Exchange network, we are presented with the links to all the other accounts.


Rdrg109 (talk) 21:27, 21 October 2021 (UTC)[reply]

Discussion edit