Extension:Glossary

What can this extension do?
Ever been reading a technical article with lots and lots of acronyms? Unless you know all the terminology they are using, it can be really frustrating trying to understand what the author means.

This extension allows wiki authors to define a list of acronyms and their definitions on a special page. Whenever that acronym is found, it will be highlighted and mousing over it will reveal the definition in a tooltip.

As a side benefit, it also adds a new tag called 'tooltip' which can be used to make arbitrary tooltips on phrases.

This extension is based on the Extension:Emoticons extension.

Usage
By default, the page "Glossary" without a namespace will be used as the source of acronyms and their definitions. It's also possible to modify the extension to put the definitions in a protected namespace.

To make a tooltip by hand, use this form: This should be the text|This is the tooltip text

Installation
1. Create the file:

extensions/glossary.php
2. Add the following to the end of: (right above the "?>" at the end)

LocalSettings.php
3. Create the page "Glossary"

4. Add one line to this page for each acronym. Each line contains the text to be replaced followed by "//" followed by the text to replace it with. See discussion for alternative glossary formats.

Sample Glossary
FTP//File Transport Protocol AAAAA//American Association Against Acronym Abuse ACK//Acknowledge AFAIK//As Far As I Know AWGTHTGTATA//Are We Going To Have To Go Through All This Again HTTP//HyperText Transfer Protocol

Parameters
To lock down the glossary, modify the glossary.php file.

Find the line:

and change it to:

The Glossary will now be located at:

MediaWiki:Glossary

Known problems

 * 1) This extension (unintentionally?) defines the &lt;tooltip&gt; tag and may conflict with Extension:Tooltip.