API talk:Iwbacklinks
Add topicAppearance
Latest comment: 7 years ago by RobinHood70 in topic Return Data Type of pageid
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
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)
- 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)