Page MenuHomePhabricator

Special:MathStatus fails on api.wikimedia.org
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error message
[0c5ddc64-14bf-4c8e-aa80-7c85a13568f7] 2020-10-18 07:54:41: Fatal exception of type "MWException"
Stack Trace
TeX input is invalid.
#0 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathRestbaseInterface.php(426): MathRestbaseInterface->calculateHash()
#1 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathRestbaseInterface.php(100): MathRestbaseInterface->getContentRequest(string)
#2 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathRestbaseInterface.php(232): MathRestbaseInterface->getContent(string)
#3 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathRenderer.php(685): MathRestbaseInterface->getSvg()
#4 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathMathML.php(405): MathRenderer->getSvg()
#5 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathMathML.php(446): MathMathML->correctSvgStyle(NULL)
#6 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathMathML.php(525): MathMathML->getFallbackImage()
#7 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/SpecialMathStatus.php(69): MathMathML->getHtmlOutput()
#8 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/SpecialMathStatus.php(51): SpecialMathStatus->testSpecialCaseText()
#9 /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/SpecialMathStatus.php(41): SpecialMathStatus->runMathMLTest(string)
#10 /srv/mediawiki/php-1.36.0-wmf.13/includes/specialpage/SpecialPage.php(600): SpecialMathStatus->execute(NULL)
#11 /srv/mediawiki/php-1.36.0-wmf.13/includes/specialpage/SpecialPageFactory.php(837): SpecialPage->run(NULL)
#12 /srv/mediawiki/php-1.36.0-wmf.13/includes/MediaWiki.php(307): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#13 /srv/mediawiki/php-1.36.0-wmf.13/includes/MediaWiki.php(940): MediaWiki->performRequest()
#14 /srv/mediawiki/php-1.36.0-wmf.13/includes/MediaWiki.php(543): MediaWiki->main()
#15 /srv/mediawiki/php-1.36.0-wmf.13/index.php(53): MediaWiki->run()
#16 /srv/mediawiki/php-1.36.0-wmf.13/index.php(46): wfIndexMain()
#17 /srv/mediawiki/w/index.php(3): require(string)
#18 {main}
Impact

Special page is unaccessible

Details

Request ID
0c5ddc64-14bf-4c8e-aa80-7c85a13568f7
Request URL
https://api.wikimedia.org/wiki/Special:MathStatus

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 changed Request ID from a879f870-3b2b-41c2-8cca-5feb8f1e7aeb to 0c5ddc64-14bf-4c8e-aa80-7c85a13568f7.Oct 18 2020, 8:22 AM
DannyS712 updated the task description. (Show Details)

Change 635657 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/services/restbase/deploy@master] Add api-portal wiki in prod.

https://gerrit.wikimedia.org/r/635657

Change 635657 merged by Ppchelko:
[mediawiki/services/restbase/deploy@master] Add api-portal wiki in prod.

https://gerrit.wikimedia.org/r/635657

Ok, so enabling RESTBase of api-portal wiki needs a change in envoy as well huh..

Change 636431 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[operations/deployment-charts@master] Expose RESTBase for api-portal wiki.

https://gerrit.wikimedia.org/r/636431

Change 636431 merged by jenkins-bot:
[operations/deployment-charts@master] Expose RESTBase for api-portal wiki.

https://gerrit.wikimedia.org/r/636431

Ok, now the issue is that the wiki is still private, which will not be the case soon. When the wiki is opened up for the public, this issue will go away.