The code that generates catlinks is in Skin::getCategories. The list generation isn't particularly complex, but the stuff related to hidden categories complicates it.
This is pretty much why I hate the addition of categorieshtml to the api and dislike the way we use catlinks. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] On 11-06-25 03:05 AM, wibr wrote: > Hey, > > for my skin I would like to move the category links of a page into the > sidebar, looking like the other boxes in there. However, the markup is > not really suitable for styling since I don't want the | seperators and > the : at the beginning. I would prefer having an <ul> with all the links > inside. How can I do that with as little php as possible? > > Thanks! > > Wilhelm -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
