Page MenuHomePhabricator

TypeError: this._languageCodes is undefined at getLanguageNameMap
Closed, ResolvedPublic

Description

https://logstash.wikimedia.org/app/dashboards#/doc/logstash-*/logstash-2021.03.17?id=vA5iQngBWKe2MTdRW4vf
143 errors in last 3 hrs.

This is presumably a wikidata.org only bug so I don't think this needs to block the current train but does block the next train given this is a new error with comparatively large logspam potential.

at getLanguageNameMap URL1:1596:24
at URL1:1891:5167
at mightThrow URL1:49:149
at resolve/</process< URL1:49:808

URL1: https://www.wikidata.org/w/load.php?lang=en&modules=dataValues%2Cjquery%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Csite%2CvalueFormatters%2CvalueParsers%2Cvue%2Cwikibase%7CdataValues.DataValue%2CTimeValue%2Cvalues%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Ci18n%2Cinterface%2Clanguagenames%2Cmediawiki%2Cmessages%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.wikibase%7Cjquery.animateWithEvent%2Cclient%2Ccookie%2Ci18n%2Cinputautoexpand%2ClengthLimit%2Cspinner%2CtextSelection%2Ctipsy%2Cui%2Culs%2Cvalueview%7Cjquery.event.special.eachchange%7Cjquery.spinner.styles%7Cjquery.ui.commonssuggester%2Clanguagesuggester%2Csuggester%7Cjquery.uls.data%2Cgrid%7Cjquery.util.getDirectionality%7Cjquery.valueview.Expert%2CExpertExtender%2CExpertStore%7Cjquery.valueview.experts.CommonsMediaType%2CEmptyValue%2CGeoShape%2CGlobeCoordinateInput%2CMonolingualText%2CQuantityInput%2CStringValue%2CTabularData%2CTimeInput%2CUnDeserializableValue%7Cjquery.wikibase.entityselector%2Cwbtooltip%7Cjquery.wikibase.toolbar.styles%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cmisc-authed-pref%2Cstorage%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.htmlform.ooui%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cmediawiki.ui.button%7Cmw.config.values.wbDataTypes%2CwbRefTabsEnabled%2CwbRepo%2CwbSiteDetails%7Coojs-ui-toolbars.icons%7Coojs-ui-widgets.icons%7Coojs-ui-windows.icons%7Cskins.vector.legacy.js%7Cuser.defaults%7Cutil.ContentLanguages%2CExtendable%2CMessageProvider%2CMessageProviders%2CNotifier%2ChighlightSubstring%2Cinherit%7CvalueParsers.ValueParserStore%2Cparsers%7Cwikibase.EntityInitializer%2CSite%2CWikibaseContentLanguages%2CbuildErrorOutput%2Cdatamodel%2CgetLanguageNameByCode%2CgetUserLanguages%2Cserialization%2Csites%2Ctainted-ref%2Ctemplates%7Cwikibase.api.RepoApi%2CValueCaller%7Cwikibase.entityChangers.EntityChangersFactory%7Cwikibase.experts.Entity%2CForm%2CItem%2CLexeme%2CProperty%2CSense%2C__namespace%2Cmodules%7Cwikibase.formatters.ApiValueFormatter%7Cwikibase.special.languageLabelDescriptionAliases%2CnewEntity%7Cwikibase.ui.entityViewInit%2Centitysearch%7Cwikibase.utilities.ClaimGuidGenerator%7Cwikibase.view.ControllerViewFactory%2CReadModeViewFactory%2C__namespace&skin=vector&version=1t081

Event Timeline

Jdlrobson triaged this task as Unbreak Now! priority.Mar 17 2021, 11:17 PM
Jdlrobson added a project: Wikidata-Campsite.
Jdlrobson added a subscriber: thcipriani.

This is presumably a wikidata.org only bug so I don't think this needs to block the current train but does block the next train given this is a new error with comparatively large logspam potential.

Done.

Change 673108 had a related patch set uploaded (by Ladsgroup; owner: Jakob):
[mediawiki/extensions/Wikibase@wmf/1.36.0-wmf.35] languageLabelDescriptionAliases: use getLanguageNameByCode

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

Change 673108 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@wmf/1.36.0-wmf.35] languageLabelDescriptionAliases: use getLanguageNameByCode

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

Mentioned in SAL (#wikimedia-operations) [2021-03-18T13:23:47Z] <ladsgroup@deploy1002> Synchronized php-1.36.0-wmf.35/extensions/Wikibase/repo: [[gerrit:673108|languageLabelDescriptionAliases: use getLanguageNameByCode]] (T275611 T277722) (duration: 01m 14s)

Thank you for the quick response!