Last modified: 2012-10-03 20:48:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39361, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37361 - [SMW] [ROADMAP] [OPEN] Replace #info pop-up code
[SMW] [ROADMAP] [OPEN] Replace #info pop-up code
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 22951 29683 29764
  Show dependency treegraph
 
Reported: 2012-06-06 00:07 UTC by MWJames
Modified: 2012-10-03 20:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MWJames 2012-06-06 00:07:26 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
Comment 1 [[kgh]] 2012-06-08 10:57:41 UTC
See also bug 29764
Comment 2 MWJames 2012-06-08 23:41:10 UTC
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
Comment 3 MWJames 2012-09-29 13:06:33 UTC
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
Comment 4 MWJames 2012-10-03 02:41:59 UTC
Walk the talk, here it is https://gerrit.wikimedia.org/r/#/c/26341/
Comment 5 MWJames 2012-10-03 20:48:41 UTC
Has been merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links