Last modified: 2012-10-03 20:48:41 UTC
This request is used to track the roadmap point "Replace #info pop-up code" ## Description The current JavaScript used for pop-ups in SMW, such as these used by #info, is far from ideal. It makes use of deprecated MediaWiki JS, which will probably be removed around 1.20, and the pop-ups have a fixed size and do not adapt to their content. This can be done better using some jQuery plugin or so. '''[independent]''' ## Package SMW ## Release Not defined ## Solutions MW 1.18/1.19 deploys a standard tooltip solution jQuery.tipsy (see [2]]) ## See also [1] http://www.semantic-mediawiki.org/wiki/Roadmap#Replace_.23info_pop-up_code [2] http://www.mediawiki.org/wiki/ResourceLoader/Default_modules#jQuery.tipsy
See also bug 29764
In case tipsy does not provide enough flexibility, an alternative could be a hovercard ([1], [2]). [1] https://github.com/rrrene/tipsy.hovercard [2] http://designwithpc.com/Plugins/Hovercard
I think tipsy is good for some simple display of static information but in case of interactivity qtip2 might be a better choice. qtip2 supports speech bubble tips, imagemap support, content loading via Ajax (see [1]), and is MIT/GPLv2 licensed. [1] http://craigsworks.com/projects/qtip2/demos/#ajax
Walk the talk, here it is https://gerrit.wikimedia.org/r/#/c/26341/
Has been merged