Extension:Bibtex

The Bibtex extension is designed to parse bibtex sources and display them in web pages using the mediawiki engine. The bibtex code is placed inside  ...  markup tags.

Features
Amongst the embedded features there are :
 * ACM-like popup to display the bibtex sources,
 * Emacs-like mechanism to give the type of entries and the list of fields to fill in for each entry type,
 * The possibility to link each reference with a pdf or postscript file uploaded in the wiki itself,
 * Two versions, one working with restrict extension, allowing several levels of visualization ie reference can be viewable, whereas pdf or postscript file are restricted and not viewable for anonymous visitors.

Installation
require_once ( 'extensions/Bibtex/bibtex.php' ); See the website for further information on installing, customising and using the BibTex extension.
 * Copy the downloaded files to a subfolder in your extensions folder, for instance one called "Bibtex"
 * If "Bibtex" is the name of your subfolder, add the following line to localsettings.php:
 * 1) BibTex

Troubleshooting
For Mediawiki version 1.11 or greater, you will need to edit the function bibtexHook (defined in bibtex.php) to return true. function bibtexHook( &$parser, &$text, &$strip ) {    global $bibtexArray; global $wbib_medianamespace; if ( count($bibtexArray) > 0 ) {         $links = ' '; // The trick is invisible foreach( $bibtexArray as $name) { $links .= .$wbib_medianamespace.$name.; }         $links .= " \n"; $text .= $links; }    return true; } For Mediawiki version 1.15 or greater (maybe even earlier versions), you should additionally remove (or edit out) the comment  in bibtex.php, line 7 to avoid warnings.

License
There isn't really any license associated to it.

Feel free to use it as you wish. This code can be shared without any restrictions. Be aware that, in GPL-like terms, this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Jydidier

Sites Using this Extension
Extension author's publications

nmrwiki.org uses merged bibtex with biblio extensions. Here is an example

ns-3 project