It would be nice to get the redirect target as info from api when querying a redirect page.
At the current wmf live version you have to parse the page content for getting the correct redirect target. That should be unnecessary in future because of bug 28952.
But you still have to make two api requests (without and with redirect-Parameter) if you are also interested in informations about the redirect page. (E.g. if it's a staticredirect using page=pageprops).
It would be much easier if the redirect target information is also included in the page information when querying a page that is a redirect.
My suggestion would be that prop=info should contain this information in its redirect value. At the moment redirect="" is returned. This could be changed to redirect="iw:targetpage#anker", a combination of interwiki, fulltitle and fragment (splitting is not needed).
This shouldn't break existing tools because at the moment only the existence of this redirect attribute is tested and the value is ignored.
--------------------------
**Version**: unspecified
**Severity**: enhancement