fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add audience and thema data to catalogue. Also: nicer cover view.
[redakcja.git]
/
src
/
catalogue
/
constants.py
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
f8180f7
..
1faee93
100644
(file)
--- a/
src/catalogue/constants.py
+++ b/
src/catalogue/constants.py
@@
-1,7
+1,17
@@
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
class WIKIDATA:
class WIKIDATA:
+ IMAGE = 'P18'
+ PLACE_OF_BIRTH = 'P19'
+ PLACE_OF_DEATH = 'P20'
+ GENDER = "P21"
AUTHOR = "P50"
AUTHOR = "P50"
+ CREATOR = "P170"
LANGUAGE = "P407"
LANGUAGE = "P407"
+ DATE_OF_BIRTH = "P569"
DATE_OF_DEATH = "P570"
DATE_OF_DEATH = "P570"
+ PUBLICATION_DATE = "P577"
LAST_NAME = "P734"
GIVEN_NAME = "P735"
TRANSLATOR = "P655"
LAST_NAME = "P734"
GIVEN_NAME = "P735"
TRANSLATOR = "P655"