Extension:SimpleTooltip
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. Please see the following alternatives that you may wish to install instead of this extension: |
SimpleTooltip Release status: unmaintained |
|
---|---|
Implementation | Parser function |
Description | Provides basic tooltips, supporting inline text and info icons |
Author(s) | Simon Heimler (Fannontalk) |
Latest version | 1.1.0 (2017-11-20) |
MediaWiki | 1.19+ |
PHP | 5.2+ |
Database changes | No |
License | MIT License |
Download | GitHub: Note: README |
The SimpleTooltip extension adds support for basic tooltips. It uses the Tooltipster Library to do so.
It has no dependencies on other extensions. The extension has explicit support for Page Forms, where tooltips within multiple instance forms will get created dynamically. This will not work with the "info" parser function provided by Semantic MediaWiki.
Installation[edit]
- Download and place the file(s) in a directory called
SimpleTooltip
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/SimpleTooltip/SimpleTooltip.php";
- Done â Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Instead of downloading the zip archive you may also check this extension out via Git:
git clone https://github.com/Fannon/SimpleTooltip.git
Configuration[edit]
Currently there are no options supported. This may change due to demand or not.
Usage[edit]
There is a short alias and a more descriptive parser function name for each tooltip type.
Inline-text tooltip[edit]
{{#tip-text: text | tooltip-text}}
{{#simple-tooltip: text | tooltip-text}}
Info-icon tooltip:[edit]
{{#tip-info: tooltip-text }}
{{#simple-tooltip-info: tooltip-text }}
Inline-Image tooltip:[edit]
{{#tip-img: /path/to/your/image.png | image tooltip-text }}
{{#simple-tooltip-img: /path/to/your/image.png | image tooltip-text }}
Example result (Screenshot)[edit]
See also[edit]
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Unmaintained extensions
- Parser function extensions
- MIT licensed extensions
- Extensions in GitHub version control
- ParserFirstCallInit extensions
- BeforePageDisplay extensions
- LocalisationCacheRecache extensions
- All extensions
- Extensions not using extension registration
- Popup extensions
- Extensions included in semantic::core