Skip to content

wfMsg Function Depricated #77

@thedrewster-u51

Description

@thedrewster-u51

At present, when using this skin with the newer version of mediawiki will cause the login screen to break with an error message such as the following in the Apache logs:

[Thu Mar 09 13:04:20.598711 2017] [:error] [pid 25742] [client 41.71.71.190:59014] PHP Fatal error: Uncaught Error: Call to undefined function wfMsg() in /var/www/wiki/skins/bootstrap-mediawiki/BootstrapMediaWiki.skin.php:147\nStack trace:\n#0 /var/www/wiki/includes/skins/SkinTemplate.php(252): BootstrapMediaWikiTemplate->execute()\n#1 /var/www/wiki/includes/OutputPage.php(2333): SkinTemplate->outputPage()\n#2 /var/www/wiki/includes/exception/MWExceptionRenderer.php(178): OutputPage->output()\n#3 /var/www/wiki/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(Object(Error))\n#4 /var/www/wiki/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(Object(Error), 2)\n#5 /var/www/wiki/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(Object(Error))\n#6 [internal function]: MWExceptionHandler::handleException(Object(Error))\n#7 {main}\n thrown in /var/www/wiki/skins/bootstrap-mediawiki/BootstrapMediaWiki.skin.php on line 147

As of version 1.21, the use of the function wfMsg has been deprecated, instead use "wfMessage".

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