Smalyshev added a comment.

@jeroenDeDauw right now the ontology lives at docs/ontology.owl in Wikibase 
repo. We need to figure out two things:

1. How to expose it to the outside as an URL
2. How to make versions of it, so we could have ontology-1.0.owl, 
ontology-1.1.owl etc.

I think probably the best way to do it is this:

1. Put current ontology under http://wikiba.se/ontology/ontology-1.0.owl as 
static file (just copy it)
2. Make a 302 redirect from http://wikiba.se/ontology to 
http://wikiba.se/ontology/ontology-1.0.owl (important - not 301 since it will 
always point to the latest one)
3. Manually add new versions each time we change something in the ontology and 
move redirects.

This involves some manual work, and I'm not sure how to make redirects work in 
Sculpin, so if you have a better idea I'd be glad to hear.


TASK DETAIL
  https://phabricator.wikimedia.org/T112042

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: JeroenDeDauw, daniel, Bene, thiemowmde, JanZerebecki, Aklapper, Smalyshev, 
jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to