Page MenuHomePhabricator

Math extension is throwing fatal PHP errors on shoutwiki.com/wiki/Help:Math
Closed, DuplicatePublic

Description

MediaWiki internal error.

Original exception: [ec14a235] /wiki/Help:Math MWException from line 200 of /var/www/live/w/extensions/Math/MathRestbaseInterface.php: Math extension can not find Restbase URL. Please specify $wgMathFullRestbaseURL.
Backtrace:
#0 /var/www/live/w/extensions/Math/MathRestbaseInterface.php(339): MathRestbaseInterface->getUrl(string)
#1 /var/www/live/w/extensions/Math/MathRestbaseInterface.php(138): MathRestbaseInterface->getCheckRequest()
#2 /var/www/live/w/extensions/Math/Math.hooks.php(385): MathRestbaseInterface::batchEvaluate(array)
#3 /var/www/live/w/includes/Hooks.php(201): MathHooks::onParserAfterTidy(Parser, string)
#4 /var/www/live/w/includes/parser/Parser.php(1372): Hooks::run(string, array)
#5 /var/www/live/w/includes/parser/Parser.php(447): Parser->internalParseHalfParsed(string, boolean, boolean)
#6 /var/www/live/w/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#7 /var/www/live/w/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#8 /var/www/live/w/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#9 /var/www/live/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#10 /var/www/live/w/includes/page/Article.php(676): PoolCounterWork->execute()
#11 /var/www/live/w/includes/actions/ViewAction.php(44): Article->view()
#12 /var/www/live/w/includes/MediaWiki.php(490): ViewAction->show()
#13 /var/www/live/w/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)
#14 /var/www/live/w/includes/MediaWiki.php(714): MediaWiki->performRequest()
#15 /var/www/live/w/includes/MediaWiki.php(508): MediaWiki->main()
#16 /var/www/live/w/index.php(41): MediaWiki->run()
#17 {main}

Exception caught inside exception handler: [31fbfd64] /wiki/Help:Math MWException from line 200 of /var/www/live/w/extensions/Math/MathRestbaseInterface.php: Math extension can not find Restbase URL. Please specify $wgMathFullRestbaseURL.
Backtrace:
#0 /var/www/live/w/extensions/Math/MathRestbaseInterface.php(339): MathRestbaseInterface->getUrl(string)
#1 /var/www/live/w/extensions/Math/MathRestbaseInterface.php(138): MathRestbaseInterface->getCheckRequest()
#2 /var/www/live/w/extensions/Math/Math.hooks.php(385): MathRestbaseInterface::batchEvaluate(array)
#3 /var/www/live/w/includes/Hooks.php(201): MathHooks::onParserAfterTidy(Parser, string)
#4 /var/www/live/w/includes/parser/Parser.php(1372): Hooks::run(string, array)
#5 /var/www/live/w/includes/parser/Parser.php(447): Parser->internalParseHalfParsed(string, boolean, boolean)
#6 /var/www/live/w/includes/cache/MessageCache.php(1083): Parser->parse(string, Title, ParserOptions, boolean)
#7 /var/www/live/w/includes/Message.php(1110): MessageCache->parse(string, Title, boolean, boolean, Language)
#8 /var/www/live/w/includes/Message.php(792): Message->parseText(string)
#9 /var/www/live/w/includes/Message.php(848): Message->toString()
#10 /var/www/live/w/includes/skins/Skin.php(643): Message->parse()
#11 /var/www/live/w/includes/skins/SkinTemplate.php(428): Skin->printSource()
#12 /var/www/live/w/includes/skins/SkinTemplate.php(240): SkinTemplate->prepareQuickTemplate(OutputPage)
#13 /var/www/live/w/includes/OutputPage.php(2317): SkinTemplate->outputPage()
#14 /var/www/live/w/includes/exception/MWException.php(204): OutputPage->output()
#15 /var/www/live/w/includes/exception/MWException.php(244): MWException->reportHTML()
#16 /var/www/live/w/includes/exception/MWExceptionHandler.php(69): MWException->report()
#17 /var/www/live/w/includes/exception/MWExceptionHandler.php(180): MWExceptionHandler::report(MWException)
#18 /var/www/live/w/includes/MediaWiki.php(517): MWExceptionHandler::handleException(MWException)
#19 /var/www/live/w/index.php(41): MediaWiki->run()
#20 {main}
lewiscawte assigned this task to jack.Oct 29 2016, 5:25 PM
lewiscawte added a subscriber: lewiscawte.

This is entirely expected.
We need to remove the preference to have Math rendered by however Mathbase does it and force it to use texvc.

lewiscawte assigned this task to jack.Oct 29 2016, 5:25 PM
lewiscawte added a subscriber: lewiscawte.

This is entirely expected.
We need to remove the preference to have Math rendered by however Mathbase does it and force it to use texvc.

This is entirely expected.
We need to remove the preference to have Math rendered by however Mathbase does it and force it to use texvc.

This comment was removed by lewiscawte.
This comment was removed by lewiscawte.