Topic on API talk:Langbacklinks

Return Data Type of pageid

1
77.8.36.255 (talkcontribs)

It seems that this list module returns page ids as strings instead of numbers:

{"pageid":"431922","ns":2,"title":"User:Reddi/Notes","lllang":"fr","lltitle":""}

(from a request to English Wikipedia). Other list modules seem to always return numbers for pageid, e.g. imageusage:

{"pageid":47945,"ns":0,"title":"Madhya Pradesh"}

Reply to "Return Data Type of pageid"