Difference between revisions of "Geïnstalleerde Mediawiki Extensies"

From Cncz
Jump to: navigation, search
m (OpenID)
 
(17 intermediate revisions by 3 users not shown)
Line 39: Line 39:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
=== Calendar ===
 +
 +
link: [http://www.mediawiki.org/wiki/User:Hex2bit/Calendar Calendar]
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php:
 +
<source lang="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;
 +
</source>
  
  
Line 64: Line 82:
 
</source>
 
</source>
 
link: [http://www.mediawiki.org/wiki/Extension:Flash Extension:Flash]
 
link: [http://www.mediawiki.org/wiki/Extension:Flash Extension:Flash]
 +
 +
 +
=== AWC Forum ===
 +
 +
[Een Forum in je wiki][A Forum inside your wiki]
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php ([aan het eind][at the end]):
 +
<source lang="php">
 +
require_once ("extensions/awc/forums/awc_forum.php");
 +
</source>
 +
link: [http://www.mediawiki.org/wiki/Extension:AWC's_Forum Extension:AWC's Forum]
 +
  
 
=== Collapsible tables ===
 
=== Collapsible tables ===
Line 70: Line 100:
  
 
=== FCKeditor ===
 
=== FCKeditor ===
A [http://en.wikipedia.org/wiki/WYSIWYG '''Y'''ou '''S'''ee '''I'''s '''W'''hat '''Y'''ou '''G'''et] for the wikitext.
+
A [http://en.wikipedia.org/wiki/WYSIWYG '''W'''hat '''Y'''ou '''S'''ee '''I'''s '''W'''hat '''Y'''ou '''G'''et] editor for the wikitext.
  
 +
require_once("extensions/FCKeditor/FCKeditor.php");
  
 
=== Graphviz ===
 
=== Graphviz ===
Line 105: Line 136:
 
to allow users to choose the language</en>
 
to allow users to choose the language</en>
  
[Ontwikkeld door][Developped by] C&CZ
+
[Ontwikkeld door][Developed by] C&CZ
  
 
=== ImageMap ===
 
=== ImageMap ===
Line 127: Line 158:
  
 
Link: [http://www.mediawiki.org/wiki/Extension:LanguageSelector Extension/LanguageSelector]
 
Link: [http://www.mediawiki.org/wiki/Extension:LanguageSelector Extension/LanguageSelector]
 +
 +
=== Widgets ===
 +
[Wigets extensie maakt het eenvoudig widgets aan je wiki toe te voegen door het maken van een pagina in Widget Namespace][Widgets extension allows adding widgets to a wiki by just creating pages in Widget namespace.] [Een mooi voorbeeld is het gebruik van ][A good example is the use of ] Google Calendar in
 +
[je][your] wiki. [Zie][See]  [http://www.mediawikiwidgets.org/Google_Calendar Google Calendar]
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php ([aan het eind][at the end]):
 +
<source lang="php">
 +
require_once( "extensions/Widgets/Widgets.php" );
 +
</source>
 +
[nl]
 +
Gebruikersrechten
 +
 +
Deze extensie voegt de Widget namespace toe, om veiligheidsredenen is deze namespace alleen schrijfbaar voor gebruikers die
 +
editwidgets permissie hebben. Om sysops het recht te geven om widgets te veranderen voeg de volgende regel toe aan je LocalSettingsExtra.php bestand:
 +
[/nl]
 +
[en]
 +
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:
 +
[/en]
 +
 +
<source lang="php">
 +
$wgGroupPermissions ['sysop'] ['editwidgets'] = true;
 +
</source>
 +
 +
Link: [http://www.mediawiki.org/wiki/Extension:Widget Extension:Widget]
  
 
== Function extensions==
 
== Function extensions==
Line 182: Line 241:
  
 
link: [http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List DynamicArticleList]
 
link: [http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List DynamicArticleList]
 +
 +
=== SemanticMediawiki ===
 +
 +
[nl]helpt bij het zoeken, organiseren, labelen, evalueren en delen van een wiki's inhoud. Waar traditionele wikis alleen teksten bevatten die computers niet kunnen begrijpen noch evalueren, voegt SMW semantische annotaties toe waarmee de wiki beter ontsloten kan worden.[/nl]
 +
[en]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.[/en]
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php:
 +
<source lang="php">
 +
include_once("$IP/extensions/SemanticMediaWiki/includes/SMW_Settings.php");
 +
enableSemantics('wiki.science.ru.nl');
 +
</source>
 +
 +
link: [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic_MediaWiki]
 +
 +
=== SemanticResultFormats ===
 +
 +
Semantic Result Formats is [een uitbreiding van][an extension to] Semantic MediaWiki, [het is een verzameling van extra resultaat formaten voor][that bundles a number of further result formats for] inline queries
 +
[De formaten kunnen individueel worden toegevoegd][The individual formats can be added to the installation independently.]
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php:
 +
<source lang="php">
 +
require_once("$IP/extensions/SemanticResultFormats/SRF_Settings.php");
 +
</source>
 +
 +
link: [http://semantic-mediawiki.org/wiki/SRF SemanticResultFormats]
 +
 +
=== SemanticForms ===
 +
 +
Semantic Forms is [een uitbreiding van][an extension to] Semantic MediaWiki,
 +
[nl]die gebruikers in staat stelt om data toe te voegen, te bewerken of te bevragen gebruikmakend van formulieren[/nl]
 +
[en]that allows users to add, edit and query data using forms.[/en]
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php:
 +
<source lang="php">
 +
require_once("$IP/extensions/SemanticForms/includes/SF_Settings.php");
 +
</source>
 +
 +
link: [http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic_Forms]
  
 
== [Gebruiker][User] management ==
 
== [Gebruiker][User] management ==
Line 187: Line 283:
  
 
=== OpenID ===
 
=== OpenID ===
[Deze extensie laat gebruikers inloggen via het OpenID systeem in plaats van een gebruikersnaam en wachtwoord. Dit systeem wordt ook gebruikt voor ''deze''' wiki; iedere FNWI-student/-medewerker kan hier inloggen zonder eerste een account aan te maken.][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.]
+
[Deze extensie laat gebruikers inloggen via het OpenID systeem in plaats van een gebruikersnaam en wachtwoord. Dit systeem wordt ook gebruikt voor ''deze''' wiki; iedere Science-student/-medewerker kan hier inloggen zonder eerste een account aan te maken.][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 Science-student/-staff member can login without creating an account.]
  
 
link: [http://www.mediawiki.org/wiki/Extension:OpenID Extension:OpenID]
 
link: [http://www.mediawiki.org/wiki/Extension:OpenID Extension:OpenID]
Line 203: Line 299:
  
 
link: [http://www.mediawiki.org/wiki/Extension:Password_Reset Extension:Password_Reset]
 
link: [http://www.mediawiki.org/wiki/Extension:Password_Reset Extension:Password_Reset]
 +
 +
 +
=== LookupUser ===
 +
 +
[Neem op in je][Insert into your] LocalSettingsExtra.php:
 +
<source lang="php">
 +
require_once("$IP/extensions/LookupUser/LookupUser.php")
 +
$wgGroupPermissions ['*'] ['lookupuser']  = false;
 +
$wgGroupPermissions ['sysop'] ['lookupuser']  = true;
 +
</source>
  
 
=== Renameuser ===
 
=== Renameuser ===
Line 244: Line 350:
  
 
[De syntax is eenvoudig:][The syntax is simple:]
 
[De syntax is eenvoudig:][The syntax is simple:]
<nl>   * pagina naam|Reden voor verwijdering</nl>
+
 
<en>   * page name|Reason for delation</en>
+
*<nl>     pagina naam|Reden voor verwijdering</nl><en>     page name|Reason for delation</en>
  
 
[http://www.mediawiki.org/wiki/Extension:DeleteBatch More info]
 
[http://www.mediawiki.org/wiki/Extension:DeleteBatch More info]

Latest revision as of 12:29, 18 November 2014

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.

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

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. A good example is the use of Google Calendar in your wiki. See Google Calendar

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 ['sysop'] ['editwidgets'] = true;

Link: Extension:Widget

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

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 Science-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


LookupUser

Insert into your LocalSettingsExtra.php:

require_once("$IP/extensions/LookupUser/LookupUser.php")
$wgGroupPermissions ['*'] ['lookupuser']   = false;
$wgGroupPermissions ['sysop'] ['lookupuser']   = true;

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