Difference between revisions of "Help:ISBN links"
m (1 revision: Updating our Help Pages) |
|||
Line 27: | Line 27: | ||
{{H:f|langs=|enname=ISBN links}} | {{H:f|langs=|enname=ISBN links}} | ||
− | + | ||
[[Category:Editor handbook]] | [[Category:Editor handbook]] |
Latest revision as of 00:51, 26 July 2019
MediaWiki Handbook: Contents, Readers, Editors, Moderators, System admins +/- |
For a book with ISBN e.g. 0131103628, the simple wikitext "ISBN 0131103628" gives ISBN 0131103628, with the same target as Special:Booksources/0131103628: the text of MediaWiki:Booksources-text and links regarding the book according to the contents of the page "Book sources" in the project namespace (ns4, here: Meta), where each occurrence of MAGICNUMBER is replaced with the ISBN.
If there is no such "Book sources" page, a default page is displayed. It uses the settings $wgBookstoreListEn in Language.php, currently:
/* private */ $wgBookstoreListEn = array( "Amazon.com" => "http://astore.amazon.com/amazon-books-20/detail/$1" "Amazon.de" => "http://astore.amazon.de/www.amazon.de-21/detail/$1" "Amazon.fr" => "http://astore.amazon.fr/www.amazon.fr-21/detail/$1" "Amazon.co.uk" => "http://astore.amazon.co.uk/www-amazon-co-uk-21/detail/$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://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", );
The name of the book sources page can be changed by editing MediaWiki:Booksources[dead link], but the name space cannot.
Alternative
Use a template like Template:ISBN allowing {{ISBN|193151447X}} to produce something like:
ISBN 193151447X
- Find this book on Amazon.com
- Find this book at Amazon.fr
- Find this book at Amazon.de
- Find this book at Amazon.co.uk
- Find this book on Barnes & Noble
- Find this book on BooksPrice
- Find this book on SpotCost
- Find this book on The Book Exchange Network
- Find this book at the Library of Congress
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 {{bk}}.
Links to other help pages
- Help contents
- Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · mw: · b: · s: · mw:Manual · Google
- Versions of this help page (for other languages see further)
- Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary
- What links here on Meta or from Meta · Wikipedia · MediaWiki
- Reading
- Go · Search · Stop words · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
- Tracking changes
- Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
- Logging in and preferences
- Logging in · Preferences · User style
- Editing
- Starting a new page · Advanced editing · Editing FAQ · Edit toolbar · Export · Import · Shortcuts · Edit conflict · Page size
- Referencing
- Links · URLs · Piped links · Interwiki linking · Footnotes
- Style and formatting
- Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · List · Table · Sorting · Colors · Images and file uploads
- Fixing mistakes
- Show preview · Testing · Reverting edits
- Advanced functioning
- Expansion · Template · Advanced templates · Parser function · Parameter default · Variable · System message · Substitution · Array · Calculation · Embed page
- Others
- Special characters · Renaming (moving) a page · Talk page · Signatures · Sandbox · Legal issues for editors