I get many Wikipedia pageIDs in DB, and some of them are already redirected to somewhere else.
So I want to know how to get these new pageIDs.
I check the Wikipedia web:
http://en.wikipedia.org/wiki/?curid=11601783
It says (Redirected from....) which means it is not the main link I want. The good link should be:
http://en.wikipedia.org/wiki/?curid=34344124
So I want to know how to get the final pageID by API search like:
http://en.wikipedia.org/w/api.php?action=query&format=json&prop=extracts&pageids=11601783
What parameters should I use?