Page MenuHomePhabricator

PHP Deprecated: Use of Wikimedia\Parsoid\Core\DomPageBundle::toDom with $load=false was deprecated in Parsoid 0.23. [Called from MediaWiki\Parser\Parsoid\HtmlToContentTransform::applyPageBundle]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
  • service.version: 1.46.0-wmf.3
  • timestamp: 2025-11-26T20:40:32.506Z
  • labels.phpversion: 8.3.26
  • trace.id: aSdlwOWoj3gfCcg2rjOPRgAAAJQ
  • Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url}   PHP Deprecated: Use of Wikimedia\Parsoid\Core\DomPageBundle::toDom with $load=false was deprecated in Parsoid 0.23. [Called from MediaWiki\Parser\Parsoid\HtmlToContentTransform::applyPageBundle]
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.3/includes/Parser/Parsoid/HtmlToContentTransform.php(518)
#0[internal function]MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, string)
#1/srv/parsoid-testing/src/Utils/PHPUtils.php(433)trigger_error(string, int)
#2/srv/parsoid-testing/src/Core/DomPageBundle.php(156)Wikimedia\Parsoid\Utils\PHPUtils::deprecated(string, string)
#3/srv/mediawiki/php-1.46.0-wmf.3/includes/Parser/Parsoid/HtmlToContentTransform.php(518)Wikimedia\Parsoid\Core\DomPageBundle->toDom(bool)
#4/srv/mediawiki/php-1.46.0-wmf.3/includes/Parser/Parsoid/HtmlToContentTransform.php(273)MediaWiki\Parser\Parsoid\HtmlToContentTransform->applyPageBundle(Wikimedia\Parsoid\DOM\Document, Wikimedia\Parsoid\Core\HtmlPageBundle)
#5/srv/mediawiki/php-1.46.0-wmf.3/includes/Parser/Parsoid/HtmlToContentTransform.php(576)MediaWiki\Parser\Parsoid\HtmlToContentTransform->getModifiedDocument()
#6/srv/mediawiki/php-1.46.0-wmf.3/includes/Parser/Parsoid/HtmlToContentTransform.php(562)MediaWiki\Parser\Parsoid\HtmlToContentTransform->htmlToText()
#7/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Handler/Helper/HtmlInputTransformHelper.php(589)MediaWiki\Parser\Parsoid\HtmlToContentTransform->htmlToContent()
#8/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Handler/Helper/HtmlInputTransformHelper.php(615)MediaWiki\Rest\Handler\Helper\HtmlInputTransformHelper->getContent()
#9/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Handler/ParsoidHandler.php(869)MediaWiki\Rest\Handler\Helper\HtmlInputTransformHelper->putContent(MediaWiki\Rest\Response)
#10/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Handler/TransformHandler.php(216)MediaWiki\Rest\Handler\ParsoidHandler->html2wt(MediaWiki\Page\PageStoreRecord, array, string)
#11/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Module/Module.php(454)MediaWiki\Rest\Handler\TransformHandler->execute()
#12/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Module/Module.php(301)MediaWiki\Rest\Module\Module->executeHandler(MWParsoid\Rest\Handler\TransformHandler)
#13/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Router.php(485)MediaWiki\Rest\Module\Module->execute(string, MediaWiki\Rest\RequestFromGlobals)
#14/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/Router.php(444)MediaWiki\Rest\Router->doExecute(string, MediaWiki\Rest\RequestFromGlobals)
#15/srv/mediawiki/php-1.46.0-wmf.3/includes/Rest/EntryPoint.php(207)MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#16/srv/mediawiki/php-1.46.0-wmf.3/includes/MediaWikiEntryPoint.php(184)MediaWiki\Rest\EntryPoint->execute()
#17/srv/mediawiki/php-1.46.0-wmf.3/rest.php(25)MediaWiki\MediaWikiEntryPoint->run()
#18/srv/mediawiki/w/rest.php(3)require(string)
#19{main}
Impact

Just log spam AFAIK. ~100K in the last 2 days.

Notes

Details

Request URL
http//pl.wikipedia.org/w/rest.php/pl.wikipedia.org/v3/transform/pagebundle/to/wikitext/Antonio_Martos_Ortiz

Event Timeline

Reedy changed Request URL from https://pl.wikipedia.orghttp//pl.wikipedia.org/w/rest.php/pl.wikipedia.org/v3/transform/pagebundle/to/wikitext/Antonio_Martos_Ortiz to http//pl.wikipedia.org/w/rest.php/pl.wikipedia.org/v3/transform/pagebundle/to/wikitext/Antonio_Martos_Ortiz.Nov 27 2025, 10:28 AM

As far as I can tell, these are all on parsoidtest1001, and are the result of a run of RT-Testing with parsoid 0.23.0-a7 on a wmf.3 (and those are incompatible). Closing this unless there's something I missed (in which case please reopen!)
In any case parsoid 0.23.0-a7 on wmf.4 should not throw any of these, and since group2 is in wmf4 it should be all good.

ihurbain claimed this task.