mw.popups.render.article is undefined
Closed, ResolvedPublic

Description

I get this error on every www.wikidata.org page .
Example from https://www.wikidata.org/wiki/Q10704435

Exception in load-callback in module ext.popups:
TypeError: mw.popups.render.article is undefined TypeError: mw.popups.render.article is undefined
Stack trace:
@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1 line 4 > eval:312:407
jQuery.Callbacks/fire@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:45:104
jQuery.Callbacks/self.fireWith@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:46:431
.Deferred/</deferred[tuple[0]]@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:47:765
handlePending@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:159:706
execute/runScript/markModuleReady@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:162:59
execute/runScript/<@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:162:476
jQuery.Callbacks/fire@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:45:104
jQuery.Callbacks/self.add@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:45:656
.Deferred/promise.always@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:46:865
execute/runScript@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:162:340
execute/</checkCssHandles@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:163:123
execute/</cssHandle/<@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:163:253
jQuery.Callbacks/fire@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:45:104
jQuery.Callbacks/self.fireWith@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:46:431
jQuery.Callbacks/self.fire@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:46:474
fireCallbacks@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:157:521
addEmbeddedCSS@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:158:571
addEmbeddedCSS/<@https://www.wikidata.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:157:711
JanZerebecki updated the task description. (Show Details)
JanZerebecki raised the priority of this task from to High.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 19 2015, 6:42 PM

Better bracktrace:

TypeError: mw.popups.render.article is undefined TypeError: mw.popups.render.article is undefined
Stack trace:
@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=ext.gadget.PopupsFix&only=scripts&skin=vector&version=5d85348182d5:190:3
jQuery.Callbacks/fire@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:3148:10
jQuery.Callbacks/self.fireWith@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:3260:7
.Deferred/</deferred[tuple[0]]@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:3350:5
handlePending@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:11568:10
execute/runScript/markModuleReady@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:11746:8
execute/runScript/nestedAddScript@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:11753:9
execute/runScript/nestedAddScript/<@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:11758:9
jQuery.Callbacks/fire@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:3148:10
jQuery.Callbacks/self.fireWith@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:3260:7
done@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:9314:5
.send/script.onreadystatechange@https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=8RH3krq1:9829:8
Se4598 closed this task as Invalid.EditedOct 19 2015, 6:59 PM
Se4598 claimed this task.
Se4598 added a subscriber: Se4598.

This is a problem with a local gadget https://www.wikidata.org/wiki/MediaWiki:Gadget-PopupsFix.js, not with popups itself.
Please raise this issue on Wikidata.org village pump or gadget talkpage.

The renderer has been moved: https://gerrit.wikimedia.org/r/232235
Also there will be another update (https://gerrit.wikimedia.org/r/232236) in the next weeks coming which should make integration of wikidata-support easier and should reduce the likelihood of such breakage.

Edit: Correction regarding second update, it's not live yet, but soon.

JanZerebecki reopened this task as Open.Oct 19 2015, 7:02 PM
JanZerebecki removed a project: Page-Previews.
JanZerebecki set Security to None.
Se4598 removed Se4598 as the assignee of this task.Oct 19 2015, 7:02 PM

What's left to do to close this?

JanZerebecki closed this task as Resolved.Oct 20 2015, 10:45 AM
JanZerebecki claimed this task.