https://bugzilla.wikimedia.org/show_bug.cgi?id=71020
Brad Jorsch <bjor...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wikibugs-l@lists.wikimedia. |bjor...@wikimedia.org |org | Summary|list=logevents doesn't |list=logevents tries to |return the user ID of the |return both the creating |user who is creating an |user's and the created |account |user's ids as "userid" --- Comment #1 from Brad Jorsch <bjor...@wikimedia.org> --- It does when leprop=userid is used. See the following query, for example: User:Conieliandi created User:Conielia, and you can see that the 'userid' field returned is that for Conieliandi, not Conielia. https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&list=logevents|users&leprop=ids|title|type|user|userid|timestamp|comment|parsedcomment|details|tags&leaction=newusers/create2&lelimit=1&lestart=2014-09-18T20:49:50Z&ususers=Conielia|Conieliandi OTOH, if you omit leprop=userid, then the 'userid' field is that for Conielia; it's not possible to get both at the same time. I'm going to assign this bug to myself, to be fixed during the major overhaul of logevents detail handling described at https://www.mediawiki.org/wiki/Requests_for_comment/API_roadmap#Clean_up_log_event_parameter_handling_in_action.3Dlogevents. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l