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 (http://www.mediawiki.org/wiki/API:Properties), we can know if a page is a redirect.
BUT 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? Regards,Kevin.
Hi, Kevin,
Please see below link, * http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Galaxy * http://en.wikipedia.org/w/api.php?titles=Galixies&redirects&action=q...
But for the redirect chain, I don't know any easy method. Usually the chain should be break and is not encouraged by the community.
Regards, Mingli
On Thu, Feb 24, 2011 at 2:44 PM, Ma Kevin kevinma8888@yahoo.com wrote:
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 (http://www.mediawiki.org/wiki/API:Properties), we can know if a page is a redirect.
BUT
- 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?
Regards, Kevin.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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 (http://www.mediawiki.org/wiki/API:Properties), we can know if a page is a redirect.
BUT
- 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
From: http://en.wikipedia.org/w/api.php?action=query&list=backlinks&bltitl... To: http://en.wikipedia.org/w/api.php?titles=Mainpage&redirects&action=q...
As for the second question, you'll just have to walk it.
mediawiki-api@lists.wikimedia.org