On Oct 11, 2010, at 2:04 AM, Alex Brollo wrote:

> 
> This is the output of my python prompt working by bot into it:wikisource 
> (where: Poemi and Romanzi are two category names;  list_in_cat is a simple 
> python routine which returns the list of articles into a category; Georgiche 
> is the name of a page, a poem):
> 
> >>> "Georgiche" in list_in_cat("Poemi")
> Getting [[Categoria:Poemi]]...
> True
> >>> "Georgiche" in list_in_cat("Romanzi")
> Getting [[Categoria:Romanzi]]...
> False
> >>> 
> 
> Do you need something like this? 

Yes, that's exactly what I'm looking for!

--
Roy Smith
r...@panix.com





_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to