Extension:RegularTooltips

From Linux Web Expert

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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the RegularTooltips extension if it is available at translatewiki.net

The RegularTooltips extension provides inline tooltips and popup-based tooltips

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/RegularTooltips</tvar>|Download]] and move the extracted <tvar name=name>RegularTooltips</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RegularTooltips
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'RegularTooltips' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>


Usage

Inline tooltip

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

Info tooltip

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