Page MenuHomePhabricator

TypeError: captionData is undefined (from mediainfo.filePageDisplay)
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
message
TypeError: captionData is undefined

jQuery.Deferred exception: captionData is undefined
trace
resources/filepage/CaptionsPanel.js/CaptionsPanel.prototype.getShowCaptionFlagsByLangCode
getShowCaptionFlagsByLangCode
getTemplateDataReadOnly
getTemplateData
renderInternal
render
MediaInfoComponentWidget
CaptionsPanel
createCaptionsPanel
Impact
Notes

Consistently reproducible for me at
https://commons.wikimedia.org/w/index.php?title=File:AS12-47-6987_(21659597215).jpg&diff=prev&oldid=528854054

In case it doesn't happen for you, perhaps use this link to rule out user input and differences in lang/skin:

https://commons.wikimedia.org/w/index.php?title=File:AS12-47-6987_(21659597215).jpg&diff=prev&oldid=528854054&safemode=on&uselang=en&useskin=vector

I noticed that this error might be paired with the bug reported at T312315: Random "Confirm before you leave" alerts when browsing Wikimedia Commons.. But, it could be a coincidence that I've encountered two WikibaseMediaInfo bugs on the same day.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Krinkle renamed this task from TypeError: captionData is undefined to TypeError: captionData is undefined (from mediainfo.filePageDisplay).Jul 7 2022, 12:16 AM