From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description This extension will allow you to put Amazon Book Links in your MediaWiki.
Author(s)Template:Extension#username Roman Lehnert, Bradford Knowlton, David Raison, Jeroen De Dauw
Latest versionTemplate:Extension#version 0.2 (2010-9-8)
MediaWikiTemplate:Extension#mediawiki 1.6+
LicenseTemplate:Extension#license No license specified
Download Template:WikimediaDownload/svn
Hooks usedTemplate:Extension#hook

Translate the AmazonPartnerLink extension if it is available at translatewiki.net

Check usage and version matrix.

What can this extension do for you?[edit]

It provides MediaWiki with the possibility to create Amazon Partnernet links



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/


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:



  • <amazon>978-3817118076</amazon> or <amazon>3817118074</amazon>

Both of them will give a direct link to the book at Amazon, like ISBN: 3817118074. It does not matter if the ISBN number is given as ISBN-10, ISBN-13 or contains "-".

  • <amazon>3817118074 Regelungstechnik</amazon>

This also creates a direct link to the book at Amazon, but it also creates a description of the book is used as Linktext: Regelungstechnik

  • <amazon>Halliday Physik</amazon>

In case that you don't know the ISBN number of the book and are too lazy to look for it, you can simply put the name as the parameter. The Amazon link will point to the search-result for your given name. In our example: Halliday Physik