Geïnstalleerde Mediawiki Extensies

From Cncz
Revision as of 13:10, 26 January 2009 by Polman (talk | contribs)
Jump to: navigation, search

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>


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

Collapsible tables

link: Wikipedia:Collapsible_tables

FCKeditor

A You See Is What You Get 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

Developped 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

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

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.

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

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

More info

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

More info

Insert into your LocalSettingsExtra.php:

 require_once("extensions/DeleteBatch/DeleteBatch.php");

link: Extension:DeleteBatch


Uncategorized extensions

LatexDoc

latexmk

OpenWetWare:Toggle

link: Toggle items

PdfExport

RawHTML.php

SecureLoginPage.php

SpecialNoCategoryContributions.php

WhoIsWatching