Hello All,
For disambiguation pages like these
http://en.wikipedia.org/wiki/Cricket_(disambiguation)
Is there support in the API to get information about the domain to which the page belongs like "Insects", "Theatre","Sports and Games" and such? I couldn't locate it by myself, hence asking for help.
Cricket may also refer to: *Insects*
Cricket (insect), family Gryllidae, also known as "true crickets" Tettigoniidae, known as katydids or bush-crickets
*Theatre* Cricket (musical), a musical by Andrew Lloyd Webber and Tim Rice
*Sports and games* Cricket (darts), a game using the standard 20-number dartboard
Thanks,
Best Regards
Prateek
2010/10/4 Prateek prateek@knoesis.org:
Hello All,
For disambiguation pages like these http://en.wikipedia.org/wiki/Cricket_(disambiguation) Is there support in the API to get information about the domain to which the page belongs like "Insects", "Theatre","Sports and Games" and such? I couldn't locate it by myself, hence asking for help.
The software does not treat disambig pages specially. If you're really just interested in the link targets, you can use prop=links to obtain them like you would with any normal page.
Roan Kattouw (Catrope)
Hi Roan,
Thanks for the reply. I am not really looking for links. I am looking for information about the domain to which the pages mentioned in the disambiguation page are mentioned.
Example:
For the page
http://en.wikipedia.org/wiki/Cricket_(disambiguation)
there are domains which have been mentioned explicitly for articles like
Insects Theatre Sports and games
and such. Since you mentioned, the software does not treats these pages separately, I guess there is no way in which these categories can be obtained, unless I do the parsing of the page?
Thanks,
Prateek
On Mon, Oct 4, 2010 at 1:32 PM, Roan Kattouw roan.kattouw@gmail.com wrote:
2010/10/4 Prateek prateek@knoesis.org:
Hello All,
For disambiguation pages like these http://en.wikipedia.org/wiki/Cricket_(disambiguation) Is there support in the API to get information about the domain to which
the
page belongs like "Insects", "Theatre","Sports and Games" and such? I couldn't locate it by myself, hence asking for help.
The software does not treat disambig pages specially. If you're really just interested in the link targets, you can use prop=links to obtain them like you would with any normal page.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
On Mon, Oct 4, 2010 at 4:00 PM, Prateek prateek@knoesis.org wrote:
Sports and games and such. Since you mentioned, the software does not treats these pages separately, I guess there is no way in which these categories can be obtained, unless I do the parsing of the page? Thanks, Prateek
Those aren't categories, they're just bolded text on the page. So no, there wont be any sort of reliable way, including parsing, that will catch all cases.
mediawiki-api@lists.wikimedia.org