Error
- mwversion: 1.40.0-wmf.6
- reqId: dc48bc8a-3d6b-4a0a-b49d-3a22c3a3ff5e
- Find reqId in Logstash
[{reqId}] {exception_url} LogicException: HTML generation was requested, but JsonContent that passed to ContentRenderer::getParserOutput() returns a ParserOutput with no text set.
from /srv/mediawiki/php-1.40.0-wmf.6/includes/Revision/RenderedRevision.php(240) #0 /srv/mediawiki/php-1.40.0-wmf.6/includes/Revision/RevisionRenderer.php(221): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array) #1 /srv/mediawiki/php-1.40.0-wmf.6/includes/Revision/RevisionRenderer.php(158): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array) #2 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array) #3 /srv/mediawiki/php-1.40.0-wmf.6/includes/Revision/RenderedRevision.php(199): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array) #4 /srv/mediawiki/php-1.40.0-wmf.6/includes/Storage/DerivedPageDataUpdater.php(1438): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput() #5 /srv/mediawiki/php-1.40.0-wmf.6/includes/Storage/PageEditStash.php(167): MediaWiki\Storage\DerivedPageDataUpdater->getCanonicalParserOutput() #6 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiStashEdit.php(198): MediaWiki\Storage\PageEditStash->parseAndCache(MediaWiki\Storage\PageUpdater, JsonContent, User, string) #7 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(1900): ApiStashEdit->execute() #8 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(875): ApiMain->executeAction() #9 /srv/mediawiki/php-1.40.0-wmf.6/includes/api/ApiMain.php(846): ApiMain->executeActionWithErrorHandling() #10 /srv/mediawiki/php-1.40.0-wmf.6/api.php(90): ApiMain->execute() #11 /srv/mediawiki/php-1.40.0-wmf.6/api.php(45): wfApiMain() #12 /srv/mediawiki/w/api.php(3): require(string) #13 {main}
Notes
- About six per day over the past 30 days
- Seems to happen when json edits are made via the action api