How-many-cups-are-in-5-pints How-many-cups-are-in-3-pints Carne-para-asar Las-temperaturas-del-horno Los-tiempos-de-coccion-y-temperatues.html Cordero-asado-(bien-cocinado).html Los-tiempos-de-coccion-y-temperatues.html Venado asado (bien cocinado).html What-is-25-percent-of-74210-with-working-out.html What-is-39-percent-of-82767-with-working-out.html What-is-34-percent-of-17.47-with-working-out.html what-is-1225-grams-into-stones-pounds-and-ounces.html what-is-3086-grams-into-stones-pounds-and-ounces.html what-is-1888-grams-into-stones-pounds-and-ounces.html what-is-44.7504-grams-in-pounds-and-ounces.html what-is-212.865-grams-in-pounds-and-ounces.html what-is-384.38-grams-in-pounds-and-ounces.html
Select a print friendly page Printable page  
 

ISBN - Internal code

From Cookipedia
Jump to: navigation, search

ISBN Wiki Internals

How to set MediaWiki ISBN lookup so Amazon UK and others are included.

Some Useful information

Default install does not have UK locale lookups for internal MediaWiki ISBN function.

php array $bookstoreList contains ISBN lookup.

Array (for UK) is held in: /wiki/languages/messages/MessagesEn.php

Modified version for UK (Tested 2012) is:

/**
* Default list of book sources
*/
$bookstoreList = array(
       'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1',
       'Amazon.co.uk' => 'http://www.amazon.co.uk/exec/obidos/ISBN=$1',
       '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://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1'
);
Personal tools
Namespaces

Variants
Actions