Jump to content

API talk:Iwbacklinks

Add topic
From mediawiki.org
Latest comment: 7 years ago by RobinHood70 in topic Return Data Type of pageid

Return Data Type of pageid

[edit]

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

{"pageid":"11884","ns":0,"title":"German language","iwprefix":"de","iwtitle":""}

(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"} 95.112.16.245 (talk) 21:55, 23 February 2019 (UTC)Reply

You're right. I don't see anything obvious in the code that would cause that, but I'm not really a PHP programmer. I've filed a bug report here. That's the place to go to report anything like this that you might find in the future. Robin Hood  (talk) 21:08, 24 February 2019 (UTC)Reply