Page MenuHomePhabricator

[MediaWiki:EnhancedStash.js gadget on Commons] TypeError while trying to publish files from Special:UploadStash
Open, Needs TriagePublicBUG REPORT

Description

https://commons.wikimedia.org/w/index.php?title=Special:UploadStash&withJS=MediaWiki:EnhancedStash.js

I get the message in the attached screenshot.

Chrome console

stash> Failure at render TypeError: $(...).error is not a function
    at Object.<anonymous> (index.php?title=MediaWiki%3AEnhancedStash.js&action=raw&ctype=text/javascript:231:8)
    at Function.each (load.php?lang=en&modules=jquery%7Cjquery.ui&skin=monobook&version=1ewwa:5:303)
    at Object.render (index.php?title=MediaWiki%3AEnhancedStash.js&action=raw&ctype=text/javascript:181:6)
    at JStack.secureCall (load.php?lang=en&modules=ext.gadget.JStack&skin=monobook&version=aof60:7:389)
    at JStack.nextTask (load.php?lang=en&modules=ext.gadget.JStack&skin=monobook&version=aof60:8:635)
    at index.php?title=MediaWiki%3AEnhancedStash.js&action=raw&ctype=text/javascript:126:17
    at fire (load.php?lang=en&modules=jquery%7Cjquery.ui&skin=monobook&version=1ewwa:42:705)
    at Object.fireWith [as resolveWith] (load.php?lang=en&modules=jquery%7Cjquery.ui&skin=monobook&version=1ewwa:43:903)
    at deferred.<computed> [as resolve] (load.php?lang=en&modules=jquery%7Cjquery.ui&skin=monobook&version=1ewwa:47:471)
    at _onReady (eval at indirectEval (load.php?lang=en&modules=startup&only=scripts&raw=1&skin=monobook:10:286), <anonymous>:23:443)

What should have happened instead?:

I should get a list of files waiting to be published.

Other information (browser name/version, screenshots, etc.):

Chrome on Windows 10.

Event Timeline

Aklapper renamed this task from TypeError while trying to publish files from Special:UploadStash to [MediaWiki:EnhancedStash.js gadget on Commons] TypeError while trying to publish files from Special:UploadStash.Oct 12 2023, 11:37 AM