Skip to content

Function wfLoadExtensionMessages is undefined #38

@RobFromCharitylog

Description

@RobFromCharitylog

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions