Last modified: 2014-07-14 10:19:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69877, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67877 - Installer: MagicWord.php: Error: invalid magic word 'babel' when upgrading an existing wiki
Installer: MagicWord.php: Error: invalid magic word 'babel' when upgrading an...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Babel (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-11 19:42 UTC by Jesús Martínez Novo (Ciencia Al Poder)
Modified: 2014-07-14 10:19 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jesús Martínez Novo (Ciencia Al Poder) 2014-07-11 19:42:03 UTC
When you go to the web installer of an existing wiki which has Babel extension enabled, after setting the installation language, it throws an exception.

This happens on current master with Extension:Babel, also tested on MediaWiki 1.23. I'm not sure if the problem is with Babel extension or with the installer, although I also have ParserFunctions installed and they don't throw that error.


> [edddcc91] /mw-config/?page=ExistingWiki Exception from line 341 of /home/jesus/git/mediawiki/core/includes/MagicWord.php: Error: invalid magic word 'babel'
> 
> Backtrace:
> 
> #0 /home/jesus/git/mediawiki/core/includes/MagicWord.php(264): MagicWord->load(string)
> #1 /home/jesus/git/mediawiki/core/includes/parser/Parser.php(5121): MagicWord::get(string)
> #2 /home/www/lib/mediawiki-git/extensions/Babel/BabelStatic.class.php(22): Parser->setFunctionHook(string, array)
> #3 [internal function]: BabelStatic::onParserFirstCallInit(Parser)
> #4 /home/jesus/git/mediawiki/core/includes/Hooks.php(206): call_user_func_array(string, array)
> #5 /home/jesus/git/mediawiki/core/includes/GlobalFunctions.php(4042): Hooks::run(string, array, NULL)
> #6 /home/jesus/git/mediawiki/core/includes/parser/Parser.php(279): wfRunHooks(string, array)
> #7 /home/jesus/git/mediawiki/core/includes/parser/Parser.php(291): Parser->firstCallInit()
> #8 /home/jesus/git/mediawiki/core/includes/parser/Parser.php(4962): Parser->clearState()
> #9 /home/jesus/git/mediawiki/core/includes/parser/Parser.php(377): Parser->startParse(Title, ParserOptions, integer, boolean)
> #10 /home/jesus/git/mediawiki/core/includes/installer/Installer.php(596): Parser->parse(string, Title, ParserOptions, boolean)
> #11 /home/jesus/git/mediawiki/core/includes/installer/WebInstaller.php(676): Installer->parse(string, boolean)
> #12 /home/jesus/git/mediawiki/core/includes/installer/WebInstallerPage.php(391): WebInstaller->getInfoBox(string)
> #13 /home/jesus/git/mediawiki/core/includes/installer/WebInstallerPage.php(379): WebInstallerExistingWiki->showKeyForm()
> #14 /home/jesus/git/mediawiki/core/includes/installer/WebInstaller.php(280): WebInstallerExistingWiki->execute()
> #15 /home/jesus/git/mediawiki/core/mw-config/index.php(79): WebInstaller->execute(array)
> #16 /home/jesus/git/mediawiki/core/mw-config/index.php(38): wfInstallerMain()
> #17 {main}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links