Topic on Project:Support desk

Error while updating new extensions on MediaWiki v1.25.3

3
Summary by Suriyaa

Disable the babel extension during upgrade with web-installer, and re-enable it again when you're done. :)

Suriyaa (talkcontribs)

I'm getting an error while updating MyWiki:

[54375921] /wiki/mw-config/?page=ExistingWiki MWException from line 337 of /users/suriyaakudo/www/wiki/includes/MagicWord.php: Error: invalid magic word 'babel'

Backtrace:

#0 /users/suriyaakudo/www/wiki/includes/MagicWord.php(262): MagicWord->load(string) #1 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(5182): MagicWord::get(string) #2 /users/suriyaakudo/www/wiki/extensions/v1.25/Babel/BabelStatic.class.php(22): Parser->setFunctionHook(string, array) #3 [internal function]: BabelStatic::onParserFirstCallInit(Parser) #4 /users/suriyaakudo/www/wiki/includes/Hooks.php(209): call_user_func_array(string, array) #5 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(310): Hooks::run(string, array) #6 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(320): Parser->firstCallInit() #7 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(5025): Parser->clearState() #8 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(405): Parser->startParse(Title, ParserOptions, integer, boolean) #9 /users/suriyaakudo/www/wiki/includes/installer/Installer.php(630): Parser->parse(string, Title, ParserOptions, boolean) #10 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(676): Installer->parse(string, boolean) #11 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(392): WebInstaller->getInfoBox(string) #12 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(380): WebInstallerExistingWiki->showKeyForm() #13 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(280): WebInstallerExistingWiki->execute() #14 /users/suriyaakudo/www/wiki/mw-config/index.php(77): WebInstaller->execute(array) #15 /users/suriyaakudo/www/wiki/mw-config/index.php(36): wfInstallerMain() #16 {main}

Link to installation page: http://suriyaakudo.bplaced.net/wiki/mw-config/?page=ExistingWiki

Saper (talkcontribs)

This is a known problem, we are working on it. The problem has been filed as Phab:T69877

Ciencia Al Poder (talkcontribs)

The workaround for now is to disable the babel extension during upgrade, and re-enable it again when you're done