Page MenuHomePhabricator

Some page history inaccessible: ParameterAssertionException "Bad value for parameter $title: invalid name"
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
ParameterAssertionException: Bad value for parameter $title: invalid name 'Beiträge/Alex
_Alex_Lep'
exception.trace
from /srv/mediawiki/php-1.35.0-wmf.16/vendor/wikimedia/assert/src/Assert.php:70

#0 /srv/mediawiki/php-1.35.0-wmf.16/includes/title/TitleValue.php(157): Wikimedia\Assert\Assert::parameter(boolean, string, string)
#1 /srv/mediawiki/php-1.35.0-wmf.16/includes/title/TitleValue.php(121): TitleValue::assertValidSpec(integer, string, string, string)
#2 /srv/mediawiki/php-1.35.0-wmf.16/includes/specialpage/SpecialPage.php(102): TitleValue->__construct(integer, string, string)
#3 /srv/mediawiki/php-1.35.0-wmf.16/includes/specialpage/SpecialPage.php(85): SpecialPage::getTitleValueFor(string, string, string)
#4 /srv/mediawiki/php-1.35.0-wmf.16/includes/user/ExternalUserNames.php(79): SpecialPage::getTitleFor(string, string)
#5 /srv/mediawiki/php-1.35.0-wmf.16/includes/Linker.php(909): ExternalUserNames::getUserLinkTitle(string)
#6 /srv/mediawiki/php-1.35.0-wmf.16/includes/Linker.php(1132): Linker::userLink(integer, string)
#7 /srv/mediawiki/php-1.35.0-wmf.16/includes/diff/DifferenceEngine.php(746): Linker::revUserTools(Revision, boolean)
#8 /srv/mediawiki/php-1.35.0-wmf.16/includes/page/Article.php(965): DifferenceEngine->showDiffPage(boolean)
#9 /srv/mediawiki/php-1.35.0-wmf.16/includes/page/Article.php(643): Article->showDiffPage()
#10 /srv/mediawiki/php-1.35.0-wmf.16/includes/actions/ViewAction.php(63): Article->view()
#11 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(514): ViewAction->show()
#12 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(304): MediaWiki->performAction(Article, Title)
#13 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(967): MediaWiki->performRequest()
#14 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(530): MediaWiki->main()
#15 /srv/mediawiki/php-1.35.0-wmf.16/index.php(46): MediaWiki->run()
#16 /srv/mediawiki/w/index.php(3): require(string)
#17 {main}

Notes

In dewiki, I am getting a couple of exceptions that make diffs and (partially) page histories inaccesible, e.g. [XjvqYgpAMFAAAH7XbeYAAABH] 2020-02-06 10:28:51: Fatal exception of type "Wikimedia\Assert\ParameterAssertionException".

I stumbled upon this when doing queries on the dewiki actor_revision table, in which the row with actor_id=10630425 has a weird actor_name that just seems to be broken. Turns out that I get a Wikimedia\Assert\ParameterAssertionException when trying to access the three diffs that this actor made, or when accessing the corresponding page histories.

Quick links to diffs and histories that yield this exception:

All diffs stem from imports from ruwiki to dewiki.


Related:

  • T232451 - The same issue also found on action=info

Details

Request ID
XjvqYgpAMFAAAH7XbeYAAABH
Request URL
https://de.wikipedia.org/w/index.php?diff=130473547

Event Timeline

Aklapper changed the subtype of this task from "Task" to "Production Error".Feb 6 2020, 12:37 PM
Aklapper set Request URL to https://de.wikipedia.org/w/index.php?diff=130473547.
Aklapper set Request ID to XjvqYgpAMFAAAH7XbeYAAABH.
Aklapper edited Stack Trace. (Show Details)
Aklapper set Phatality ID to e986e0aff06bc842c5e2913c78595e09a15f4764385f0fa45146b304d596fdf8.

A similar issue is tracked with T232451 where also a invalid user name is a problem

Krinkle renamed this task from dewiki: Wikimedia\Assert\ParameterAssertionException; page histories and diffs inaccessible; actor table seems affected to Some page history inaccessible: ParameterAssertionException "Bad value for parameter $title: invalid name".Mar 12 2020, 1:21 AM
Krinkle updated the task description. (Show Details)
Krinkle edited Stack Trace. (Show Details)
Krinkle updated the task description. (Show Details)
Krinkle moved this task from Untriaged to Feb2020/1.35-wmf.18 on the Wikimedia-production-error board.
Anomie subscribed.

I'm going to go ahead and close this as a duplicate, since it's basically the same thing. That revision has a username containing a newline, apparently from an import from back in 2014.