Extension:Bibliography

From MediaWiki.org

Jump to: navigation, search

       

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Bibliography

Release status: beta

Implementation  Parser extension
Description Bibliography-Management-System. Stores all bibliographic data on a seperate page, and displays only the book, articles, etc. metioned in a text (that can be on different pages).
Author(s)  Thomas Pfeiffer (tompfeifferTalk)
Last Version  0.1 (20th. January 2008)
License GPL
Download www.thomas-pfeiffer.de

check usage (experimental)

Contents

[edit] What can this extension do?

This extension offers an advanced bibliography management. On one page, you can store all your bibliographic data. On other pages, you can import these data and refers to it in your written text. At the end of this text, only the book, articles etc. are listed, that are mentioned in this specific text.

[edit] Usage

  1. Create an ordinary Page, that stores all your bibliograhic data and name this page Bibliography
    1. Insert all your bibliograhic data in the way described below
    2. At the end insert the tag <bibexport/>
  2. Write an article on a different page
    1. Import the bibliographic data by the tag <bibimport/> at the very beginning of the page
    2. Refer to entries in the bibliography by the tag <bib id="the_id_of_the_entry">Author (year)</bib>
    3. Write at the end of the article the tag <bibprint>. All mentioned entries will be displayed in alphabetical order.

[edit] Creating the bibliography entries

Create an ordinary Page, that stores all your bibliograhic data and name this page Bibliography.

Every single entry starts with <bibentry> and ends with </bibentry> and can consist of some of these informations:

<bibentry>
   id:<enter id, that clearly identifies this entry. If it's not given, it will be generated automatically>
   title: 
   author: 
   year:
   subtitle:
   city:
   publisher:
   inauthor: <Editor of a compedium>
   intitle: <Title of the compedium, e.g. for articles>
   insubtitle:
   pages: 
   edition:
   magazine:
   issue:
   type: <magazin or article, if missing, it will be generated automatically>
   mistake: <set this true, if some data are still missing>
</bibentry>

Write <bibexport/> at the end of the page, to make these data available to other pages.

[edit] Writing an article

  1. At the beginning of a specific page note <bibimport/> to make the bibliographic data available to this document.
  2. While writing the article, note <bib id='identifier'>Author's name</bib>, while "author's name" can be substituted by any other text.
  3. At the end of your text, note <bibprint/> to display the bibliographic data in alphabetical order.

[edit] Installation

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/bibliography/bibliography.php");

[edit] Configuration parameters

No configuration needed in LocalSettings.php.