Help:Adding Zotero citations
It is possible to add Zotero citations to documents in the wiki. Any cited reference MUST be available in a group library. By default, and unless you specify otherwise, items will be retrieved from the DFM library.
Adding citations in the visual editor
Inside the visual editor view (accessed by following the "Edit" or "Create" link to a page), you will see the option to cite Zotero items in the menu at the top:
The insert menu will ask for the 8-character item key. You can look this up in the web version of the library, although it is also possible to retrieve the key from the desktop client (see below). Here are the web search results for “Nyein and Mathew”, for example:
The Zotero item key (ID) is the part of the URL following the “items” part. So if the address bar shows this:
https://www.zotero.org/groups/2183860/dried_fish_matters/search/Nyein/titleCreatorYear/items/4SSP4CYN/item-list
the key is 4SSP4CYN
.
This can be copied into the citation box as follows:
And we get this:
Retrieving item IDs from the Zotero desktop client
It is possible to retrieve item IDs from the Zotero desktop client, although this requires some additional configuration of the client.
Step 1: Install translator
Save the following file as “Zotero Item ID.js
” to your Zotero “translators” directory. On Windows, this will be Users \ <your username> \ Zotero \ translators
.
https://driedfishmatters.org/wiki/Zotero_Item_ID.js?action=raw
Step 2: Configure Zotero
In the Zotero desktop client, go to Edit > Preferences then select the “Export” tab menu. Under “Default Format”, choose “Zotero item ID” from the drop-down menu.
You should now be able to copy the ID of any item in the library by selecting that item and pressing SHIFT
+ CTRL
+ C
.