Page MenuHomePhabricator

Uncaught TypeError: Cannot read property 'match' of undefined
Closed, ResolvedPublic

Description

62 errors in last 24hrs.
https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2020.09.24/clienterror/?id=AXTA_CLtO4h4ahU1MVGO

https://gerrit.wikimedia.org/g/mediawiki/skins/MinervaNeue/+/011bf23390acb7e2140427ff20162335ec335a95/resources/skins.minerva.scripts/initMobile.js#73

at HTMLAnchorElement.<anonymous>  URL1:725:568
at Function.each  URL1:117:2
at jQuery.fn.init.each  URL1:115:2
at e.value  URL1:725:432
at initMediaViewer  URL1:815:891
at fire  URL1:158:209
at Object.fireWith  URL1:159:402
at Object.fire  URL1:593:482
at HTMLDocument.<anonymous>  URL1:665:146
at mightThrow  URL1:161:149

URL1: https://ru.m.wikipedia.org/w/load.php?lang=ru&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2ClargeBannerLimit%2ClegacySupport%2CstartUp%7Cext.centralauth.centralautologin%7Cext.eventLogging%2CnavigationTiming%2Cpopups%2CwikimediaEvents%7Cext.growthExperiments.SuggestedEditSession%7Cext.quicksurveys.init%2Clib%7Cext.relatedArticles.readMore.bootstrap%2Cgateway%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.client%2Ccookie%2Cthrottle-debounce%7Cmediawiki.String%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Crouter%2Cstorage%2Ctemplate%2Cuser%2Cutil%2Cviewport%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.mustache%7Cmediawiki.ui.anchor%7Cmobile.init%2Cstartup%7Cmobile.messageBox.styles%7Cmobile.ooui.icons%7Cmobile.pagelist.styles%7Cmobile.pagesummary.styles%7Cmobile.placeholder.images%7Cmobile.startup.images%7Cmw.externalguidance.init%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui-widgets.icons%7Coojs-ui.styles.indicators%7Cskins.minerva.icons.images.scripts%7Cskins.minerva.icons.images.scripts.misc%7Cskins.minerva.icons.page.issues.default.color%7Cskins.minerva.icons.page.issues.medium.color%7Cskins.minerva.icons.page.issues.uncolored%7Cskins.minerva.options%2Cscripts%7Cuser.defaults&skin=minerva&version=8s7t6

https://ru.m.wikipedia.org/wiki/%D0%9E%D0%B1%D1%8B%D0%BA%D0%BD%D0%BE%D0%B2%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9_%D1%84%D0%BB%D0%B0%D0%BC%D0%B8%D0%BD%D0%B3%D0%BE

Event Timeline

Jdlrobson triaged this task as Medium priority.
Jdlrobson moved this task from Incoming to Needs Prioritization on the Readers-Web-Backlog board.

Change 631533 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/MobileFrontend@master] Fixes Uncaught TypeError: Cannot read property 'match' of undefined

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

The amount of logspam this one is causing is quite high and the fix quite trivial.

Change 631533 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Fixes Uncaught TypeError: Cannot read property 'match' of undefined

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

Thanks Ed! I can verify this one's fixed with next weeks deployment.

I am waiting for this to be deployed to verify this is fixed.

Screen Shot 2020-10-15 at 4.29.45 PM.png (270×534 px, 11 KB)

Looks fixed to me!