Extension:AmazonPartnerLink

What can this extension do for you?
It provides mediawiki with the possibility to create Amazon-Partnernet-Links for you.

Download
You can download the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/AmazonPartnerLink/. From a command line, you can call the following:

svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/AmazonPartnerLink/

Installation
Place the AmazonPartnerLink directory within the main MediaWiki 'extensions' directory. Then, in the file LocalSettings.php in the main MediaWiki directory, add the following line:

Usage
Both of them will give a direct link to the book at amazon. Like ISBN: 3817118074. No Matter if the ISBN-Number is given as ISBN-10, ISBN-13 or contains "-".
 * 978-3817118076 or 3817118074

Will also create a direct link to the book at amazon. But here not only the ISBN, but also a description of the book is used as Linktext: Regelungstechnik
 * 3817118074 Regelungstechnik

In case that you don't know the isbn of the book and are to lazy to look for it, you can simply put the name as Parameter. The amazon-link will point to the search-result for your given Name. In our example: Halliday Physik
 * Halliday Physik

Example
On this Page of tubs-wiki.de you can see the different Links in the Last Chapter.