Extension:SimpleTippy

Category:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
SimpleTippy
Release status: experimentalCategory:Experimental extensions
Implementation Parser function Category:Parser function extensions
Description Allows to create tooltips with html content
Author(s) Vedmakatalk
Latest version 1.0.0 (2023-03-30)
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
PHP 7.3+
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
README
Category:All extensionsCategory:Extensions not in ExtensionJson

The SimpleTippy provides parser function to render tooltips with html contents.

Based on the Tippy library.

Category:Popup extensions

Installation

  • Download and place the file(s) in a directory called SimpleTippy in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SimpleTippy' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Or install via Git:

git clone https://github.com/vedmaka/mediawiki-extension-SimpleTippy.git

Usage

Normal mode

To render a text "text" with a tooltip "content" ( the "content" can be a wiki markup that will be parsed on function invokation ):

{{#tooltip: text | content }}
Deferred mode

To render a text "text" with a tooltip that won't parse the "content" on invokation but instead deffer it until the text is hovered:

<tooltip text="Text">Content</tooltip>
Category:Popup extensions
Category:All extensions Category:Experimental extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:MIT licensed extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Popup extensions