https://bugzilla.wikimedia.org/show_bug.cgi?id=68921
Bug ID: 68921
Summary: list=logevent userid is returned as string, should be
integer
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
When making the following query:
http://en.wikipedia.org/w/api.php?action=query&list=logevents&leprop=ids|user|userid&format=jsonfm&lelimit=1
the "userid" field's value is surrounded by quotes, making it a string.
Similar queries (e.g. to prop=revisions) return userid as an integer.
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Anarchism&rvlimit=1&rvprop=ids|user|userid&format=jsonfm
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l