User:Miranche/BiblioTex

This page helps me document the work on the merger of extensions Biblio and BibTex.

Name
The working name of this extension, BiblioTeX, is a portmanteu of the names of two extensions it is based on. I like the name, but there is a shareware program that already uses it. Also, since I'm building up from Biblio & am fully backward compatible with it, this work can be seen as potentially leading to a new Biblio version.

Data Sources and Formats

 * Done
 * Extend PubMed requests to handle DOIs
 * Get rid of dependence on SOAP in favor of CGI requests
 * use SimpleXML to process Web query results rather than purpose-written XML parsers
 * Standardize representation of data retrieved by PubMed & ISBNdb.com requests, using data structures modeled on BibTeX
 * Parse author names correctly depending on data source, breaking them into first, last, "von" and "jr" parts as described in BibTeX documentation (Tame the BeaST)
 * Extend &lt;biblio&gt; tag parser to accept BibTeX entries (already largely implemented in the NMR version) and to recognize and handle plain BibTex syntax
 * Provide a way to look for and source BibTex databases from a location in the file system


 * In Progress
 * Clean up the way source file URLs are generated (see function makeUrl)


 * Planned
 * Get citations from other repositories, see Extension:Bibwiki for possibilities (Amazon, Arxiv etc)
 * Google Scholar bibtex compatibility ("hack to remove extra braces?")
 * Standardize the API of generating citations from external sources and/or files, provide a way for users to program in their own source types.
 * Output COinS: see http://ocoins.info/, Citation and Citation core templates in wp
 * If necessary, consider changing the underlying data structure from BibTeX-based to something more general, and/or provide support for less-than-standard BibTeX entry types. JabRef provides @electronic, @patent, @periodical and @standard.

Display of Citations

 * Done
 * Write a general bibliography entry renderer expecting a BibTeX-like data structure
 * Unify rendering for BibTex, PubMed and ISBN &lt;biblio&gt; entries
 * Support different citation styles: Chicago author-date & humanities, APA, AMA, MLA
 * Create a citation style ("biblio-2006") that replicates the existing Biblio citation display


 * In progress
 * Special characters seem to prevent BibTeX code popup.
 * Several citation styles are unfinished:
 * MLA, APA & AMA don't have @inbook, @techreport, @manual
 * Create a citation style ("wikipedia") that renders citations using Cite templates


 * Planned
 * Display in-text links in author-date format, sort bibliography by author name
 * Complete all standard cit types above
 * confirm the styles for @techreport
 * of the not-so-standard entry types, @periodical may be the most important
 * Generalize hypertext additions to textual citations as configurable output decorators
 * Handle bibtex attributes that can "decorate" the citation with links & popups, e.g. annot, abstract, ps, pdf, url
 * Expand citation styles to meta-styles which include
 * Citation style (how to generate text for a single citation)
 * Footnote style (how to integrate citations into the Wiki page: numeric vs author-date labels, sort order)
 * Decorators (which bells & whistles to add to citation text before, while & after it's created: links, headers & footers)
 * Create meta-styles that fully mimic existing &lt;biblio&gt; and &lt;bibtex&gt; output

MediaWiki Integration

 * Done
 * If Cite/Cite.php is present, provide an option to make Biblio inter-operable with it:
 * Handle &lt;cite&gt; tags as named &lt;ref&gt;s
 * Allow the &lt;biblio&gt; section to appear within &lt;references&gt;, or to double as &lt;references&gt;
 * Add BibTeX namespace, storing individual BibTeX citations
 * When starting a new page in the BibTeX namespace, preload it with the appropriate BibTeX code and a redirect/link to a putative annotation page
 * Create a citation style ("wikititle") that defines the default title style of the annotation page
 * Provide an option to display citation titles as links to pages in the BibTeX namespace. Similar to RefHelper but without automagically creating pages.


 * In Progress
 * Full integration with Cite numbered links
 * Handle &lt;nocite&gt; links correctly: extend Cite to allow for citations with no references in the text
 * In absence of Cite, still provide Cite-like anchors links between &lt;biblio&gt; citation list and text


 * Planned
 * Investigate whether to unify Cite and Biblio error display
 * Extend Cite class to create author-date in-text links for &lt;ref&gt;s that use appropriate citation templates
 * Investigate the use of "Harvard" citations in Wikipedia
 * Make Biblio & Bibtex CSS consistent with those used in MediaWiki, Extension:Cite and Template:Citation
 * Automatically recognize citation keys present in the BibTeX namespace, making it unnecessary to include citation data source info in the &lt;biblio&gt; tag
 * Provide option to integrate with the Cite namespace citations generated by RefHelper
 * Provide option to automagically generate BibTeX namespace pages
 * Where appropriate, use DOM, SimpleXml and/or MediaWiki Xml functions to generate XML content, rather than just strings

Compatibility

 * In progress
 * Use parse instead of recursiveTagParse prior to 1.8
 * Continually make sure original &lt;bibtex&gt; and &lt;biblio&gt; syntax work
 * &lt;biblio&gt;: sourcing URLs: wiki, interwiki & external
 * &lt;bibtex&gt;: in-text citation, help output, pasting bibtex templates into the edit window (esp. on Iexplore)


 * Planned
 * Test in other browsers, esp. IE7 and IE8
 * Try installing on Mac OS X & (maybe) Windows
 * Test in key older MediaWiki versions, starting with 1.5 or with the oldest version used by existing Biblio users

Security

 * In progress
 * Look for & eliminate possible opportunities for malicious HTML insertion

Links

 * Mediawiki


 * Extension:Biblio
 * Extension:Bibtex
 * Extension:Bibwiki
 * Extension:Cite/Cite.php
 * Extension:RefHelper


 * Authors and Users


 * http://openwetware.org/wiki/Wikiomics:Biblio
 * http://gsc2.cemif.univ-evry.fr/index.php/Mediawiki_extensions
 * http://nmrwiki.org/wiki/index.php?title=Help:Biblio_Extension
 * http://nmrwiki.org/wiki/index.php?title=Using_BibTex_in_NMRWiki
 * http://www.hodgeslab.org/2010/02/php_mediawiki_biblio_and_nusoa.html (test case on mac)
 * http://neurov.is/on/Help:Creating_citations
 * http://neurov.is/on/Cite:Gray_Atkinson_2003
 * http://neurov.is/w/index.php?title=Special:RefSearch
 * http://neurov.is/w/index.php?title=Special:RefHelper


 * BibTex


 * BibTeX entry types
 * http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-7.html
 * http://www.lsv.ens-cachan.fr/~markey/bibla.php
 * http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html
 * http://www.math.utah.edu/~beebe/bibliographies.html
 * http://ftp.math.utah.edu/pub//emacs/bibtex-mods.el


 * Citation Style Guides


 * http://www2.liu.edu/cwis/cwp/library/workshop/citation.htm
 * http://library.hsu.edu/Tutorial/
 * http://www.chicagomanualofstyle.org/tools_citationguide.html
 * http://www.umuc.edu/library/guides/chicago.shtml