Page MenuHomePhabricator

Remove left-over alias for wikidata.org/ontology (doesn't work)
Closed, ResolvedPublic

Description

I noticed the following Apache config in production:

https://github.com/wikimedia/puppet/blob/7ac5f9a959924a6b51625b713e95c44ed7560ee8/modules/mediawiki/files/apache/sites/main.conf#L90

wikidata.org Apache config
Alias /wiki /srv/mediawiki/docroot/wikidata.org/w/index.php
Alias /ontology /srv/mediawiki/docroot/wikidata.org/w/extensions/Wikibase/docs/ontology.owl

This alias doesn't actually work because Wikibase isn't installed in production, instead it comes as part of Wikidata (extensions/Wikidata/extensions/Wikibase). This is presumably a left-over from an early beta from before that was changed.

404 Not Found
https://www.wikidata.org/ontology
https://www.wikidata.org/w/extensions/Wikibase/docs/ontology.owl

The correct url destination would be https://www.wikidata.org/w/extensions/Wikidata/extensions/Wikibase/docs/ontology.owl, however that doesn't work either because owl is not a whitelisted file-type.

Looking further it seems that most references to this concept in XML files actually use http://wikiba.se/ontology not wikidata.org, although there are a few references to http://www.wikidata.org/ontology on the web.

In fact, using Google, I find 1,800 references to wikiba.se/ontology, 4,000 references to www.wikidata.org/ontology, and over 12,000 references to wikidata.org/ontology.

  • Has the canonical url moved to wikiba.se?
  • Is this a left-over that should be removed?

See also:

Event Timeline

Based on T93207: Decide which domain to use for the wikibase ontology URI, I've changed this task to instead be a clean up task to remove the broken wikidata.org alias. It already doesn't work.

Krinkle renamed this task from Wikibase ontology url: wikiba.se or wikidata.org? to Remove left-over alias for wikidata.org/ontology (doesn't work).Jun 27 2017, 11:44 PM

Change 361801 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[operations/puppet@production] mediawiki: Remove broken wikidata.org/ontology Apache alias

https://gerrit.wikimedia.org/r/361801

thiemowmde triaged this task as Lowest priority.Jun 28 2017, 6:19 PM
thiemowmde moved this task from Proposed to Review on the Wikidata-Former-Sprint-Board board.

@thiemowmde do we have an https link to point to for this?

Even if, I wonder how this would help because the canonical URI is http://wikiba.se/ontology.

Change 361801 merged by Filippo Giunchedi:
[operations/puppet@production] mediawiki: Remove broken wikidata.org/ontology Apache alias

https://gerrit.wikimedia.org/r/361801

thiemowmde assigned this task to Krinkle.
thiemowmde removed a project: Patch-For-Review.