Extension talk:CategoryTree/LQT Archive 1

=2010=

Put the sidebar tree at top
Possible? --MisterLambda 00:09, 22 January 2010 (UTC)

I want the same put the Category sidebar on top, over the standard navigation 79.219.220.220 15:31, 28 January 2010 (UTC)

[+] Will not work in Mediawiki:Sidebar
Here's my page -> Click and if I have the category tree in the sidebar, it will NOT work.. But if i put  on it, all other pages dont)

Why is this? How can you fix it? Thanks...

209.172.30.187 07:52, 1 February 2010 (UTC)

Edit: Blarg, now THAT Doesnt even work if Categorytree Is in the main page @_@

209.172.30.187 08:16, 1 February 2010 (UTC)

BUG FOUND
The reason for this is that this extension produces incompletely closed  sections :-( Here is a HTML example that it produces for the browser:                         [+]           XYZ Note that two closing   elements are missing at the end. This can screw up your whole skin when using this extension in the sidebar.

And the missing tags also make it impossible to use the  tag in a bulleted list: The following example will totally screw up your generated page: *         *

Category Tree with memcached
We have a problem with memcached and CategoryTree. When we change the name of a page, the CategoryTree entry is not updated. Has anyone any experience with this constellation?

How to add MediaWiki:categorytree-member-num to an category without printing it?
Is there any way to add MediaWiki:categorytree-member-num to an category without printing the category in the tree? I tried  but the CategoryTree extension won't respect the noinclude! --Danwe 19:41, 17 February 2010 (UTC)
 * Still no way to add the page to a category. I think the extension really should check for noinclude tags to make this possible! --Danwe 14:44, 3 June 2010 (UTC)

sorry - diesmal auf deutsch
...was muß ich machen, um aus dem http-link "http://de.wikipedia.orgindex.php/?title=User:Ulli_Purwin" den entsprechenden funktionierenden link zu erhalten - oder besser noch: wäre es nicht ein leichtes für dich, diesen deadlink im script funktionsfähig "umzubiegen"? gruß, --Ulli Purwin 00:10, 18 February 2010 (UTC)

Why is [+] printed when there is no subcategories?
Great extension! But, why are the [+] visible even for categories without subcategories? It creates some confusion. Too bad it seemes no one is supporting this extension. :/ --P.Nilsson 14:04, 29 March 2010 (UTC)

This seems to be fixed in svn: Revision 66987 - Directory Listing Modified Fri May 28 02:15:44 2010 UTC (4 weeks, 5 days ago) by tstarling * (bug 23682) Don't allow people to expand subtree when it's known to be empty, this is inefficient. * Fixed a bug causing the "+" link to be shown even when the number of subcategories is zero, due to the DBMS returning a string instead of an integer, causing triple-equals comparison to fail.

But the svn changes don't work with 1.15.1 Maybe we could get a snapshot with those changes? Monkeyboydad 6/30/2010

The fix above does seem to correct the [+] appearing instead of [x] issue. However, when using the "Depth" option, the extension still auto-expands the "no subcategories" node/message which takes up a lot of space and makes the overall tree less usable/readable. --OverSurge 18:46, 3 November 2010 (UTC)

Tree Menu does not work when running on Windows XP using IE or Firefox
After installing Firebug plugin on Firefox discovered that the path for baseDir on line 66 was not getting converted from a windows path to a Linux path. (path contained "\" instead of "/". Modified the code on line 66 from "$this->baseDir"  to "$this->baseUrl".

Problem on Colorado
We had to remove this from http://en.wikipedia.org/wiki/Colorado as it was causing excessive page loading times and timeouts. Is this a problem with this extension or a misuse of it on an inappropiate article? Exxolon 21:30, 9 August 2010 (UTC)

Manually Sort Order
Is there any way for me to manual sort the order in which the pages show up in the Category Tree. Its not chronological (ie by date).... but it still has an order (like a textbook with various sections and chapters)
 * I may be misunderstanding what you want to do, but I use on the subcategories to specify what name it should use to order by, and it still orders like I want it to once I installed this extension. Might that be the answer you're looking for? -James3mg 05:26, 9 September 2010 (UTC)

Default output when empty
Is it possible to output a "Empty" or "Nothing found" default text if the category is empty? Duskey 20:43, 26 August 2010 (UTC)

Possible to show all categories in a tree?
Is it possible to show all categories in a tree without adding them all to a master category? I would ideally like to see Special:Categories as a tree, and subcategories of a given category as a tree rather than list on that category's page. --John.james 03:17, 7 September 2010 (UTC)

Depth setting of 0 on a category page
I installed this extension in order to have my category pages list the number of subcategories and pages under them, not really for the expanding tree. Based on the documentation, it seemed that setting  in LocalSettings.php would do what I was looking for, based on the statement that, "0 means only the root node". But it still allows each subcategory to expand one level, just as if I'd set the depth option to "1" instead. I also tried setting it to '-1', just in case, but it still behaved as if I'd set it to 1.

Is this a bug, or is there any other way of just listing the numbers according to MediaWiki:Categorytree-member-num and preventing any node expansion? Thanks James3mg 05:19, 9 September 2010 (UTC)

Database error in dev-snapshot
09/09/2010 - 22:23 german time

Hello,

I just installed the latest dev-snapshot (Revision 72682) of Category Tree via Subversion. All the files are in the extension folder and I added the two lines with ajax enable and that require once in my LocalSettings. Nevertheless as soon as I want to see a Category Tree e.g. via the categorytree-tag, I receive the following message:

Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler sein. Die letzte Datenbankabfrage lautete: (SQL-Abfrage versteckt) aus der Funktion „CategoryTree::renderChildren“. Die Datenbank meldete den Fehler „1054: Unknown column 'cl_type' in 'where clause' (localhost)“. Von „../wiki/index.php/Spezial:Kategorienbaum“

Best regards Sera

Addition: I installed CategoryTree-MW1.16-r62678 now and that seems to work fine :)


 * Bugzilla Comment to the Problem SBachenberg 12:13, 13 September 2010 (UTC)

Smaller font of categorytree in sidebar using vector in MW1.16
Hi,

In http://www.deurnewiki.nl I recently upgraded from MW1.15 to MW1.16 using the vector style. Unfortunately the font on the categorytree in the sidebar differs from other texts in the sidebar. Anybody know how can I set the font smaller using vector? I seeked but did not find a solution yet. Thank you in advance... --Gjtokkel 17:44, 19 September 2010 (UTC)
 * solved it myself (thank you very much) by adding to CategoryTree.css :--Gjtokkel 18:23, 21 September 2010 (UTC)
 * .CategoryTreeLabelNs14 { font-size: 9pt; }

[+] button does not show up in Opera 10.62
It is actually happening right here on MediaWiki. I am running Ubuntu and can not even see [+] button under Opera, but can under Firefox. I realize the configuration is not typical, but Opera is as JS compliant as you can get, so something is wrong with the extensions.

Sicvolo 22:04, 5 October 2010 (UTC)

What is max depth on my wiki?
The instructions says it is set by $wgCategoryTreeMaxDepth, but how do I check the value of this variable at my wiki? __Meco 22:48, 18 October 2010 (UTC)
 * Well, are you looking to do it through the server (if you have access) or while using the wiki. If the latter, here's a method you could use:
 * Try pressing [+] on multiple levels, in multiple places. Usually you will hit the same level of depth, regardless of which tree you follow, unless there is no sub-categories. For example:

.
 * Bud0011 03:23, 22 October 2010 (UTC).

How to put MaxChildren in options as the "depth" param for example?
Help please. I need to make one short tree and bigger version. The short one is on a title, and the bigger one is under URL "More..." --Tarasius.ua 15:17, 26 October 2010 (UTC)

how to set showcount as default?
I'm searching is possible on how to set showcount true as default? i'm find but can't figure it out how to do that from localsetting.php please tell me..
 * I don't this it is possible to do so from the localsettings.php. From a wiki page, you could put showcount="on", like so:
 * Bud0011 20:49, 16 November 2010 (UTC).
 * Thank you for your answer, but how is it possible like category:Top_level
 * There is show count ex. 1C 2P etc. Thanks for the answer
 * There is nothing that i know of that can do that automatically. You could try to do something manually, using
 * There is nothing that i know of that can do that automatically. You could try to do something manually, using

to generate the number of pages in a specific category, but the content placed inside is pretty much done by the extension itself. You could put an request for them to change the extension to include the feature, but i recommend creating a new section in order to do so. Include in it: What you are asking the Extension to do, and how you think it would be best implemented (on the sever, developer, client or user side). Bud0011 22:33, 16 November 2010 (UTC).

Possible to have showcount using the tag display only article numbers?
This functionality exists for category pages by editing the member-num attribute, but I want to know if this is possible when using the categorytree tag's showcount function to put a categorytree on any page. Thanks.

Let users choose categories in the drop down manner
I want to allow my users to choose the category in the dropdown fasion in the article, is it possibel to achieve this through some extension, if so, what extension?

Let users choose categories in the drop down manner
I want to allow my users to choose the category in the dropdown fasion in the article, is it possibel to achieve this through some extension, if so, what extension?