It works. Thank you.

Kalpa Gunaratna



----- Original Message -----
From: Roan Kattouw <roan.kattouw@gmail.com>
Date: Monday, August 8, 2011 2:04 pm
Subject: Re: [Mediawiki-api] get titles of a disambiguation page
To: MediaWiki API announcements & discussion <mediawiki-api@lists.wikimedia.org>

> On Mon, Aug 8, 2011 at 7:50 PM, Dalkandura Arachchige Gunaratna
> <gunaratna.2@wright.edu> wrote:
> > Hi,
> >    I want to know how I can get all the tiles in a
> disambiguation page.
> The software doesn't really know what a disambig page is or how it's
> laid out, so the closest you can get is requesting a list of all links
> on the disambig page, using:
>
> http://en.wikipedia.org/w/api.php?action=query&titles=Name_of_a_disambig_page&prop=links
>
> To get the links on a disambig page and get the categories for those
> titles in one request, use:
>
> http://en.wikipedia.org/w/api.php?action=query&titles=Name_of_a_disambig_page&generator=links&prop=categories
>
> Roan Kattouw (Catrope)
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api