Extension:Lingo

Lingo is a glossary extension to MediaWiki, that lets you define abbreviations and their definitions on a wiki page. It displays these definitions whenever an abbreviation is hovered over in an article.

The extension is still in early stages, so please report bugs. It was tested on 1.16 w/ PHP 5.3

Usage
By default Lingo will mark up any page with the terms and definitions defined on the Terminology page of your wiki. Just create that page and insert some entries using the following syntax:
 * FTP:File Transfer 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

You are also allowed to have Terms and Definitions on separate lines. Additionally you can assign one definition to multiple terms, e.g. to cover grammatical variants (See the U.S.A. example below).
 * FTP
 * File Transfer Protocol


 * AAAAA
 * American Association Against Acronym Abuse


 * ACK
 * Acknowledge


 * U.S.A.
 * USA
 * United Stated of America

You can use any characters in a term (including punctuation, spaces, all UTF-8 characters, but excluding the colon of course), you are not limited to only letters.

You can exclude an article from markup by including the magic word  anywhere in that article's text.

In some cases it may be necessary to exclude only portions of a page, e.g. because Lingo interferes with some JavaScript. This can be achieved by wrapping that part in an HTML element (e.g. a span or a div) and specifying.

The extension is pretty well internationalized by now, thanks to the efforts of the volunteers on http://www.translatewiki.net. (If your language is not supported yet, get an account there and help yourself. It's easy!) To find out the name of the Terminology page and of the  magic word in your wiki's language, have a look at the   and   files.

Installation

 * 1) Download the files from SVN or download a snapshot (select your version of MediaWiki)
 * 2) Create a directory   in your   directory
 * 3) Extract the files to this   directory
 * 4) Add to the end of LocalSettings.php:
 * 5) Do some customization if necessary (see below).
 * 6) Installation can now be verified through Special:Version on your wiki
 * 7) Create the page Terminology (no namespace) and insert some entries.

Customization
The following settings may be used:
 * to specify a different name for the terminology page; Example:
 * to specify that each term should be annotated only once per page; Example:
 * to specify what namespaces should or should not be used; Example:

If you want to use these settings, just include them in LocalSettings.php after the

Lingo also provides an interface to plug in alternative dictionaries (backends). If you are interested in that, see Semantic Glossary for an example. You can also drop me a mail.

Showcases
I don't know of any yet. Add your wiki here!

Version history

 * See here for the version history

Credits
Lingo is a rewrite of extension Terminology, written by BarkerJr with modifications by Benjamin Kahn. Lingo was originally written by Barry Coughlan and is currently maintained by Stephan Gambke.

Reporting bugs
Comments, questions and suggestions should be sent or posted to:
 * the Lingo discussion page
 * the maintainer