Overview

A basic tooltips extension available to download from SourceForge.

Installation Basics

Download and extract the file(s) in a directory called ToolTip in your extensions/ folder.

Add the following code at the bottom of your LocalSettings.php:

 require_once( "$IP/extensions/ToolTip/ToolTip.php" );

Vector Edit

Open the "Vector.php" file and find the following (around line 73);

$out->addModuleStyles( $styles );

And directly below paste;

$out->addModuleStyles( 'ext.ToolTip' );
    

Post Install

Return to MediaWiki refresh the browser (Shift + Ctrl + R for Chrome and Firefox).

If there's a problem navigate to "Special:Version" on your Wiki to verify that the extension is successfully installed. Problems are normally due to mistakes editing Vector!

Usage

Apply a ToolTip by using the following with Mediawiki articles;

<div class="tt_blue"> Your Foo Text </div>

Replace the colour with your choice, there are nine available; white, grey, blue, pink, green, orange, red, purple and transparent.

Examples

This is a Blue ToolTip
This is a White ToolTip
This is a Grey ToolTip
This is a Pink ToolTip
This is a Green ToolTip
This is a Orange ToolTip
This is a Red ToolTip
This is a Purple ToolTip

Support

Support, queries and questions requests via the contact page (above).