Extension:AuthorInfo

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:AuthorInfo and the translation is 35% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
Manuel des extensions MediaWiki
Crystal Clear action run.svg
Author Info
État de la version : beta
px
Implémentation Tag
Description Displays a list of authors that contributed to an article, sorted by number of edits.
Auteur(s) ThomasKeldertalk
MediaWiki Tested on 1.12-1.13 (but could work on older versions)
Licence Apache License 2.0
Téléchargement svn.bigcat.unimaas.nl
Exemple Homo_sapiens:Sandbox
Traduisez l’extension AuthorInfo sur translatewiki.net
Vérifiez la matrice des utilisations et des versions.

The AuthorInfo extension displays a list of users that contributed to an article. The list is sorted by number of edits and you can optionally set maximum number of users to display.

This extension was built for the WikiPathways project. You can find an example here.

Utilisation

Add this text to the page where you want to show the list of authors for:

<AuthorInfo limit="4"></AuthorInfo>

Download instructions

Download the following files:

And place them in $IP/extensions/ExtensionName/ExtensionName.php.

$IP désigne le répertoire d'installation (or "chemin" path en anglais) de votre installation MédiaWiki, le répertoire qui contient LocalSettings.php, index.php etc..

Installation

To install this extension, add the following to LocalSettings.php :

#add configuration parameters here
#setup user rights here
require_once("$IP/extensions/AuthorInfo/AuthorInfo.php");

Notes

There appears to be a typo in AuthorInfo.php which causes the incorrect path to be created for the javascript and therefore fails:

Line 6:

$wfAuthorInfoPath = WPI_URL . "/extensions/AuthorInfo";

Should be:

$wfAuthorInfoPath = $WPI_URL . "/extensions/AuthorInfo";

Voir aussi