Page MenuHomePhabricator

NamespaceInfo::getAssociated does not make any sense for given namespace -1
Open, Needs TriagePublic

Description

Error

Request ID: XUnGJgpAAD0AAF1cS8oAAACS
Request URL: https://en.wikipedia.org/w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&target=Template%3AArbComOpenTasks&namespace=0%3B1%3B2%3B3%3B4%3B5%3B6%3B7%3B8%3B9%3B10%3B11%3B12%3B13%3B14%3B15%3B100%3B101%3B108%3B109%3B118%3B119%3B446%3B447%3B710%3B711%3B828%3B829%3B2301%3B2302%3B2303%3B-1&limit=50&days=7&title=Special:RecentChangesLinked&associated=1&urlversion=2&peek=1&from=20190806173015&isAnon=true&action=render&showlinkedto=0&enhanced=0

message
[XUm5QwpAICwAAJoaInIAAAAK] /w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&target=Template%3AArbComOpenTasks&namespace=0%3B1%3B2%3B3%3B4%3B5%3B6%3B7%3B8%3B9%3B10%3B11%3B12%3B13%3B14%3B15%3B100%3B101%3B108%3B109%3B118%3B119%3B446%3B447%3B710%3B711%3B828%3B829%3B2301%3B2302%3B2303%3B-1&limit=50&days=7&title=Special:RecentChangesLinked&associated=1&urlversion=2&peek=1&from=20190806173015&isAnon=true&action=render&showlinkedto=0&enhanced=0   MWException from line 96 of /srv/mediawiki/php-1.34.0-wmf.16/includes/title/NamespaceInfo.php: NamespaceInfo::getAssociated does not make any sense for given namespace -1
trace
#0 /srv/mediawiki/php-1.34.0-wmf.16/includes/title/NamespaceInfo.php(243): NamespaceInfo->isMethodValidFor(string, string)
#1 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/ChangesListSpecialPage.php(1510): NamespaceInfo->getAssociated(string)
#2 [internal function]: ChangesListSpecialPage->{closure}(string)
#3 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/ChangesListSpecialPage.php(1512): array_map(Closure, array)
#4 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/ChangesListSpecialPage.php(996): ChangesListSpecialPage->buildQuery(array, array, array, array, array, FormOptions)
#5 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/ChangesListSpecialPage.php(629): ChangesListSpecialPage->getRows()
#6 /srv/mediawiki/php-1.34.0-wmf.16/includes/specials/SpecialRecentChanges.php(165): ChangesListSpecialPage->execute(NULL)
#7 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/SpecialPage.php(571): SpecialRecentChanges->execute(NULL)
#8 /srv/mediawiki/php-1.34.0-wmf.16/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run(NULL)
#9 /srv/mediawiki/php-1.34.0-wmf.16/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#10 /srv/mediawiki/php-1.34.0-wmf.16/includes/MediaWiki.php(892): MediaWiki->performRequest()
#11 /srv/mediawiki/php-1.34.0-wmf.16/includes/MediaWiki.php(523): MediaWiki->main()
#12 /srv/mediawiki/php-1.34.0-wmf.16/index.php(42): MediaWiki->run()
#13 /srv/mediawiki/w/index.php(3): require(string)
#14 {main}
Impact

Seems to have cropped up just after midnight UTC today (the 6th). 9 instances.

Notes

I may have slightly mangled the pasting here between trace and specific request id, but I think they're all pretty similar.

Event Timeline

brennen created this task.Aug 6 2019, 6:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 6 2019, 6:32 PM

Change 528547 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] ChangesListSpecialPage: don't attempt to get associated namespace for special.

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

Change 528547 merged by jenkins-bot:
[mediawiki/core@master] ChangesListSpecialPage: skip associated for namespaces that don't have one.

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

mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:05 PM