Page MenuHomePhabricator

jquery.makeCollapsible functions incorrectly when re-used in other scripts
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What should have happened instead?:
jquery.makeCollapsible library should support the proper functioning of toggle links inside other components. This affects both the default referenceTooltips gadget and Reference Previews functionality.

image.png (300×572 px, 63 KB)

Event Timeline

Change #1019854 had a related patch set uploaded (by Jack who built the house; author: Jack who built the house):

[mediawiki/core@master] jquery.makeCollapsible: Make toggle buttons work inside cloned content

https://gerrit.wikimedia.org/r/1019854

Change #1019854 merged by jenkins-bot:

[mediawiki/core@master] jquery.makeCollapsible: Make toggle buttons work inside cloned content

https://gerrit.wikimedia.org/r/1019854