Extension talk:CategoryCloud

I'm using a german MediaWiki Version 1.9.3. The Extension doesn't work, every Category seems to be empty. I changed the SQL-Statement to:

$sql = 'SELECT cl.cl_to as name, count(*) as count ' . ' FROM categorylinks cl' . ' LEFT JOIN page AS p on p.page_title = cl.cl_to' . ' WHERE cl.cl_to LIKE '. $dbr->addQuotes($categoryName) . ' GROUP BY cl.cl_to' . ' ORDER BY '. $order;

Now it works. Have fun.

Proposed Extension
Well... I added a tag in mine so it displays the article/subcategory count for each category. Just add this after line 221: if ($args["showcount"]) { $catCount = $categories[str_replace(" ", "_", $cat)]; $text .= " $catCount "; } Then it's as easy as

Of course I could've saved the category name var before the "_"s where changed to " ", but I wanted to keep your code unscathed. --Phenome 15:35, 2 June 2007 (UTC)

Recursivity
"the extension does not recursively go through the sub-categories for additional categories." - Pity... it would be great if it did that. :) -- Schneelocke 20:09, 21 June 2007 (UTC)

Tag for every article in the given category
It generates a tag for every sub-category, but not article, in the given category. >> It should ;) And besides the option as tag cloud maybe like the regular list but different font sizes. --Sub