MediaWiki扩展:文献引用之Biblio
天下维客,你可以修改的网络知识库
本文取自元维基,欢迎共同翻译、整理与大家共享,促进中文wiki发展^_^
| Template:If | |
| Type: | Parser extension / remote service integration |
|---|---|
| Maturity: | Beta |
| MediaWiki: | 1.5, 1.6 |
| Version: | 0.7.4 |
| Last Update: | 2006-05-09 |
| Description: | Extended markup for formatting of citations, and automated retrieval of citations from external sources. |
| MediaWiki extensions | |
This is the wiki page about Biblio.php, an extension of Mediawiki which provides a citation manager. This extension can be downloaded from its home page and contains authoritative information about the project.
目录 |
How to use it
See this page where a simple illustration is given. If you are not convinced of its usefulness, see also this real example.
New tags: syntax
This is a semi-detailed reference for experts. Follow the links above if you just want to see what the extension provides.
<biblio>usually comes at the end of a page or a section, and after the corresponding citations. Several
<biblio>sections are allowed although it is not common practice. A
<biblio>...
<biblio>section encloses a list of bibliographic references that have the following form:
#KEY TEXT [ANNOT]
where KEY is a case-sensitive combination of characters starting with an alphabetic character and continues with any sequence that can contain alphanumeric characters, "_", "-" and "+".
ANNOT is optional (and supported from version 0.7.1). If present, it must start with[:space:]//(space, tab or newline followed by "//"). Everything that follows will be displayed as an annotation of the bibliographic record.
TEXT can have several forms. In the current implementation, it is either raw wikitext, a PMID specification or an ISBN specification. The recommended format for a raw reference is:
Authors. ''Title''. Source.
which is rendered roughly as:
- Authors. Title. Source.
A PMID specification has the following form:
pmid=VALUE
where VALUE is the actual numerical value of the PMID which is an 8-digit number for recent publications.
An ISBN specification has a similar form:
isbn=VALUE
where VALUE is the actual value of the ISBN, with or without hyphens. This feature has been introduced in Biblio.php version 0.7.0.
<cite>is used to add a link to the reference in the
<biblio>section. It simply contains a list of keys that will be automatically replaced by a number which matches the order in which they are cited.
Technical features
It supports referencing by PMIDs, which are the unique identifiers which are used by the Medline database of biomedical literature. The cool thing is that you only give the PMID and the corresponding citation is downloaded from the PubMed web service. Suggestions concerning interfaces to similar services in other academic fields are welcome. ISBNs are now supported as well in version 0.7.0 or above: see comment in HTML source of biblio sections if you want to know the version that is installed in a given wiki.
References are sorted in the order of appearance, which allows us to implement this as an in-place text substitution in one pass. It means that if a reference is cited, it must appear at least once before the list of references that contains it. For the same reason, references are sorted in the order of the first citations. Numbering them in alphabetic order does not seem to be possible without patching Mediawiki. So we will stay in the current situation, which is fine anyway, and does not depend on any particular version of Mediawiki. toto
Users
This is a list of public wikis which use the Biblio extension, in alphabetic order:
- BioPerl wiki (science, bioinformatics, Perl programming language)
- DDMWiki (computer science, distributed data mining)
- Open Bioinformatics Foundation wiki (science, bioinformatics)
- OpenWetWare (science, biology)
- OrthodoxWiki (religion, orthodox christianity)
- Pathology Wisdom (medicine, pathology)
- Wikiomics (science, bioinformatics)
See also
原文参见: Biblio on MediaWiki


