Page MenuHomePhabricator

Rename "country" to "namespace"
Open, LowestPublic

Description

When we started the monument database it was just country and language. Than difficult countries like Belgium, Sweden and Denmark came along. We used the country field to differentiate between different sources and types of monuments.

So now it's a namespace (https://en.wikipedia.org/wiki/Namespace). We should rename the field to this.

+------------+

country

+------------+

ad
am
aq
ar
at
az
be-bru
be-vlg
be-wal
bo
by
ca
ch
ch-old
cl
cm
cn
co
cz
de-by
de-he
de-nrw
de-nrw-bm
de-nrw-k
dk-bygning
dk-fortids
dz
ee
es
fr
gb-eng
gb-nir
gb-sct
gb-wls
gh
hk
hu
ie
il
in
it
it-88
it-bz
jo
jp-nhs
ke
lu
mt
mx
nl
nl-aw
nl-gem
nl-prov
no
np
pa
ph
pk
pl
pt
ro
rs
ru
se-bbr
se-fornmin
se-ship
sk
sv
th
tn
ua
us
us-ca
uy
ve
za

+------------+

The big query for monuments_all should be updated and the api


Version: unspecified
Severity: normal

Details

Reference
bz53809

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:53 AM
bzimport set Reference to bz53809.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper lowered the priority of this task from Low to Lowest.Dec 29 2014, 12:35 AM

Since we already use namepace (for Wikipedia namespaces) I would suggest label or dataset or dataset_label.

That sounds like a plan. We could keep country as a different field for smart queries (« all monuments from Germany »). I’m happy with all names suggested, no strong preference.