Geïnstalleerde Mediawiki Extensies
Overview of the extensions that can be used on a wiki:
GUI extensions
Extensions for graphic features.
ASHighlight
link: ASHighlight
Insert into your LocalSettingsExtra.php:
require_once( "extensions/ASHighlight/ashighlight.php" );
Usage
Use a 'source' HTML-style tag in your wiki code, and give it a 'lang' attribute that matches the standard file extension for your source code, eg 'c' for C code, 'cpp' for C++ code, 'py' for Python, etc. For example:
What it looks like | What you type |
---|---|
while(1){
i++;
}
|
<source lang="c"> while(1){ i++; } </source> |
Calendar
link: Calendar
Insert into your LocalSettingsExtra.php:
require_once("$IP/extensions/Calendar/Calendar.php");
// Puts events into their own namesspace/group (not included in 'main' searches... etc)
$wgExtraNamespaces[100] = "Calendars";
$wgExtraNamespaces[101] = "Calendars_talk";
//Note: 'Calendars' is an example, please feel free to use whatever name you wish
// Puts the events into Subpages (allows a quick link back to primary calendar)
$wgNamespacesWithSubpages[100] = true;
$wgNamespacesWithSubpages[101] = true;
CategoryTree
link: CategoryTree
Insert into your LocalSettingsExtra.php:
$wgUseAjax = true;
require_once( "extensions/CategoryTree/CategoryTree.php" );
Example
<categorytree mode=pages style="float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;">Manual</categorytree>
Flash
The flash extension allows the display of flash movies within a wiki.
Insert into your LocalSettingsExtra.php (at the end):
require_once ("extensions/Flash.php");
link: Extension:Flash
AWC Forum
A Forum inside your wiki
Insert into your LocalSettingsExtra.php (at the end):
require_once ("extensions/awc/forums/awc_forum.php");
link: Extension:AWC's Forum
Collapsible tables
link: Wikipedia:Collapsible_tables
FCKeditor
A What You See Is What You Get editor for the wikitext.
Graphviz
Render Graphs online.
The ImageMap extension is not installed.
Code
<graphviz> digraph G {Hello->World!} </graphviz>
More examples: Graphviz extension Samples
Link: Extension:GraphViz
Lama
Multilanguage articles
Insert into your LocalSettingsExtra.php (at the end):
require_once ("extensions/Lama.php");
Combined with this extention one can use the extension LanguageSelector (see below) to allow users to choose the language
Developed by C&CZ
ImageMap
Insert into your LocalSettingsExtra.php (at the end):
require_once( "extensions/ImageMap/ImageMap.php" );
Link: Extension/ImageMap
LanguageSelector
Dropdown to select language
Insert into your LocalSettingsExtra.php (at the end):
require_once( "extensions/LanguageSelector.php" );
$wgLanguageSelectorLanguages = array('nl', 'en');
$wgLanguageSelectorLocation = LANGUAGE_SELECTOR_IN_TOOLBOX;
Link: Extension/LanguageSelector
Widgets
Widgets extension allows adding widgets to a wiki by just creating pages in Widget namespace.
Insert into your LocalSettingsExtra.php (at the end):
require_once( "extensions/Widgets/Widgets.php" );
User rights
This extension adds Widget namespace, but due to potential security implications that can result from using insecure widget code, this namespace is only editable by users who have editwidgets permission (widgeteditor group is also created to add users to, see Help:User rights management for more details).
To allow widgets to be editable by sysops, add the following to your 'LocalSettings.php' file:
$wgGroupPermissions'editwidgets' = true;
Function extensions
Extensions that are delivering more functions to the wiki.
Cite
Simple cite of quotes with references. link: Cite/Cite
Insert into your LocalSettingsExtra.php:
require_once( "extensions/Cite/Cite.php" );
Example
According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>
==Notes==
<references/>
According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]
Notes
ParserFunctions
Extension enhances parser with logical functions.
link: Extension:ParserFunctions
WikiArticleFeeds
Extension for converting regular wiki articles into RSS and Atom feeds
require_once( "extensions/WikiArticleFeeds.php" );
link: WikiArticleFeeds
DynamicArticleList
[Stelt de gebruiker in staat om de nieuwste of meest bekeken items op de site snel te vinden] [User could easily find the latest or most popular topics cross site with the help of Dynamic Article List]
Insert into your LocalSettingsExtra.php:
require_once( "extensions/DynamicArticleList.php");
link: DynamicArticleList
SemanticMediawiki
helps to search, organise, tag, browse, evaluate, and share the wiki's content. While traditional wikis contain only texts which computers can neither understand nor evaluate, SMW adds semantic annotations that bring the power of the Semantic Web to the wiki. Insert into your LocalSettingsExtra.php:
include_once("$IP/extensions/SemanticMediaWiki/includes/SMW_Settings.php");
enableSemantics('wiki.science.ru.nl');
link: Semantic_MediaWiki
SemanticResultFormats
Semantic Result Formats is an extension to Semantic MediaWiki, that bundles a number of further result formats for inline queries The individual formats can be added to the installation independently.
Insert into your LocalSettingsExtra.php:
require_once("$IP/extensions/SemanticResultFormats/SRF_Settings.php");
link: SemanticResultFormats
SemanticForms
Semantic Forms is an extension to Semantic MediaWiki, that allows users to add, edit and query data using forms.
Insert into your LocalSettingsExtra.php:
require_once("$IP/extensions/SemanticForms/includes/SF_Settings.php");
link: Semantic_Forms
User management
Extensions for management of the users on the wiki.
OpenID
The extension lets users log in with an OpenID (http://www.openid.net/) instead of a username and password. This system is also used for this wiki; every FNWI-student/-staff member can login without creating an account.
link: Extension:OpenID
PasswordReset
Reset passwords or disable users.
Insert into your LocalSettingsExtra.php:
$wgGroupPermissions ['sysop'] ['passwordreset'] = true;
require_once( "extensions/PasswordReset/PasswordReset.php" );
You will have two new Special Pages titled "Password Reset" and "Disabled users"
link: Extension:Password_Reset
Renameuser
Renameuser provides a special page which allows authorised users to rename user accounts. This will cause page histories, etc. to be updated.
Insert into your LocalSettingsExtra.php:
require_once( "extensions/Renameuser/SpecialRenameuser.php" );
link: Extension:Renameuser
ImportUsers
Import users from CVS. For this a new special page, Special:ImportUsers, will be available.
Format of the CVS:
<username>,<password>,<e-mail>,<real name>
For example:
user1,pass1,,User One user2,pass2,,User Two user3,pass3,,User Three
Insert into your LocalSettingsExtra.php:
require_once( "extensions/ImportUsers/SpecialImportUsers.php" );
link: Extension:ImportUsers
DeleteBatch
DeleteBatch extension adds a special page, Special:DeleteBatch, where users with the 'deletebatch' right can delete multiple pages easily. The user can delete pages either through the form or by uploading a text file containing the names (and optional delete reasons) of the deletable pages.
The syntax is simple:
- page name|Reason for delation
Insert into your LocalSettingsExtra.php:
require_once("extensions/DeleteBatch/DeleteBatch.php");
link: Extension:DeleteBatch
Uncategorized extensions
LatexDoc
latexmk
OpenWetWare:Toggle
link: Toggle items