Wikidata:Property proposal/Stack Exchange user ID
Stack Exchange user ID
[edit]Originally proposed at Wikidata:Property proposal/Generic
Description | Identifier 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 type | External identifier |
Domain | human (Q5) |
Allowed values | \d+ |
Example 1 | Jeff Atwood (Q4703800) → 1 |
Example 2 | Peter Shor (Q370071) → 508412 |
Example 3 | Ross Ulbricht (Q15041155) → 1249338 |
Example 4 | Alan Kay (Q92742) → 563708 |
Example 5 | Miguel de Icaza (Q62849) → 9211 |
Example 6 | Alex Martelli (Q4717433) → 34048 |
Example 7 | Randal L. Schwartz (Q93056) → 11625 |
Expected completeness | always incomplete (Q21873886) |
Formatter URL | https://stackexchange.com/users/$1 |
See also | website 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"-value | Stack Exchange (Q3495447) |
Distinct-values constraint | yes |
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)
Discussion
[edit]- Comment Maybe datatype should be external-id, but given that Stack Exchange (Q3495447) is hardly used with website account on (P553) (8x) it doesn't seem needed. --- Jura 13:32, 25 October 2021 (UTC)
- Oppose per above. --- Jura 12:05, 29 October 2021 (UTC)
- I've created a thread in Project Chat in regards to using P553 vs having dedicated properties. Could you please take a look and, if possible, answer my questions? https://www.wikidata.org/wiki/Wikidata:Project_chat#P553_vs_dedicated_properties_for_online_accounts/usernames Rdrg109 (talk) 16:51, 30 October 2021 (UTC)
- Support I think this warrants a property be created due to the likely large number of instances this could be used, particularly for software/ICT engineers that would have a StackOverflow account. I've updated the proposal to be external-id, have an allowed values regex, stated in value and distinct values constraint. --Dhx1 (talk) 11:32, 16 November 2021 (UTC)
- Support Germartin1 (talk) 14:22, 22 December 2021 (UTC)
- Done Germartin1 (talk) 20:39, 29 December 2021 (UTC)