Help:Tooltip

From semantic-mediawiki.org
(Redirected from Help:Tooltip)
Starting with Semantic MediaWiki 3.1.0Released on 23 September 2019 and compatible with MW 1.31.0 - 1.33.x. the "qtip2" jQuery plugin was replaced with the "tippy.js" JavaScript tooltip/popover library.1.
Table of Contents

The tooltip functionality was re-factored in Semantic MediaWiki 1.8.0Released on 2 December 2012 and compatible with MW 1.17.0 - 1.22.x
(except 1.22.1).
and together with the jquery plugin qtip2 builds the central component for displaying context information.

Tooltip[edit]

The tooltip supports a hover like behaviour [such as hover like behaviour for entities marked ...] for entities marked with smwttinline (properties etc.) or a persistent like behaviour [such as persistent like behaviour allowing interactions with ... see Help:Adding tooltips] allowing interactions with the tooltip for entities marked with smwttpersist.

Configuration[edit]

  • Objects marked with smwttinline will adopt a hover like behaviour with no closing button and will automatically hide by crossing over the tooltip border.
  • Warning tooltip will behave in a similar manner as smwttinline marked objects.
  • Service link tooltip will have a closing button and allow interactions until an event will close the tooltip
  • Info tooltip will behave like the a service link tooltip

Styling[edit]

Please have a look at ext.smw.tooltip.css for adjustments related to the icons used and for any other related styling isses see style documentation, demos and tips, and implementation samples.

Why qtip2[edit]

Tipsy and the jquery UI tooltip allow simple tooltip functionality but when it comes to enhanced user interactions it needs a more comprehensive plug-in that can provide greater flexibility.

Used by[edit]

Note[edit]

This is a help landing page (fixed as Help:Tooltip), if you change the page name please ensure a proper redirect.

References

  1. ^  Semantic MediaWiki: GitHub issue gh:smw:3685