Hi, I am interested in implementing a web-article a la scientific journal paper extension or ... - not sure if extension mechanism can help here.
Just want to be able to write a page and insert bibtex reference id's and have mediawiki take care of numbering references and displaying bibliography at the bottom of the page plus maybe extra embellishments - like giving a way to copy citation and a url to the cited articles in a way that <bibtex> and <bibwiki> extensions do.
Example
wikitext: .... valuable experiments in the NMR arsenal <bibref>shr1971rrn, neu1989fr,mer1982pns</bibref> <bibliography/>
result
<p>.... valuable experiments in the NMR arsenal <span id="bibref" onmouseover="...">[1-3]</span></p>
<h2>References</h2> <ol> <li> J. H. Noggle and R. E. Schirmer, ‘‘The Nuclear Overhauser Effect,’’ Academic Press, New York, 1971. <li>D. Neuhaus and M. P. Williamson, ‘‘The Nuclear Overhauser Effect in Structural and Conformational Analysis,’’ Verlag Chemie, New York, 1989. <li>J. K. M. Sanders and J. D. Mersh, Prog. NMR Spectrosc. 15, 353– 400 (1982) . </ol>
when printed it should look like a real journal paper.
i would like to bypass a somewhat cumbersome way of having a separate page per citation and then adding links to those pages. other half-way solutions can be imagined: if numbering and list of ref's in the end were omitted, then simple extension mechanism should work provided there is a way to enter those citations that could be accessed by id - but then it won't look like what I want. I guess a combo hack extension+javascript(ordering the references correctly)+css might work.
- I wonder if there is a middleware-like mechanism in mediawiki that would allow to add al layer of data processing on input/output? is it possible to implement such a layer as an add-on without breaking the wiki code and allowing painless base-code upgrades? any advice how I can start?
I will appreciate any suggestions. Thank you.
Evgeny.
____________________________________________________________________________________ Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs
On 11/22/07, Evgeny Fadeev fadeev@rocketmail.com wrote:
Just want to be able to write a page and insert bibtex reference id's and have mediawiki take care of numbering references and displaying bibliography at the bottom of the page plus maybe extra embellishments - like giving a way to copy citation and a url to the cited articles in a way that <bibtex> and <bibwiki> extensions do.
I presume you're aware of the Cite.php extension?
Evgeny Fadeev wrote:
Hi, I am interested in implementing a web-article a la scientific journal paper extension or ... - not sure if extension mechanism can help here.
Just want to be able to write a page and insert bibtex reference id's and have mediawiki take care of numbering references and displaying bibliography at the bottom of the page plus maybe extra embellishments - like giving a way to copy citation and a url to the cited articles in a way that <bibtex> and <bibwiki> extensions do.
Example
wikitext: .... valuable experiments in the NMR arsenal <bibref>shr1971rrn, neu1989fr,mer1982pns</bibref>
<bibliography/>
when printed it should look like a real journal paper.
I have developed such an extension (not published yet), that I use for this purpose. I use bibtex references from a separate document in the same wiki as a source for references (so that they can be reused etc). it makes the list as you describe, and you get a bibliography at the end, and this look like a scientific paper, but the page as such look like a mediawiki page.
In addition to me, the ProcessCite (by Jim Hu) also does something similar, but does not use BibTex I think. Since I have spent more time actually using the system than preparing it for use by others, I have not released it yet, but this should be quite easy. Ideally the my project an processcite should have been merged, since they have somewhat complimentary features.
I will put it out as it is quite soon (as it is), since this seems like an extension many people want.
-Gisle
This topic came up here about a month ago. Basically it seems we need two extensions to the current CITE system to do just about all the different combinations:
1) a "page=" concept that would allow each ref to be customized without having to type in an entire ref each time.
2) an expansion of the "name=" (or alternately "link=") to allow the links at the bottom in the references section to be changed with custom names.
3) using (2) to hide the "main body" of the cites to allow them to be collected out of the body text
Consider...
wikitext: .... valuable experiments in the NMR arsenal<ref name= shr1971rrn link='shr' page=10/> and the ability to use them in new ways <ref name= shr1971rrn link='shr' page=15/>
==References== {{reflist}}
result:
<p>.... valuable experiments in the NMR arsenal[1] and the ability to use them in new ways[2]...
<h2>References</h2>
<b><sup>shr</sup></b>J. H. Noggle and R. E. Schirmer, ''The Nuclear Overhauser Effect,'' Academic Press, New York, 1971. <sup>1, pg 10</sup><sup>2, pg 15</sup>
Maury
wikitech-l@lists.wikimedia.org