GuMax 3.2.1 in MW 1.19 (Skin::makeGlobalVariablesScript)

If you are having problems with GuMax, post here.
Post Reply
User avatar
Sachant
Rank 0
Rank 0
Posts: 2
Joined: April 29th, 2011, 11:51 pm

GuMax 3.2.1 in MW 1.19 (Skin::makeGlobalVariablesScript)

Post by Sachant »

Hi Paul,

GuMax 3.2.1 in MediaWiki 1.19 gives the following error: Fatal error: Call to undefined method Skin::makeGlobalVariablesScript() in /home/content/wiki/skins/GuMax.php on line 90

The line in question is:

Code: Select all

<?php print Skin::makeGlobalVariablesScript( $this->data ); ?> 
From what I've found, makeGlobalVariablesScript was removed after 1.17. Is there something else I can put in there to get around this?

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

Re: GuMax 3.2.1 in MW 1.19 (Skin::makeGlobalVariablesScript)

Post by Paul »

Yep, new wiki keeps messing up core function, and keeps breaking all skins as well.

Try replace the line with this:

Code: Select all

<?php wfRunHooks( 'MakeGlobalVariablesScript', array( $this->data ) ); ?>
Test all your extensions to see if they are still working...
Post Reply