Page MenuHomePhabricator

Javascript tools broken on Commons
Closed, ResolvedPublicBUG REPORT

Description

Error
Impact

https://commons.wikimedia.org/wiki/MediaWiki:Gadget-VisualFileChange.js Visual File Change is heavily used by admins for maintenance, so heavy maintenance cannot be done now.

Event Timeline

Yann renamed this task from Javascript tools broken on Commonq to Javascript tools broken on Commons.May 28 2023, 3:47 PM
Yann updated the task description. (Show Details)
Yann updated the task description. (Show Details)
Aklapper changed the task status from Open to Stalled.May 28 2023, 5:15 PM

Hi, please see and follow https://www.mediawiki.org/wiki/Help:Locating_broken_scripts if you think that gadgets or user scripts are broken. Thanks!

Nothing happens when clicking on the box.

Which box?
Please always provide steps to reproduce and follow https://www.mediawiki.org/wiki/How_to_report_a_bug
I assume first is going to https://commons.wikimedia.org/wiki/Special:Preferences#mw-prefsection-gadgets and enabling "Gallery-Tool" and "VisualFileChange".
What are the next steps, as a list of steps?

JSONListUploads is using multiple removed jquery dependencies. jquery.tipsy has been removed, see tech news 2023-19. It is also using jquery.cookie, which is removed (soon) also, see tech news 2023-20. I assume Commons has these tech news items delivered. You will need to fix these uses before anyone can further troubleshoot, as given the timing they are likely to blame.

VFC is also using jquery.tipsy.

Aklapper changed the subtype of this task from "Production Error" to "Bug Report".May 28 2023, 5:40 PM

I switched VFC over to the local copy of tipsy but someone should actually work on removing the tipsy usage: https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-VisualFileChange.js/core.js&diff=prev&oldid=768055169

I peeked at the MyGallery thing, I think it's living on borrowed time, really people who rely on it should file bugs to get those features implemented in Special:MyUploads or something else.

I confirm that both tools start, again, so that this ticket could be closed, I think.

I peeked at the MyGallery thing, I think it's living on borrowed time, really people who rely on it should file bugs to get those features implemented in Special:MyUploads or something else.

Just as information: I was the one who reported the issue with MyGallery or actually I asked for confirmation, whether it was not only broken for me.

In fact I frequently use this feature not from its own Commons page, but from another script by an unfortunately inactive user: User:Perhelion/userstatus on Meta. So more changes in this script would be necessary, too.

Izno claimed this task.
Izno reassigned this task from Izno to Legoktm.
Izno subscribed.