Permalink
Browse files

Add "edition" to the typeMapping (zotero#1355)

Add edition to be treated like a book. Example item that is an edition: https://www.wikidata.org/wiki/Q14944010
  • Loading branch information...
mvolz authored and adam3smith committed Jul 6, 2017
1 parent 29d60f9 commit f5b41c161f6f9da3f86456fda7fbc0e2b606a23a
Showing with 3 additions and 2 deletions.
  1. +3 −2 Wikidata.js
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-07-05 20:54:39"
"lastUpdated": "2017-07-06 12:03:00"
}
/*
@@ -43,6 +43,7 @@ var typeMapping = {
"Q686822" : "bill",
"Q17928402" : "blogPost",
"Q571" : "book",
"Q3331189" : "book", // Edition
"Q1980247" : "bookSection",
"Q2334719" : "case",
"Q40056" : "computerProgram",
@@ -623,4 +624,4 @@ var testCases = [
]
}
]
/** END TEST CASES **/
/** END TEST CASES **/

0 comments on commit f5b41c1

Please sign in to comment.