When calling the Wikipedia API, what do the keys in the links objects mean?
- I'm guessing
ns
stands for namespace, but why is it an integer? - Why is
exists
empty for every object? - Why is what appears to be the page name title key called
*
?
For example, calling:
https://en.wikipedia.org/w/api.php?action=parse&page=List_of_cognitive_biases&prop=links
Response:
{
"parse": {
"title": "List of cognitive biases",
"pageid": 510791,
"links": [{
"ns": 0,
"exists": "",
"*": "Anthropomorphism"
}, {
"ns": 0,
"exists": "",
"*": "Apophenia"
},
...
]
}
}