Page MenuHomePhabricator

MediaWiki\Title\MalformedTitleException: The requested page title contains invalid characters: "%3F"
Closed, ResolvedPublicPRODUCTION ERROR

Description

Steps to replicate the issue (include links if applicable):

https://en.wikipedia.org/wiki/Template_talk:Did_you_know?useparsoid=1

What happens?:

Internal error message and no content:

[017946af-58e0-46d5-b7c4-fcbd010c6593] 2024-06-25 01:35:26: Fatal exception of type "MediaWiki\Title\MalformedTitleException"

What should have happened instead?:

Most of the page renders properly, until the maximum size is reached.

Other information (browser name/version, screenshots, etc.):

I visited the page after someone mentioned that it just went over the PEIS. Switching to ?useparsoid=0 has the usual not-actually-transclusions at the bottom.

Error
normalized_message
[{reqId}] {exception_url}   MediaWiki\Title\MalformedTitleException: The requested page title contains invalid characters: "%3F".
exception.trace
from /srv/mediawiki/php-1.43.0-wmf.10/includes/title/MediaWikiTitleCodec.php(101)
#0 /srv/mediawiki/php-1.43.0-wmf.10/includes/title/MediaWikiTitleCodec.php(500): MediaWiki\Title\MediaWikiTitleCodec::MediaWiki\Title\{closure}(string, string, array)
#1 /srv/mediawiki/php-1.43.0-wmf.10/includes/title/Title.php(2752): MediaWiki\Title\MediaWikiTitleCodec->splitTitleString(string, integer)
#2 /srv/mediawiki/php-1.43.0-wmf.10/includes/title/Title.php(457): MediaWiki\Title\Title->secureAndSplit(string, integer)
#3 /srv/mediawiki/php-1.43.0-wmf.10/includes/title/TitleFactory.php(128): MediaWiki\Title\Title::newFromTextThrow(string, integer)
#4 /srv/mediawiki/php-1.43.0-wmf.10/includes/OutputTransform/Stages/HandleParsoidSectionLinks.php(86): MediaWiki\Title\TitleFactory->newFromTextThrow(string)
#5 /srv/mediawiki/php-1.43.0-wmf.10/includes/OutputTransform/ContentDOMTransformStage.php(49): MediaWiki\OutputTransform\Stages\HandleParsoidSectionLinks->transformDOM(Wikimedia\Parsoid\DOM\Document, MediaWiki\Parser\ParserOutput, NULL, array)
#6 /srv/mediawiki/php-1.43.0-wmf.10/includes/OutputTransform/OutputTransformPipeline.php(72): MediaWiki\OutputTransform\ContentDOMTransformStage->transform(MediaWiki\Parser\ParserOutput, NULL, array)
#7 /srv/mediawiki/php-1.43.0-wmf.10/includes/parser/ParserOutput.php(475): MediaWiki\OutputTransform\OutputTransformPipeline->run(MediaWiki\Parser\ParserOutput, NULL, array)
#8 /srv/mediawiki/php-1.43.0-wmf.10/includes/Output/OutputPage.php(2372): MediaWiki\Parser\ParserOutput->getText(array)
#9 /srv/mediawiki/php-1.43.0-wmf.10/includes/Output/OutputPage.php(2416): MediaWiki\Output\OutputPage->getParserOutputText(MediaWiki\Parser\ParserOutput, array)
#10 /srv/mediawiki/php-1.43.0-wmf.10/includes/page/Article.php(829): MediaWiki\Output\OutputPage->addParserOutput(MediaWiki\Parser\ParserOutput, array)
#11 /srv/mediawiki/php-1.43.0-wmf.10/includes/page/Article.php(640): Article->doOutputFromParserCache(MediaWiki\Parser\ParserOutput, MediaWiki\Output\OutputPage, array)
#12 /srv/mediawiki/php-1.43.0-wmf.10/includes/page/Article.php(538): Article->generateContentOutput(MediaWiki\User\User, ParserOptions, integer, MediaWiki\Output\OutputPage, array)
#13 /srv/mediawiki/php-1.43.0-wmf.10/includes/actions/ViewAction.php(78): Article->view()
#14 /srv/mediawiki/php-1.43.0-wmf.10/includes/actions/ActionEntryPoint.php(731): ViewAction->show()
#15 /srv/mediawiki/php-1.43.0-wmf.10/includes/actions/ActionEntryPoint.php(508): MediaWiki\Actions\ActionEntryPoint->performAction(Article, MediaWiki\Title\Title)
#16 /srv/mediawiki/php-1.43.0-wmf.10/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest()
#17 /srv/mediawiki/php-1.43.0-wmf.10/includes/MediaWikiEntryPoint.php(200): MediaWiki\Actions\ActionEntryPoint->execute()
#18 /srv/mediawiki/php-1.43.0-wmf.10/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#19 /srv/mediawiki/w/index.php(3): require(string)
#20 {main}
Impact
Notes

Details

Request URL
https://en.wikipedia.org/wiki/Template_talk:Did_you_know?useparsoid=*

Event Timeline

Aklapper changed the subtype of this task from "Bug Report" to "Production Error".Tue, Jun 25, 4:10 PM
Aklapper renamed this task from Attempting to load [[en:Template talk:Did you know]] (over the PEIS) with Parsoid fails with a MalformedTitleException to MediaWiki\Title\MalformedTitleException: The requested page title contains invalid characters: "%3F".Tue, Jun 25, 4:18 PM
Aklapper set Request URL to https://en.wikipedia.org/wiki/Template_talk:Did_you_know?useparsoid=*.
Aklapper updated the task description. (Show Details)

Change #1049642 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@master] [WIP] Decode section from title derived from href

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

Change #1049642 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Decode section from title derived from href

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

Change #1051079 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a11

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

Change #1051079 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a11

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