Page MenuHomePhabricator

Wikimedia\Rdbms\Database::makeList: empty input for field wbxl_language
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.4

message
Wikimedia\Rdbms\Database::makeList: empty input for field wbxl_language

Impact

Notes

Details

Request ID
0db19463-0c73-440c-ade4-cc05e12dc76c
Request URL
https://commons.wikimedia.org/wiki/Soccer?uselang=%E2%A7%BCLang%E2%A7%BD
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.4/includes/libs/rdbms/database/Database.php(1966): Wikimedia\Rdbms\Database->makeList(array, integer)
#1 /srv/mediawiki/php-1.36.0-wmf.4/includes/libs/rdbms/database/Database.php(1905): Wikimedia\Rdbms\Database->selectSQLText(array, array, array, string, array, array)
#2 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/Sql/Terms/DatabaseTermInLangIdsResolver.php(199): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#3 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/Sql/Terms/DatabaseTermInLangIdsResolver.php(156): Wikibase\Lib\Store\Sql\Terms\DatabaseTermInLangIdsResolver->selectTermsViaJoin(array, array, array, array, array, array)
#4 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/Sql/Terms/PrefetchingItemTermLookup.php(106): Wikibase\Lib\Store\Sql\Terms\DatabaseTermInLangIdsResolver->resolveTermsViaJoin(string, string, string, array, array, array)
#5 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/Sql/Terms/TermStoresDelegatingPrefetchingItemTermLookup.php(72): Wikibase\Lib\Store\Sql\Terms\PrefetchingItemTermLookup->prefetchTerms(array, array, array)
#6 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/data-access/src/ByTypeDispatchingPrefetchingTermLookup.php(52): Wikibase\Lib\Store\Sql\Terms\TermStoresDelegatingPrefetchingItemTermLookup->prefetchTerms(array, array, array)
#7 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/data-access/src/ByTypeDispatchingPrefetchingTermLookup.php(52): Wikibase\DataAccess\ByTypeDispatchingPrefetchingTermLookup->prefetchTerms(array, array, array)
#8 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/data-access/src/ByTypeDispatchingPrefetchingTermLookup.php(88): Wikibase\DataAccess\ByTypeDispatchingPrefetchingTermLookup->prefetchTerms(array, array, array)
#9 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/EntityTermLookupBase.php(41): Wikibase\DataAccess\ByTypeDispatchingPrefetchingTermLookup->getTermsOfType(Wikibase\DataModel\Entity\ItemId, string, array)
#10 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/lib/includes/Store/LanguageFallbackLabelDescriptionLookup.php(51): Wikibase\Lib\Store\EntityTermLookupBase->getLabels(Wikibase\DataModel\Entity\ItemId, array)
#11 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/SidebarLinkBadgeDisplay.php(128): Wikibase\Lib\Store\LanguageFallbackLabelDescriptionLookup->getLabel(Wikibase\DataModel\Entity\ItemId)
#12 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/SidebarLinkBadgeDisplay.php(103): Wikibase\Client\Hooks\SidebarLinkBadgeDisplay->getLabel(Wikibase\DataModel\Entity\ItemId)
#13 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/LanguageLinkBadgeDisplay.php(46): Wikibase\Client\Hooks\SidebarLinkBadgeDisplay->getBadgeInfo(array)
#14 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/LangLinkHandler.php(295): Wikibase\Client\Hooks\LanguageLinkBadgeDisplay->attachBadgesToOutput(array, ParserOutput)
#15 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandler.php(98): Wikibase\Client\Hooks\LangLinkHandler->addLinksFromRepository(Title, ParserOutput)
#16 /srv/mediawiki/php-1.36.0-wmf.4/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandler.php(80): Wikibase\Client\Hooks\ParserOutputUpdateHookHandler->doContentAlterParserOutput(Title, ParserOutput)
#17 /srv/mediawiki/php-1.36.0-wmf.4/includes/HookContainer/HookContainer.php(154): Wikibase\Client\Hooks\ParserOutputUpdateHookHandler->onContentAlterParserOutput(WikitextContent, Title, ParserOutput)
#18 /srv/mediawiki/php-1.36.0-wmf.4/includes/HookContainer/HookRunner.php(1246): MediaWiki\HookContainer\HookContainer->run(string, array)
#19 /srv/mediawiki/php-1.36.0-wmf.4/includes/content/AbstractContent.php(594): MediaWiki\HookContainer\HookRunner->onContentAlterParserOutput(WikitextContent, Title, ParserOutput)
#20 /srv/mediawiki/php-1.36.0-wmf.4/includes/Revision/RenderedRevision.php(266): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#21 /srv/mediawiki/php-1.36.0-wmf.4/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#22 /srv/mediawiki/php-1.36.0-wmf.4/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#23 /srv/mediawiki/php-1.36.0-wmf.4/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#24 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#25 /srv/mediawiki/php-1.36.0-wmf.4/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#26 /srv/mediawiki/php-1.36.0-wmf.4/includes/poolcounter/PoolWorkArticleView.php(216): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#27 /srv/mediawiki/php-1.36.0-wmf.4/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleView->doWork()
#28 /srv/mediawiki/php-1.36.0-wmf.4/includes/page/Article.php(811): PoolCounterWork->execute()
#29 /srv/mediawiki/php-1.36.0-wmf.4/includes/actions/ViewAction.php(74): Article->view()
#30 /srv/mediawiki/php-1.36.0-wmf.4/includes/MediaWiki.php(527): ViewAction->show()
#31 /srv/mediawiki/php-1.36.0-wmf.4/includes/MediaWiki.php(313): MediaWiki->performAction(Article, Title)
#32 /srv/mediawiki/php-1.36.0-wmf.4/includes/MediaWiki.php(940): MediaWiki->performRequest()
#33 /srv/mediawiki/php-1.36.0-wmf.4/includes/MediaWiki.php(543): MediaWiki->main()
#34 /srv/mediawiki/php-1.36.0-wmf.4/index.php(53): MediaWiki->run()
#35 /srv/mediawiki/php-1.36.0-wmf.4/index.php(46): wfIndexMain()
#36 /srv/mediawiki/w/index.php(3): require(string)
#37 {main}

Event Timeline

That seems to happen since 1.36.0-wmf.4. That just 30 occurrences so far:

no_field_wbxl_language.png (164×665 px, 6 KB)

Lot of them have: uselang=%E2%A7%BCLang%E2%A7%BD Which would be:

  • U+29FC, ⧼ LEFT-POINTING CURVED ANGLE BRACKET
  • Lang
  • U+29FD, ⧽ RIGHT-POINTING CURVED ANGLE BRACKET

Other examples:

/wiki/Berkelium?uselang=%E2%A7%BCConversionname%E2%A7%BD

/wiki/Mount_Everest?uselang=ru%E1%83%92%E1%83%95%E1%83%94%E1%83%A0%E1%83%93%E1%83%98

Michael added a subscriber: Michael.

This sounds suspiciously like it is caused by T259783: LanguageFallbackChain does not end in 'en' for language codes that are not a valid format, which should hopefully be done very soon. Though, I'm a bit confused as to why it only started with the last train 🤔

I think this can now be closed:

image.png (200×1 px, 23 KB)