Only in zotero-trunk/chrome/content/zotero: addCitationDialog.js.orig
Only in zotero-trunk/chrome/content/zotero: addCitationDialog.js.rej
diff -r -u zotero-trunk.orig/chrome/content/zotero/xpcom/csl.js zotero-trunk/chrome/content/zotero/xpcom/csl.js
|
old
|
new
|
|
| 70 | 70 | "recipient":true, |
| 71 | 71 | "interviewer":true, |
| 72 | 72 | "collection-editor":true, |
| 73 | | "author":true |
| | 73 | "author":true, |
| | 74 | "contributor":true, |
| | 75 | "container-author":true |
| 74 | 76 | } |
| 75 | 77 | |
| 76 | 78 | /* |
| … |
… |
|
| 1731 | 1733 | * Mappings for names |
| 1732 | 1734 | */ |
| 1733 | 1735 | Zotero.CSL.Item._zoteroNameMap = { |
| 1734 | | "collection-editor":"seriesEditor" |
| | 1736 | "collection-editor":"seriesEditor", |
| | 1737 | "container-author":"containerAuthor" |
| 1735 | 1738 | } |
| 1736 | 1739 | |
| 1737 | 1740 | /* |
| … |
… |
|
| 1796 | 1799 | "call-number":"callNumber", |
| 1797 | 1800 | "note":"extra", |
| 1798 | 1801 | "number":"number", |
| 1799 | | "references":"history" |
| | 1802 | "references":"history", |
| | 1803 | "issued":"date", |
| | 1804 | "accessed":"accessDate" |
| 1800 | 1805 | }, |
| 1801 | 1806 | "short":{ |
| 1802 | 1807 | "title":["shortTitle", "title"], |
| … |
… |
|
| 1899 | 1904 | "issue":"issue", |
| 1900 | 1905 | "number-of-volumes":"numberOfVolumes", |
| 1901 | 1906 | "edition":"edition", |
| 1902 | | "number":"number" |
| | 1907 | "number":"number", |
| | 1908 | "note":"extra", |
| | 1909 | "title":"title", |
| | 1910 | "container-title":"publicationTitle", |
| | 1911 | "issued":"date", |
| | 1912 | "page":"pages", |
| | 1913 | "locator":"locator", |
| | 1914 | "collection-number":"seriesNumber" |
| 1903 | 1915 | } |
| 1904 | 1916 | /* |
| 1905 | 1917 | * Gets a numeric object for a specific type. <number variable="edition" form="roman"/> |
| 1906 | 1918 | */ |
| 1907 | | Zotero.CSL.Item.prototype.getNumericVariable = function(variable, form) { |
| | 1919 | // citationItem argument to function gets access to locator field |
| | 1920 | Zotero.CSL.Item.prototype.getNumericVariable = function(variable, citationItem, form) { |
| 1908 | 1921 | |
| 1909 | 1922 | if(!Zotero.CSL.Item._zoteroNumberFieldMap[variable]) return ""; |
| 1910 | 1923 | |