MediaWiki Extensions

   MediaWiki Extensions

This page contains info about MediaWiki Extensions which extend the functionality of MediaWiki.

About MediaWiki Extensions

 * mediawiki.org Manual: Extensions — installation guide.
 * mediawiki.org Extensions Matrix — overview of main template extensions.
 * mediawiki.org Category: Extensions — category extensions organised by category.
 * mediawiki.org All Extensions — big list of all extensions. Page after page, after page...

MediaWiki Extensions Installed

 * FlashMP3 Extension — play Flash audio files.
 * Inputbox Extension — add search box to page.
 * GeSHi Extension — format source code.

MediaWiki Extensions to Review
Check out extensions at
 * http://meta.wikimedia.org/wiki/Special:Version
 * http://en.wikibooks.org/wiki/Special:Version

Blocking Spam in MediaWiki

 * Evernex Help Blocking Spam — read and implement!

Dynamic Page List Extension
Figure out Categories and install the following — allows you to auto-generate section TOCs.
 * Dynamic Page List 2 Extension
 * Dynamic Page List Extension

Include Extension

 * MediaWiki Extension:Include

PageBy Extension

 * PageBy Extension — provides a custom tag,, that renders as a summary of the pages edit history.

WYSIWYG Editors FCKEditor and TinyMCE Editor

 * http://www.mediawiki.org/wiki/WYSIWYG_editor
 * http://www.mediawiki.org/wiki/Extension:FCKeditor

CategoryTree Extension
The CategoryTree extension provides a dynamic view of the wiki's category structure as a tree.
 * http://www.mediawiki.org/wiki/Extension:CategoryTree

LinkSearch Extension
This extension adds a special page Special:Linksearch which allows to search for pages that contain external link.
 * http://www.mediawiki.org/wiki/Extension:LinkSearch

CharInsert Extension
Enables the creation of JavaScript links which, when clicked, insert predefined text into the text box.
 * http://www.mediawiki.org/wiki/Extension:CharInsert

DynamicPageList Extension
Outputs a bulleted list of the most recent items residing in a category, or a union of several categories.
 * http://www.mediawiki.org/wiki/Extension:DynamicPageList

EasyTimeline Extension
The EasyTimeline feature produces an embedded image from wikitext. The image can be a one-dimensional diagram (horizontally or vertically), or a two-dimensional one.
 * http://meta.wikimedia.org/wiki/EasyTimeline

ImageMap Extension
An extension for client-side clickable image maps. http://www.mediawiki.org/wiki/Extension:ImageMap

FlashMP3 Extension
FlashMP3 embeds a simple Flash-player for playback of mp3-files. See mediawiki.org Extension: FlashMP3 and 1pixelout.net Audio Player Wordpress Plugin.

New_age.mp3|autostart=no

Chipmunk Effect
Macromedia Flash player has a problem playing files encoded at a rate that is NOT a multiple of 11.025 kHz. This effect is sometimes called the “chipmunk” effect: the file is played at double speed. To avoid this, encode MP3s at 11.025 kHz, 22.050 kHz or 44.100 kHz.

Base Syntax
filename.mp3 can be the name of a file uploaded to the Wiki or an external URL. Additional parameters are optional.

Multiple files
Multiple files can be played in one FlashMP3 player one after the other by separating them with comma.

Multiple players
Multiple FlashMP3 players on one site can be achieved by giving them an id.

secondmp3.mp3

Code Examples
Play an uploaded mp3-file called mymp3.mp3. mymp3.mp3

Play the remote mp3-file from the URL http://www.somedomain.com/mp3/mymp3.mp3. http://www.somedomain.com/mp3/mymp3.mp3

Play the two uploaded files mymp3.mp3 and yourmp3.mp3 one after the other, autostarts playing when the site is loaded and loops the files. mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes

GeSHi Extension
Formats source code for better display.See mediawiki.org Extension: SyntaxHighlight GeSHi.

Usage
On the wiki page, you can now use "source" elements:

Parameters

 * lang: Defines the language
 * line: Corresponds to enable_line_numbers method on GeSHi
 * start: Corresponds to start_line_numbers_at method on GeSHi


 * enclose: Corresponds to set_header_type method on GeSHi
 * strict: Corresponds to enable_strict_mode method on GeSHi

The effect and usage of these parameters can be consulted in GeSHi's documentation.

Since r22246, you can override the colors using MediaWiki:GeSHi.css.

Supported languages
These are the languages known by GeSHi that can be used in the lang parameter:

Inputbox Extension
Allows you to add a search box or other input box to a page. See meta.wikimedia.org Help:Inputbox.

Installation
Download and save the file inputbox.php to the MediaWiki extensions folder.

Open and edit the LocalSettings.php file by adding the following line near the bottom:

Parameters
Applying create &#160;to an existing page simply gives the edit page. In that case preload is ignored. Applying comment &#160;for a new page works.

Please note that variables, templates. parser functions and template parameters are not supported in inputbox parameters.