Topic on Extension talk:CategoryTree

Plalemand (talkcontribs)

Hi I have MediaWiki 1.18 and the related CategoryTree r100383. I use Firefox 11.0 (and Chrome 18), both with Javascript enabled. Using CategoryTree only shows 1 level (the root and all children) without any [+]. When I see the HTML code :

...
<span class="CategoryTreeBullet">
<span class="CategoryTreeToggle CategoryTreeLoaded" title="Replier" onclick="if (this.href) this.href='javascript:void(0)'; categoryTreeCollapseNode('PC_SOFT',{"mode":20,"hideprefix":20,"showcount":false,"namespaces":false},this);" style="display: none;">
</span>
...

So, why there is "display:None" ? When I disable that on the root element, it appears [-] but it isn't active.

What's append ? How to fix that ?

Thanks in advance for your answer.

Jonathan3 (talkcontribs)

I don't know if this is exactly the problem I had, but here are my notes from that problem.

CategoryTreeFunctions.php

#$linkattr['style'] = 'display: none;'; // Unhidden by JS
$linkattr['style'] = 'display: inline !important;'; // Unhidden by JS
#j changing to see if it makes it work: see http://www.mediawiki.org/wiki/Extension:CategoryTree#.5Bx.5D_.5B.2B.5D_.5B-.5D_toggles_shown_only_on_the_first_level_of_the_category_tree_view

The problem was that the + and – wouldn’t show after upload to MW1.18 and CategoryTree version 6, revision 100383. Now they do show.
Plalemand (talkcontribs)

Thanks for your quick answer Jonathan3 !

Unfortunately, as I said, even when the [+] (or [-]) is shown, he is not active and nothing appends when I click on it. I only see the root and the first level (I have about 400 categories !). My LocalSettings.php is set to : $wgCategoryTreeMaxDepth = array(CT_MODE_PAGES => 10, CT_MODE_ALL => 10, CT_MODE_CATEGORIES => 10);

The problem is elsewhere :-) It's seems to be the same problem as describes below : "no pages or subcategories" in 2nd level subcategory

Jonathan3 (talkcontribs)

It might be that you are using a non-standard skin and the upgrade broke it (see http://www.mediawiki.org/wiki/ResourceLoader). That's the problem I had. See whether it works with Vector by adding &useskin=vector to the end of the URL. If that's the problem, the solution is to

  • download the latest version of the skin
  • persuade the skin writer to update it
  • update it yourself OR
  • use a standard skin
Plalemand (talkcontribs)

Indeed, I'm using another skin (GuMaxDD) but I just tried on other skins and it doesn't work. Ajax seems not working and, of course, Ajax is enabled in my LocalSettings ($wgUseAjax = true;). Should I update MW1.18-1 to another subversion or to 1.19 ? It seems to be working on this site in MW1.19wmf

Jonathan3 (talkcontribs)

Haha you are having exactly the same problems as I had. GumaxDD has now been upgraded to work with 1.18, for this very reason. My advice is to download the new skin but keep using the production release of mediawiki (1.18).

Plalemand (talkcontribs)

OK thanks Jonathan. I'll do it tomorrow and get back to you.  :-)

Plalemand (talkcontribs)

After check, I use the last version of GumaxDD 1.5.2 and categoryTree r100383 with my MW1.8-1. On other skin, CategoryTree doesn't work. So the problem isn't the skin (or not entirely). How can I fix that ?

Jonathan3 (talkcontribs)

If it works on MW1.19wmf and 1.18.0 (the version I'm using) but not 1.18.1 (your version) maybe it's something to do with 1.18.1. If I were you I'd post a message on the Gumax forum - the designer is really helpful. Good luck!

Plalemand (talkcontribs)

OK, I just installed the new MW 1.19 and it works well. The problem wasn't GuMaxx this time ;-)

83.56.199.133 (talkcontribs)

Hi,

I am using mediawiki 1.19 but can't make GumaxDD work properly. Could you provide any tips on how to do it? Thanks! Cris

Plalemand (talkcontribs)

This post doesn't concern Gumaxxdd problem. Try to contact gumaxxdd developper directly.

Reply to "[+] hidden"