https://bugzilla.wikimedia.org/show_bug.cgi?id=56307
Web browser: ---
Bug ID: 56307
Summary: Don't use 302 redirect to handle
wikidata.org/entity/Q12345
Product: Wikimedia
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Apache configuration
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, www.wikidata.org/entity/Q12345 will resolve to a 302 redirect to
www.wikidata.org/wiki/Special:EntityData/Q12345 (which will then trigger a 303
to a specific rendering, based on content negotiation).
Instead of the 302, either of the following should be done:
* Use an internal apache rewrite, with no HTTP redirect. This is the preferred
solution (but for some reason caused problems when first tried).
* Use a 303 ("see other") redirect instead of the 302. This is not quite as
nice, but should be simple and already greatly improve the situation.
Some background:
/entity/Q12345 is the Linked Data interface of Wikidata, it is used as the
canonical URI for a concept, which should forward to the URL of the description
of the concept. A 302 redirect is semantically wrong here, and some semantic
web / linked data tools complain about it.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l