Page MenuHomePhabricator

Primary sources tool gadget: jQuery.Deferred exception: TypeError: async.parallel is not a function (with ?debug=true)
Closed, InvalidPublic

Description

when loading https://www.wikidata.org/wiki/Q50667990?debug=true I get

16:08:37.795 load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3860 jQuery.Deferred exception: async.parallel is not a function TypeError: async.parallel is not a function
    at init (https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:646:11)
    at HTMLDocument.<anonymous> (https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:666:5)
    at mightThrow (https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3583:29)
    at process (https://www.wikidata.org/w/load.php?debug=true&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3651:12) undefined
jQuery.Deferred.exceptionHook @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3860
process @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3655
setTimeout (async)
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3689
fire @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3317
add @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3376
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3709
jQuery.Deferred @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:10866
then @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3694
jQuery.fn.ready @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3882
jQuery.fn.init @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3050
jQuery.fn.init @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:10393
jQuery @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:98
(anonymous) @ load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:126
16:08:37.822 load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3869 Uncaught TypeError: async.parallel is not a function
    at init (load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:646)
    at HTMLDocument.<anonymous> (load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:666)
    at mightThrow (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3583)
    at process (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3651)
init @ load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:646
(anonymous) @ load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:666
mightThrow @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3583
process @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3651
setTimeout (async)
jQuery.readyException @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3868
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3888
mightThrow @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3583
process @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3651
setTimeout (async)
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3689
fire @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3317
fireWith @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3447
fire @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3455
fire @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3317
fireWith @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3447
process @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3671
setTimeout (async)
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3689
fire @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3317
add @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3376
(anonymous) @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3709
jQuery.Deferred @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:10866
then @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3694
jQuery.fn.ready @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3882
jQuery.fn.init @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:3050
jQuery.fn.init @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:10393
jQuery @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0xbrh4h:98
(anonymous) @ load.php?debug=true&lang=en&modules=ext.gadget.PrimarySources&only=scripts&skin=vector&version=05jh4p0:126

Event Timeline

jeremyb created this task.Mar 18 2018, 8:14 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 18 2018, 8:14 PM

goes away when I disable gadget in my prefs. https://www.wikidata.org/wiki/Wikidata:Primary_sources_tool

also when loading without debug with that gadget enabled it loads a 404 from tools.wmflabs.

Aklapper renamed this task from jQuery.Deferred exception: async.parallel is not a function TypeError: async.parallel is not a function (with ?debug=true) to Primary sources tool gadget: jQuery.Deferred exception: TypeError: async.parallel is not a function (with ?debug=true).Mar 18 2018, 9:46 PM
Aklapper edited projects, added Wikidata-Gadgets; removed MediaWiki-General.
Restricted Application added a project: Wikidata. · View Herald TranscriptMar 18 2018, 9:46 PM

Thanks for reporting this. Confirming.

Furthermore, with debug=true, I also get: Loading failed for the <script> with source “https://www.wikidata.org/w/extensions/Wikibase/view/lib/wikibase-data-model/src/Fingerprint.js?11177”.

Hjfocs moved this task from To do to Doing on the Wikidata-primary-sources board.May 23 2018, 9:50 AM
Hjfocs closed this task as Invalid.May 23 2018, 3:48 PM
Hjfocs moved this task from Doing to Done on the Wikidata-primary-sources board.
Hjfocs added a subscriber: Hjfocs.

Related to version 1.
Should work in version 2: the codebase is ready to be deployed on beta/test.wikidata (T95289).