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

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).