Open main menu

lensowiki β

Changes

Help:ISBN links

1,017 bytes added, 06:13, 4 May 2006
m
sidebar clobbers ToC, get rid of it. Besides that page doesn't belong into the "editor handbook", it's admin or hacker stuff
{{H:h}}

For a book with ISBN e.g. 0131103628, [[Special:Booksources/0131103628]] gives the text of [[MediaWiki:Booksourcetext]] and links regarding the book according to the value of $wgBookstoreListEn in [[Language.php]], currently:
<pre>
/* private */ $wgBookstoreListEn = array(
"AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
"PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
"Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);
</pre>

== Alternative ==
Use a template like [[Template:ISBN]] allowing <nowiki>{{ISBN|193151447X}}</nowiki> to produce something like:

{{ISBN|193151447X}}

However, often a separate page would be desirable. This can be done, but requires a page like [[193151447X]] for every book. Those pages can call [[Template:Bk]], so that they only have to contain <nowiki>{{bk}}</nowiki>.

{{H:f|langs=|enname=ISBN links}}
[[category:books]]
Anonymous user