Extension talk:CategoryTree/LQT Archive 1

=2011=

Hang on loading after upgrade
I've just upgraded my wiki from 1.15 to 1.17, got the categorytree from the SVN today but my categories are not working and the extensions is hung on on "loading...". I followed all the instructions (.htaccess rule, ajax enabled and so) but nothing. Can you please give me a hint? Thanx! 93.62.139.46 10:43, 13 July 2011 (UTC)

Screencap
It would be cool to see a screencap on this article. I'm going to try this extension on the English Wikipedia. :) Mheart 19:46, 9 February 2011 (UTC)

Display images in sub-categories
When I view a category, I can see all the image thumbnails (files) for that category. However, when I click on the + to open a sub-category, I only see the file names for that category, not the thumbnails. Is there a way to view the thumbnails here also? --Robinson Weijman 09:44, 12 February 2011 (UTC)

Show pages (mode=all) in Sidebar
Hi, the sidebar option is great however I'd like to show all pages in the tree rather than just the subcategories as normally done by mode=all. Is this possible in the sidebar?

Namespaces setting not working
I have MediaWiki 1.16.0, and CategoryTree latest stable version r62678. I have 2 namespaces called "KB" and "HowTo", where the article/documents are residing. 2 documents coming from the two namespaces are linked to a Category called Category:SuSe, and from there, that category (SuSe), its linked to Category:Linux.

I want a CategoryTree to only show the articles/documents from the "HowTo" namespace that are linked to the "Category:SuSe". I am trying the following syntax:

< categorytree mode=all namespaces=HowTo > Linux < /categorytree >

The categorytree is defined on a article that I want it to be a "Dashboard" that will show all documents.

But it is showing me documents from both NameSpaces (KB and HowTo) under the Tree. As far as I understand from the documentation, the "namespaces" setting, should restrict it from only showing documents from the namespace I defined, right? Or am I reading it wrong?

NOTE: I tried linking both documents directly to the main category (Category:Linux), and the namespace setting would work. Therefore, leaving to the conclusion that works only at 1 level, but if you make it up to 2 levels, won't work.

Is there any way to make CategoryTree be recursive along all categories, or any kind of hack/workaround? --Diego Ordonez 12:48pm GMT -6 March 10th, 2011

Question
Can anyone tell me how to enable to following line into the categories The number of included categories (C), pages (P) and files (F) is stated in brackets. and display their number with the subcategories? --CenturioST 15:32, 15 March 2011 (UTC)


 * You will find your answer here 10:42, 25 April 2011 (UTC)

How to show all categories?
I wonder how I can show all categories used on the site. Like this site, but to be able to paste this info in a single page. -- Kristofer, 2011-03-16

I also wonder how to do that simple feature ! There should be an argument like "all" to display all categories... --Varlin 18:14, 8 June 2011 (UTC)

Get rid of + on empty subcategories
Is there a way to get rid of the + sign when there are no subcategories? It's confusing and annoying for visitors...

categorytree-member-num and different languages
Having configured my Wiki like MediaWiki since I wanted to see how many categories, pages and files are in a subcategory, I discovered that it did not work on my account but it workied for everybody else.

The difference is that I changed my language, in preferences, to en-GB - British English.

Apparently it only works in the default language en-English.

78.134.29.242 08:09, 1 May 2011 (UTC)
 * If you want it to work in all languages you can edit the categorytree-member-num entry in CategoryTree.i18n.php. You can still use parser functions in here as well.  Just remember to delete your MediaWiki:categorytree-member-num page or else it will get used instead of the language file. --Matthew.JA 19:34, 13 May 2011 (UTC)

CategoryTree staying opened after going back
We really enjoy this extension so far. Well theres always something. In our case the "problem" is, that after going down in one category and subcategories (depth 5-6), loading the specified category and then hitting the "back" button on the browser (firefox mostly) the tree is folded again. Is there any chance the tree stays opened? Is this more like a feature request? Thanks in advance for all help regarding this ;) --129.233.1.35 12:46, 20 June 2011 (UTC) maik

Sidebar issue
Hi, I've just upgraded my wiki from 1.16.5 to 1.17.0 and now category tree in the sidebar is not work. It does not contain any one category.

Now ResourceLoader loads JavaScript resources at the bottom of the body(insted in the head at previous versions) and I get the following JS error:
 * categoryTreeLoadChildren is not defined;
 * addOnloadHook is not defined .

Sorry for my english. --SimonLitt 16:14, 13 July 2011 (UTC)
 * You might want to install the MW 1.17 version of CategoryTree, if you haven't already of course, and see if that helps. Cavila 14:02, 3 August 2011 (UTC)

CategoryTree and alternative table of contents templates
Recently I reported a problem with CategoryTree which affected the behaviour of MediaWiki categories. With the new version for MW 1.17, that appears to be sorted now (!). However, the TOC templates for categories as used on Wikipedia, such as this one here, don't currently work with CategoryTree. Does anyone know of a fix? Cavila 14:02, 3 August 2011 (UTC)
 * Never mind, it's neither CategoryTree nor Ajax. It must be something else in MW 1.17 or other extensions may not be compatible. Cavila 08:24, 4 August 2011 (UTC)