[14:48:40] if anyone who’s familiar with JsonConfig (and maybe Graph) is around, I’d appreciate a look at my comment in https://phabricator.wikimedia.org/T124748 – not sure I understood everything correctly [14:58:59] your analysis seems correct [14:59:30] ok, thanks [15:12:47] Hi, do not know if this is the correct channel for this but anyways: Is the userID in the Wikidata xml dumps unique? I parsed it and have some usernames listed for multiple usernames (so either mea culpa or userID is not unique)... [15:13:36] users can be renamed, while the ID is immutable and unique. So it's possible you'll see multiple usernames linked to one ID. I don't know if the dumps retroactively update usernames [15:16:21] Okay, is there any way to check this or find out which one is the actual one used right now? Just want to make sure my parser did the right thing. E.g. can I query something to check that ID '12328' did use the names 'name1', 'name2' in the past? Omiting the names here, but the user seems to have had 2 names in total. [15:17:33] https://en.wikipedia.org/w/api.php?action=query&list=users&ususerids=24920566&formatversion=2 is id -> current name [15:17:45] past names are harder to figure out, you have to look through the renameuser log [15:18:39] https://www.wikidata.org/w/api.php?action=query&list=logevents&letype=renameuser&formatversion=2 [15:24:44] Okay thank you, so https://www.wikidata.org/w/api.php?action=query&formatversion=2&list=users&ususerids=12328 should in theory return the latest name for '12328' which should match with the username in the dumps if not changed, right?. [15:25:19] yep [15:25:52] And how would I search for a name in the same query? Reversing it first to see if just my index is broken... [15:26:08] &ususers=Name [15:26:40] https://www.wikidata.org/w/api.php?action=help&modules=query%2Busers <-- documentation [15:27:26] Ah I see, my IDs are just missing a digit, phew, thank you very much for the help! [15:28:17] yw :)