Skip to content

Commit

Permalink
properties: added Mastodon address (wdt:P4033)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlath committed Nov 13, 2017
1 parent e134590 commit 05b48cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/controllers/entities/lib/properties.coffee
Expand Up @@ -149,6 +149,8 @@ properties =
'wdt:P2679': humanEntity
# author of afterword
'wdt:P2680': humanEntity
# Mastodon address
'wdt:P4033': externalId /^\w+@[a-z0-9\.\-]+[a-z0-9]+$/

whitelist = Object.keys properties

Expand Down
1 change: 1 addition & 0 deletions server/lib/wikidata/whitelisted_properties.coffee
Expand Up @@ -65,4 +65,5 @@ module.exports = [
'P2679' # author of foreword
'P2680' # author of afterword
'P2716' # collage image
'P4033' # Mastodon address
]

0 comments on commit 05b48cc

Please sign in to comment.