Fix date and publisher for ja, books, use Cite news, disable ISSN

- fix publication date to year-only for books, journal articles
- suppress publisher for news, journal articles
- use P31 instance of, use Cite news for news articles
- disable displaying of ISSN
This commit is contained in:
Jonathan Harker 2026-09-13 16:29:08 +12:00
parent d0298adb5d
commit f32596a4f8
2 changed files with 69 additions and 6 deletions

View file

@ -71,6 +71,7 @@ local simple_properties_t = {
hdl = {id = "P1184", maxvals = 1}, -- take care of |hdl-access=?
ismn = {id = "P1208", maxvals = 1},
journal = {id = "P1433", maxvals = 1},
['instance-of'] = {id = "P31", qidonly=true, maxvals = 5}, -- transient, non-CS1
thesis_degree = {id = "P13338", maxvals = 1}, -- transient, non-CS1
thesis_submitted_to = {id = "P4101", maxvals = 1}, -- transient, non-CS1
retracted_by = {id = "P5824", qidonly=true, maxvals = 1}, -- transient, non-CS1
@ -82,7 +83,7 @@ local simple_properties_t = {
asin = {id = "P5749", maxvals = 1}, -- What about |asin-tld=? (WD examples resolve to .com at present, but may change)
['article-number'] = {id = "P2322", maxvals = 1, populate_from_journal = true},
isbn = {id = "P212", maxvals = 1, populate_from_journal = true}, -- ISBN 13
issn = {id = "P236", maxvals = 1, populate_from_journal = true}, -- distinguish from |eissn= for electronic issues?
-- issn = {id = "P236", maxvals = 1, populate_from_journal = true}, -- distinguish from |eissn= for electronic issues?
-- jfm = {id = "P?", maxvals = 1}, -- Jahrbuch über die Fortschritte der Mathematik (not Zbl)
-- sbn = {id = "P?", maxvals = 1}, -- Standard Book Number (predecessor of ISBN, not ICCU)
-- message-id = {id = "P?", maxvals = 1}, -- Usenet message ID
@ -120,4 +121,4 @@ local simple_properties_t = {
return {
i18n_t = i18n_t,
simple_properties_t = simple_properties_t,
}
}