Extension talk:Bibliography

From mediawiki.org
Latest comment: 13 years ago by Hjschwarz in topic Modification to this extension

Please show a sample.

Modification to this extension[edit]

Hi, I found this extension extremely useful THIS IS A TEST and it fitted my needs more than the other bib-something extension. However i did several modification, which suited me more. The main modification I made are the following:

  • Small bug fix, where on specific versions of php or/and mediawiki the data were not written in Bibliography_data.php. Thanks Marc!
  • <bid id='Someone 98' /> will display the [Someone 98]
  • Whenever a reference is not found, a menu is available for the creation of the new citation in the Bibliography page. It is template based, user configurable through the bibtex_fields.php file.
  • I changed the way you entered information in <bibentry> ... </bibentry> and made in bibtex based, so one can copy-paste directly information over the internet.
  • The Bibliography page is now section based, so
    • it can be directly accessed from the paper pages,
    • one by pressing the edit button, could easily see and copy the entire bibtex entry
    • more information to fit
  • One can now create a simple BibliographyPrint page with only the tags <bibimport/> <bibprint /> and have the old paper-like functionality back! (The entries there are sorted case-insensitive by id)
  • One can also sort/search the bibliography entries, by using <bibprint>Author1</bibprint> or <bibprint year='2006' highlight='no'>Author1 Author2 </bibprint>
  • Work best for mediawiki >1.10, but main functionality also works with earlier versions
  • Example page http://shmmy.ntua.gr/wiki/index.php/PaperTest

Within the archive there is .doc file explaining in detail the functionality of the extension. If you like and find this modification useful you can include it in your package and of course i am open to discussion for changing or adding new features. Thanks again for this extension and for giving me the start point to develop something further. The modified extension is located in http://lib.ece.ntua.gr/~nikos/bibliography.tar.gz NikosFrangakis 21:27, 2 May 2008 (UTC)Reply[reply]

Hi, I am using this modification also, on my genealogy site. Many, many of my references are to unpublished letters and other documents (wills, etc). I would like to add a couple of fields to the unpublished type, i.e., location and comments. How would I go about this. I added to the fields file, but, of course, there is no PHP to back it up. If you could make a list of the various locations needed to add fields or even types, I would appreciate it. Susan 13:54, 19 May 2008 (UTC)Reply[reply]
The following solution applies only to the modified extension from above and NOT the original version! You can edit the bibtex_fields.php file. And for example you can add the following at the end: $bibtex_fields["will"][]="author"; $bibtex_fields["will"][]="title"; $bibtex_fields["will"][]="year"; This way, when you have a new reference, you will have the option to add it as a "will" with the above entries. Have a look a the bibtex_fields.php file. It has some comments that might help you. NikosFrangakis 11:42, 21 May 2008 (UTC)Reply[reply]
Thanks. I had looked at all the files, and fiddled with the bibtex_fields.php file, but evidently didn't quite "get it". My site, by the way, is http://www.gausschildren.org/genwiki Susan 17:57, 23 May 2008 (UTC)Reply[reply]
Hi, have a look at the http://lib.ece.ntua.gr/~nikos/bibtex_fields.php.txt file. I included only some basic options like will and misc, which probably fits you better. I also added some comments. I would suggest if you need further help, contact me by email, so we dont clutter this discussion page. NikosFrangakis 08:42, 26 May 2008 (UTC)Reply[reply]

This extension works great! Exactly what I needed. RHEL 5 / MW 1.12

I use this extensions and It works great. But I see some performance problems if I have some hundrets of references. Did You have a solution for that? Is it possible to split on viewing or editing the References-page in e.g 50 refenerence packages, so solve it? Please comment on my discussion page HJSchwarz 11:53, 12 January 2010 (UTC)Reply[reply]