GuMax 3.2.1 in MW 1.19 (Skin::makeGlobalVariablesScript)

If you are having problems with GuMax, post here.

GuMax 3.2.1 in MW 1.19 (Skin::makeGlobalVariablesScript)

Postby Sachant » December 22nd, 2011, 2:00 am

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
Sachant
Rank 0
Rank 0
 
Posts: 2
Joined: April 29th, 2011, 11:51 pm

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

Postby Paul » December 23rd, 2011, 9:52 am

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...
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm


Return to GuMax Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron