Thread:Extension talk:ParserFunctions/Suggestion: redir parser function

Is it possible to make a parser function to detect where a page redirects to? That would also allow username detection in another parser function (By removing the namespace from the page where Special:MyPage redirects to). 2 in 1!