Dear All,

I'm new to MediaWiki, sorry if my question is trite but I still can't find answers in any page.

In MediaWiki API:Properties (, we can know if a page is a redirect.

  • How to detect WHERE a page is redirected TO, and redirected FROM? 
  • How to check which page is the start, middle, or end of a redirect chain?

Could you please point me to the right direction?