Page MenuHomePhabricator

Fatal Exception when creating MathML output
Closed, DuplicatePublic

Description

On the English Wikipedia, if math display preferences are set to MathML, this revision: https://en.wikipedia.org/w/index.php?title=Courant_minimax_principle&oldid=663685200 creates "[ebbdfa39] 2015-12-17 14:20:54: Fatal exception of type "MWException"". If math preferences are set to PNG, it displays correctly. See https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Mathematics#MWException_in_maths_expression for discussion.
The issue is apparently cause by using \binom in a subscript, which is a workaround for the \substack that LaTeX users would normally use.

Event Timeline

Kusma raised the priority of this task from to Needs Triage.
Kusma updated the task description. (Show Details)
Kusma added a subscriber: Kusma.
2015-12-17 14:20:54 mw1258 enwiki exception ERROR: [ebbdfa39] /w/index.php?title=Courant_minimax_principle&oldid=663685200   MWException from line 59 of /srv/mediawiki/php-1.27.0-wmf.8/extensions/Math/MathRestbaseInterface.php: Cannot get mml. Server problem. {"exception_id":"ebbdfa39"} 
[Exception MWException] (/srv/mediawiki/php-1.27.0-wmf.8/extensions/Math/MathRestbaseInterface.php:59) Cannot get mml. Server problem.
  #0 /srv/mediawiki/php-1.27.0-wmf.8/extensions/Math/MathRestbaseInterface.php(39): MathRestbaseInterface->getContent(string)
  #1 /srv/mediawiki/php-1.27.0-wmf.8/extensions/Math/MathMathML.php(100): MathRestbaseInterface->getMathML()
  #2 /srv/mediawiki/php-1.27.0-wmf.8/extensions/Math/Math.hooks.php(204): MathMathML->render()
  #3 /srv/mediawiki/php-1.27.0-wmf.8/includes/parser/Parser.php(4249): MathHooks::mathTagHook(string, array, Parser)
  #4 /srv/mediawiki/php-1.27.0-wmf.8/includes/parser/Preprocessor_Hash.php(1134): Parser->extensionSubstitution(array, PPFrame_Hash)
  #5 /srv/mediawiki/php-1.27.0-wmf.8/includes/parser/Parser.php(3353): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #6 /srv/mediawiki/php-1.27.0-wmf.8/includes/parser/Parser.php(1244): Parser->replaceVariables(string)
  #7 /srv/mediawiki/php-1.27.0-wmf.8/includes/parser/Parser.php(441): Parser->internalParse(string)
  #8 /srv/mediawiki/php-1.27.0-wmf.8/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
  #9 /srv/mediawiki/php-1.27.0-wmf.8/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
  #10 /srv/mediawiki/php-1.27.0-wmf.8/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
  #11 /srv/mediawiki/php-1.27.0-wmf.8/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  #12 /srv/mediawiki/php-1.27.0-wmf.8/includes/page/Article.php(676): PoolCounterWork->execute()
  #13 /srv/mediawiki/php-1.27.0-wmf.8/includes/actions/ViewAction.php(44): Article->view()
  #14 /srv/mediawiki/php-1.27.0-wmf.8/includes/MediaWiki.php(489): ViewAction->show()
  #15 /srv/mediawiki/php-1.27.0-wmf.8/includes/MediaWiki.php(286): MediaWiki->performAction(Article, Title)
  #16 /srv/mediawiki/php-1.27.0-wmf.8/includes/MediaWiki.php(731): MediaWiki->performRequest()
  #17 /srv/mediawiki/php-1.27.0-wmf.8/includes/MediaWiki.php(506): MediaWiki->main()
  #18 /srv/mediawiki/php-1.27.0-wmf.8/index.php(43): MediaWiki->run()
  #19 /srv/mediawiki/w/index.php(3): include(string)
  #20 {main}

Some known issues with the servers doing math related rendering etc at the moment

Keep an eye on it, and try it again in a few hours please :)

Will leave the task open for the moment