MediaWiki talk:Gadget-Collapse-Captions.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


filepage-mediainfo-entitytermsview to wbmi-entityview-content[edit]

{{Edit request}}

Gadget doesn't work anymore because https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/WikibaseMediaInfo/+/484595/. Change filepage-mediainfo-entitytermsview to wbmi-entityview-content.

$( ".wbmi-entityview-content" ).addClass( "mw-collapsible" );
$( ".wbmi-entityview-content" ).addClass( "mw-collapsed" );

Pinging @Hedwig in Washington. - Alexis Jazz ping plz 16:07, 24 January 2019 (UTC)[reply]

✓ Done Awesome! Thank you! Hedwig in Washington (mail?) 22:10, 24 January 2019 (UTC)[reply]

Not working[edit]

Resolved

This gadget is not working any more, and neither are the other two. Please see COM:VP#Captions.   — Jeff G. please ping or talk to me 23:30, 12 February 2019 (UTC)[reply]

Fixed by User: Jdforrester (WMF) − thanks! Jean-Fred (talk) 23:45, 12 February 2019 (UTC)[reply]

9 months later, it is definitely not working for me. See https://phabricator.wikimedia.org/T235811. - Jmabel ! talk 16:22, 11 November 2019 (UTC)[reply]

Yup, it's dead for the foreseeable future, see phab:T235811. It may be best to disable this gadget for now. Thanks. Mike Peel (talk) 20:32, 12 November 2019 (UTC)[reply]
Revived it. I very very much dislike this piece of code I wrote which is a race-condition hell. --Zhuyifei1999 (talk) 01:04, 13 November 2019 (UTC)[reply]

Still not working for me[edit]

For me, the effect of "Collapse captions" is indistinguishable from "Hide captions". Unless, of course, a means to uncollapse on a given page is hiding somewhere I don't know to look: nothing here shows what it should look like if it is working correctly. FWIW, using Monobook skin on Firefox.- Jmabel ! talk 17:05, 4 March 2023 (UTC)[reply]