Last modified: 2014-10-23 13:34:39 UTC
A function like that would help users to get the content of the target page, and we would not need to parse the content of the redirect page as I'm doing now https://pt.wikipedia.org/w/index.php?diff=prev&oldid=39203823
See also: https://en.wikipedia.org/wiki/Module:Redirect
Change 168282 had a related patch set uploaded by Ricordisamoa: Provide a standard way to get the target of a redirect page https://gerrit.wikimedia.org/r/168282