Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function wfLoadExtensionMessages is undefined #38

Open
RobFromCharitylog opened this issue Feb 27, 2014 · 2 comments
Open

Function wfLoadExtensionMessages is undefined #38

RobFromCharitylog opened this issue Feb 27, 2014 · 2 comments

Comments

@RobFromCharitylog
Copy link

Using MW 1.2.2, PHP 5.3.3, MySQL 5.1.73 -

After upgrade to MW1.2.2, was getting a 500 error in browser which turned out to be this at the server:

Call to undefined function wfLoadExtensionMessages() in .../wiki/extensions/EmbedVideo/EmbedVideo.hooks.php on line 76

Found the relevant bit of code in hooks, but there doesn't seem to be a function anywhere that relates to this. I've temporarily bodged it by removing the following lines from hooks:

// wfLoadExtensionMessages('embedvideo');
// $parser->disableCache();
// EmbedVideo::$initialized = true;

What should this function do, and do I need it? (treat me as if I am a total numpty with php: I am).

@wfragakis
Copy link

only wfLoadExtensionMessages needs to be commented out. It's now deprecated.

See: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/wfLoadExtensionMessages%28%29_removed_from_1.21.1%3F

@RobFromCharitylog
Copy link
Author

Thanks muchly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants