Adding custom fields for export to Mediawiki format
Hi there,
Is it possible to add custom fields for export to wikipedia {{cite}} formats? Right now, I have to keep this information in the 'Extra' field and paste it in manually, on top of all the other corrections that must be done when exporting.
Thanks,
Is it possible to add custom fields for export to wikipedia {{cite}} formats? Right now, I have to keep this information in the 'Extra' field and paste it in manually, on top of all the other corrections that must be done when exporting.
Thanks,
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Specifically, I'm thinking of the ref, first1, first2.. last1, last2.., editor1-first.. editor1-last..., their accompanying authorlink and editorlink, oclc fields. Also, when exporting books and other non-web entities, the url field has to be manually reinserted.
Is there some documentation on how to modify the templates?
Translator documentation is at http://www.zotero.org/support/dev/creating_translators_for_sites and the links from there, but most of it is for site translators. You'll want to look at the current translator, "Wikipedia Citation Templates.js" in the translators directory of your Zotero data directory. Also see the MODS and RIS translators, which implement both import and export.
Good luck! If you run into trouble, please post on the development mailing list, zotero-dev and we'll get things straightened out.