Geïnstalleerde Mediawiki Extensies

From Cncz
Revision as of 10:52, 24 April 2008 by Remcoa (talk | contribs) (LanguageSelector)
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

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.

WikiArticleFeeds

Extension for converting regular wiki articles into RSS and Atom feeds

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

link: WikiArticleFeeds


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

Uncategorized extensions

LatexDoc

latexmk

OpenWetWare:Toggle

link: Toggle items

PdfExport

RawHTML.php

SecureLoginPage.php

SpecialNoCategoryContributions.php

WhoIsWatching