On Sat, 05 Nov 2011 10:14:09 -0700, Hunter Fernandes <[email protected]>  
wrote:

> I need to grab all the categories of a page as an array. This feels like  
> a
> noob question, but how would I obtain an array of categories solely from  
> a
> skin file?
>
> Only category reference in the QuickTemplate skin class seems to
> be QuickTemplate::data['catlinks'], which has a div containing links in  
> it.
>
> Any solutions?
> - Hunter F.
For now you'll have to use:

OutputPage::getCategories
OutputPage::getCategoryLinks


-- 
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to