GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

If you are having problems with GuMax, post here.
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Jonathan »

The CategoryTree extension doesn't work for me with GumaxDD any more. It works with Monobook though!

I get the following errors when a page with CategoryTree is loaded:

Code: Select all

SCRIPT5007: The value of the property 'addOnloadHook' is null or undefined, not a Function object 
CategoryTree.js?6, line 162 character 1
SCRIPT5007: The value of the property 'addOnloadHook' is null or undefined, not a Function object 
CategoryTree.js?6, line 162 character 1
SCRIPT5009: 'mw' is undefined 
load.php?debug=false&lang=en&modules=site&only=scripts&skin=gumaxdd&*, line 1 character 2
Then when I click on a '+' symbol to expand the CategoryTree tree, I get the following:

Code: Select all

SCRIPT5007: The value of the property 'sajax_do_call' is null or undefined, not a Function object 
CategoryTree.js?6, line 150 character 2
I am using 'very short URLs', which may be relevant.

Any ideas? Thank you.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Paul »

Did it work with GuMaxDD 1.5 on previous mediawiki?
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Jonathan »

I was using an older version of GumaxDD with MW1.16.5 - tonight I can check which.

MW1.16.5 + old GuMaxDD = worked fine
MW1.16.5 + GuMaxDD 1.5.1 = never tested
MW1.18 + old GuMaxDD = problematic so I upgraded GuMaxDD
MW1.18 + Gumax 1.5.1 = problematic

Jonathan
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: GuMaxDD 1.5.1 & MW1.18 - CategoryTree broken

Post by Jonathan »

My original title is incorrect. The problem occurs for all browsers which I have (Chrome, Firefox and IE).
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Jonathan »

The old version of GumaxDD I was using was v1.3.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Paul »

I activated CategoryTree in my dev wiki... and works fine without any issue

http://dev.paulgu.com/index.php?title=Main_Page


It might be caused by other extensions?
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: GuMaxDD 1.5.1 & MW1.18 - CategoryTree broken

Post by Jonathan »

When I load your dev wiki I get the following errors:

Code: Select all

SCRIPT5007: The value of the property 'addOnloadHook' is null or undefined, not a Function object 
CategoryTree.js?6, line 162 character 1
SCRIPT5007: The value of the property 'addOnloadHook' is null or undefined, not a Function object 
CategoryTree.js?6, line 162 character 1
Also, the [+} and [-] symbols don't appear as they should do (for instance, beside 'Sandbox' there should be a [-]). Apparently this requires the following fix: http://www.mediawiki.org/wiki/Extension ... _tree_view

I imagine when you apply that fix then the same errors will appear on your dev wiki as on mine ;-)

For some reason I think the skin isn't loading the standard Mediawiki Javascript.

Thank you in advance for your assistance.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Paul »

I added that.... it still works fine, although it's getting that error in FF error console.
User avatar
Jonathan
Rank 6
Rank 6
Posts: 33
Joined: April 6th, 2009, 8:19 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Jonathan »

Hi Paul

Unfortunately it doesn't work on the Dev wiki. If you go to http://dev.paulgu.com/index.php?title=S ... categories and click on a [+] symbol, it will hang on 'loading...' and give the following error:

Code: Select all

SCRIPT5007: The value of the property 'sajax_do_call' is null or undefined, not a Function object 
CategoryTree.js?6, line 150 character 2
By contrast, it does work on the Dev wiki with Monobook: http://dev.paulgu.com/index.php?title=S ... n=monobook

Best wishes

Jonathana
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: GuMaxDD 1.5.1 & MW1.18 & IE9 - CategoryTree broken

Post by Paul »

It seems this is popular issue with new wiki:

Check this out:
http://wikimedia.7.n6.nabble.com/JavaSc ... 09046.html

New wiki sucks... that's why I rolled back my wiki to 1.16.5
Post Reply