Page MenuHomePhabricator

Internal error on Special:RecentChanges: "NamespaceInfo::isTalk called with non-integer (string) namespace '-1'"
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error message
NamespaceInfo::isTalk called with non-integer (string) namespace '-1'
Impact

Cannot view recent changes
No error code shown, only the message Internal error

Javascript console error:

Exception in module-execute in module mediawiki.rcfilters.filters.ui:
load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=vector:2 TypeError: Cannot read property 'limitDefault' of null
    at MwRcfiltersController.Controller.js.Controller.initialize (<anonymous>:216:163)
    at init (load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|mediawiki.rcfilters.filters.ui&skin=vector&version=1vik0:409)
    at mw.rcfilters.init.js (load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets|mediawiki.rcfilters.filters.ui&skin=vector&version=1vik0:410)
    at runScript (load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=vector:13)
    at Array.<anonymous> (load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=vector:14)
    at flushCssBuffer (load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=vector:5)

Details

Request ID
571489e6-9647-4fb9-a3c1-a5d53d6ea40b
Request URL
https://meta.wikimedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=7&urlversion=2
Stack Trace

#0 /srv/mediawiki/php-1.35.0-wmf.36/includes/title/NamespaceInfo.php(189): NamespaceInfo->makeValidNamespace(string, string)
#1 /srv/mediawiki/php-1.35.0-wmf.36/includes/changes/ChangesList.php(246): NamespaceInfo->isTalk(string)
#2 /srv/mediawiki/php-1.35.0-wmf.36/includes/changes/ChangesList.php(224): ChangesList->getHTMLClassesForFilters(RecentChange)
#3 /srv/mediawiki/php-1.35.0-wmf.36/includes/changes/OldChangesList.php(37): ChangesList->getHTMLClasses(RecentChange, boolean)
#4 /srv/mediawiki/php-1.35.0-wmf.36/includes/specials/SpecialRecentChanges.php(440): OldChangesList->recentChangesLine(RecentChange, boolean, integer)
#5 /srv/mediawiki/php-1.35.0-wmf.36/includes/specialpage/ChangesListSpecialPage.php(1659): SpecialRecentChanges->outputChangesList(Wikimedia\Rdbms\ResultWrapper, FormOptions)
#6 /srv/mediawiki/php-1.35.0-wmf.36/includes/specialpage/ChangesListSpecialPage.php(671): ChangesListSpecialPage->webOutput(Wikimedia\Rdbms\ResultWrapper, FormOptions)
#7 /srv/mediawiki/php-1.35.0-wmf.36/includes/specials/SpecialRecentChanges.php(164): ChangesListSpecialPage->execute(NULL)
#8 /srv/mediawiki/php-1.35.0-wmf.36/includes/specialpage/SpecialPage.php(580): SpecialRecentChanges->execute(NULL)
#9 /srv/mediawiki/php-1.35.0-wmf.36/includes/specialpage/SpecialPageFactory.php(634): SpecialPage->run(NULL)
#10 /srv/mediawiki/php-1.35.0-wmf.36/includes/MediaWiki.php(307): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#11 /srv/mediawiki/php-1.35.0-wmf.36/includes/MediaWiki.php(986): MediaWiki->performRequest()
#12 /srv/mediawiki/php-1.35.0-wmf.36/includes/MediaWiki.php(543): MediaWiki->main()
#13 /srv/mediawiki/php-1.35.0-wmf.36/index.php(47): MediaWiki->run()
#14 /srv/mediawiki/w/index.php(3): require(string)
#15 {main}

Event Timeline

Restricted Application added projects: Growth-Team, User-DannyS712. · View Herald TranscriptJun 11 2020, 1:17 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 triaged this task as Unbreak Now! priority.Jun 11 2020, 1:17 AM
DannyS712 moved this task from Unsorted to Reports on the User-DannyS712 board.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 11 2020, 1:17 AM

Now Only the latest a change can be displayed

Pppery added a subscriber: Pppery.Jun 11 2020, 4:24 AM

Using the non-javascript recent changes interface gives a more helpful error message:

[571489e6-9647-4fb9-a3c1-a5d53d6ea40b] 2020-06-11 04:23:13: Fatal exception of type "InvalidArgumentException"
Pppery removed a subscriber: Pppery.Jun 11 2020, 4:24 AM
Aklapper renamed this task from Internal error on meta's Special:RecentChanges to Internal error on Special:RecentChanges: "NamespaceInfo::isTalk called with non-integer (string) namespace '-1'".Jun 11 2020, 5:30 AM
Aklapper changed Request URL from https://meta.wikimedia.org/wiki/Special:RecentChanges?safemode=1 to https://meta.wikimedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=7&urlversion=2.
Aklapper set Request ID to 571489e6-9647-4fb9-a3c1-a5d53d6ea40b.
Aklapper updated the task description. (Show Details)
Aklapper edited Stack Trace. (Show Details)
Aklapper set Phatality ID to 48403fa39ebf2183465d8f3c4e840632ce3034759c6fd21c6eae0cff58586961.

Same PhacilityID as T255016 hence closing as duplicate of T253098

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptJun 11 2020, 5:32 AM