Extension:RegularTooltips

From mediawiki.org
MediaWiki extensions manual
RegularTooltips
Release status: stable
Implementation Parser function
Description Provides inline tooltips and popup-based tooltips
Author(s) Sanjay Thiyagarajan (Techwizzietalk)
Latest version 1.0.0 (2022-02-16)
MediaWiki 1.32.0+
Database changes No
Composer mediawiki/regulartooltips
License MIT License
Download
Quarterly downloads 22 (Ranked 116th)
Translate the RegularTooltips extension if it is available at translatewiki.net

The RegularTooltips extension provides inline tooltips and popup-based tooltips

Installation

  • Download and move the extracted RegularTooltips folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RegularTooltips
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'RegularTooltips' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Usage

Inline tooltip

{{#inline-tooltip: text | tooltip-text}}

Info tooltip

{{#info-tooltip: tooltip-text}}