If I fetch a category such as 'Category:Computing' from a wiki DB (in
this case, a cdb one) and parse it with parseString, it includes all
the subcategories and contained articles expanded out already, which
implies that mwlib has some way to efficiently find articles that
include a particular category. How is this done?

I'd like to get a list of all articles (transitively) included in a
category, but reading the parse tree for 'Category:Foo' isn't
sufficient, as there doesn't seem to be any way to distinguish a
subcategory from a parent category in the parse tree for a category
page. Can I use whatever mechanism mwlib uses itself?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to