Whiteknight / mediawiki-embedvideo

Flash video embedding extension for MediaWiki
http://whiteknight.github.com
Other
23 stars 52 forks source link

Function wfLoadExtensionMessages is undefined #38

Open RobFromCharitylog opened 10 years ago

RobFromCharitylog commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

Thanks muchly.