Extension:AmazonPartnerLink
| The author of this extension is no longer maintaining it! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
|
AmazonPartnerLink Release status: beta |
|||
|---|---|---|---|
| Implementation | Tag | ||
| Description | This extension will allow you to put Amazon Book Links in your MediaWiki. | ||
| Author(s) | Roman Lehnert, Bradford Knowlton, David Raison, Jeroen De Dauw | ||
| Last version | 0.2 (2010-9-8) | ||
| MediaWiki | 1.6+ | ||
| License | No license specified | ||
| Download |
SVN [?]:
|
||
|
|||
| Check usage and version matrix | |||
Contents |
What can this extension do for you? [edit]
It provides MediaWiki with the possibility to create Amazon Partnernet links
Setup [edit]
Download [edit]
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 [edit]
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:
include_once("$IP/extensions/AmazonPartnerLink/AmazonPartnerLink.php");
Usage [edit]
- <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
