Erweiterung:AuthorInfo
Jump to navigation
Jump to search
Author Info Erscheinungsstatus: Beta |
|
---|---|
![]() |
|
Einbindung | Tag |
Beschreibung | Displays a list of authors that contributed to an article, sorted by number of edits. |
Autor(en) | ThomasKeldertalk |
MediaWiki | Tested on 1.12-1.13 (but could work on older versions) |
Lizenz | Apache License 2.0 |
Herunterladen | svn.bigcat.unimaas.nl |
Beispiel | Homo_sapiens:Sandbox |
Übersetze die AuthorInfo Erweiterung wenn sie auf translatewiki.net verfügbar ist | |
Prüfe die Benutzungs- und Versionsmatrix. |
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.
Verwendung
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:
- http://svn.bigcat.unimaas.nl/wikipathways/trunk/wpi/extensions/AuthorInfo/AuthorInfo.css
- http://svn.bigcat.unimaas.nl/wikipathways/trunk/wpi/extensions/AuthorInfo/AuthorInfo.js
- http://svn.bigcat.unimaas.nl/wikipathways/trunk/wpi/extensions/AuthorInfo/AuthorInfo.php
And place them in $IP/extensions/ExtensionName/ExtensionName.php
.
$IP steht für den Installationspfad (oder "Verzeichnis") deiner MediaWiki-Installation, dem selben Verzeichnis das die LocalSettings.php, index.php etc. beinhaltet.
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");
Hinweise
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";