Page MenuHomePhabricator

Missing contentmodel handlers for everything but wikitext
Open, LowPublic

Description

  1. PHP Notice: Undefined index: proofread-page on URL: it.wikisource.org/v3/page/html/Pagina%3AKant_-_Considerazioni_sul_sentimento_del_sublime_e_del_bello%2C_Napoli%2C_1826.djvu%2F14/1831689
  2. PHP Notice: Undefined index: javascript on URL: en.wikipedia.org/v3/page/html/User%3ADanski454%2FWikiStatus.js/865585677

... and so on for Scribunto, proofread-index

#0 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/src/Config/SiteConfig.php(946): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/src/Config/Env.php(777): Parsoid\Config\SiteConfig->getContentModelHandler(string)
#2 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/src/Parsoid.php(55): Parsoid\Config\Env->getContentHandler()
#3 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/src/Parsoid.php(77): Parsoid\Parsoid->parseWikitext(MWParsoid\Config\PageConfig, array)
#4 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/extension/src/Rest/Handler/ParsoidHandler.php(427): Parsoid\Parsoid->wikitext2html(MWParsoid\Config\PageConfig, array)
#5 /srv/deployment/parsoid/deploy-cache/revs/a6da34c1550a15285b629c72d889836476f9e7bd/src/extension/src/Rest/Handler/PageHandler.php(41): MWParsoid\Rest\Handler\ParsoidHandler->wt2html(Parsoid\Config\Env, array)
#6 /srv/mediawiki/php-1.35.0-wmf.2/includes/Rest/Router.php(306): MWParsoid\Rest\Handler\PageHandler->execute()
#7 /srv/mediawiki/php-1.35.0-wmf.2/includes/Rest/Router.php(285): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\PageHandler)
#8 /srv/mediawiki/php-1.35.0-wmf.2/includes/Rest/EntryPoint.php(116): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#9 /srv/mediawiki/php-1.35.0-wmf.2/includes/Rest/EntryPoint.php(83): MediaWiki\Rest\EntryPoint->execute()
#10 /srv/mediawiki/php-1.35.0-wmf.2/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#11 /srv/mediawiki/w/rest.php(3): require(string)
#12 {main}

Event Timeline

ssastry created this task.

Probably missing implementations of the JSON and ProofRead page extensions...

Change 547046 had a related patch set uploaded (by Subramanya Sastry; owner: Subramanya Sastry):
[mediawiki/services/parsoid@master] Work around missing support for non-wikitext content models

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

Change 547046 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Work around missing support for non-wikitext content models

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

ssastry lowered the priority of this task from High to Low.Oct 30 2019, 3:16 AM
ssastry moved this task from Bugs, Notices, Crashers to Post-Port Work on the Parsoid-PHP board.

This class of error has led to a lot of noise while tailing logs during this week's train deploy:

brennen@mwlog1001:/srv/mw-log$ grep -c 'SiteConfig.*index' error.log                                                                                                                                                                                                           
186830

...for a log starting at 2019-10-30 08:03:07.

This class of error has led to a lot of noise while tailing logs during this week's train deploy:

brennen@mwlog1001:/srv/mw-log$ grep -c 'SiteConfig.*index' error.log                                                                                                                                                                                                           
186830

...for a log starting at 2019-10-30 08:03:07.

Indeed. We have a fix for this and one other noisy bug and we are going to deploy those changes in 15 mins.