[Mediawiki-l] getParentCategoryTree()

Ashar Voultoiz hashar at altern.org
Tue May 23 06:38:47 UTC 2006


a at kid wrote:
> So my question is ...
> Is there a built in mediawiki function that can take the results from  
> getParentCategoryTree() and produce a list or do i need to do this  
> manually?

Have a look at the method Skin::drawCategoryBrowser() in Skin.php :)

> And ... is getParentCategoryTree() the most efficient way (maybe it's  
> the only way?) to retrieve the category tree for an article?

There is probably a better way, but the way I used is probably the 
easiest :p

-- 
Ashar Voultoiz - WP++++
http://en.wikipedia.org/wiki/User:Hashar
http://www.livejournal.com/community/wikitech/
IM: hashar at jabber.org  ICQ: 15325080




More information about the MediaWiki-l mailing list