For managing my literature sources for reference lists I use Zotero and I really like it. It is a plugin for Firefox and supports synchronizing the database and the attachments to an online server. The only thing that was missing was a way to cite my sources from inside my DokuWiki. I wanted to be able to add citations to my texts like I do in LaTeX.
For this reason I created a plugin for DokuWiki that allows me to cite sources from my online Zotero database by using the syntax known from LaTeX. The plugin reads my reference list from the Zotero website and caches it on a local wiki page. After that I can cite a source simply by adding \cite{ShortName}. Take a look at my wiki (e.g. Programming Hints) for some examples.
For this to work, every source needs to have a short name as I did not want the cite key to be the Zotero ID but rather a more meaningful name. Almost every Zotero entry type has the field “short name” assigned to it so I used that for this purpose.
Here is an example of the steps to perform to be able to cite a Zotero source:
- I add a new entry to my Zotero database, e.g. Robert Martin: Clean Code (2008) and assign the short name Martin2008 to it.

- I synchronize my Zotero database with the Zotero server (because the plugin reads the data from the Zotero website).
- I write some text in my wiki and add \cite[p.123]{Martin2008}.
- I preview or save the current wiki page and the plugin tries to find the cited reference in its local cache and displays it. If the entry is not already in the cache, it automatically loads my newest Zotero sources from the website, caches them, and displays the cited source afterwards.
For the initial import of all my Zotero entries I added a script that parses the complete reference list on the Zotero website.
Download
The plugin can be downloaded here: Download DokuWiki Zotero plugin or installed via the plugin manager.
Also see the DokuWiki Plugins page: zotero plugin.
Please see Install.txt for a short installation guide.

























