Page MenuHomePhabricator

Make SKOS-like magic words for redirects
Open, Needs TriagePublic

Description

It should be possible to add SKOS-like magic words to redirects, like __NARROWER__ and __RELATED__, and those magic words should show up as a message on the target page when a redirect is traversed. The message should be human readable, but in addition there should be a machine readable entry. This should have inverted semantics, as it points in opposite direction.

Other SKOS entries could be used, like __ALTLABEL__. This could although be difficult, as it is not quite clear whether the redirect itself is the subject or object in the relation. I believe it is the subject and the target page is the object, thus an __ALTLABEL__ will never be used on the redirect itself.

During unwinding of redirects for Wikibase repo only __SAME__ should be unwound, or redirect without SKOS entries.