daniel created this task. daniel added subscribers: daniel, JanZerebecki. daniel added a project: Wikidata. Herald added subscribers: StudiesWorld, Aklapper.
TASK DESCRIPTION Currently, wikidata.org/entity/Q12345 triggers a 303 redirect to wikidata.org/wiki/Special:EntityData/Q12345, which then applies content negotiation and then triggers another 303 redirect to wikidata.org/wiki/Special:EntityData/Q12345.xyz (or to wikidata.org/wiki/Q12345 if appropriate). If wikidata.org/entity/Q12345 would use an internal rewrite to request wikidata.org/wiki/Special:EntityData/Q12345, only one 303 redirect would be sent to the client. That would better match what is proposed in <http://www.w3.org/TR/cooluris/#r303gendocument>. Current sequence (with T119532 fixed): ``` > wget -S https://www.wikidata.org/entity/Q36661 2>&1 | egrep '^ *HTTP|^ *Location' HTTP-Anforderung gesendet, warte auf Antwort... HTTP/1.1 303 See Other Location: https://www.wikidata.org/wiki/Special:EntityData/Q36661 HTTP-Anforderung gesendet, warte auf Antwort... HTTP/1.1 303 See Other Location: https://www.wikidata.org/wiki/Special:EntityData/Q36661.json HTTP-Anforderung gesendet, warte auf Antwort... HTTP/1.1 200 OK ``` Proposed sequence: ``` > wget -S https://www.wikidata.org/entity/Q36661 2>&1 | egrep '^ *HTTP|^ *Location' HTTP-Anforderung gesendet, warte auf Antwort... HTTP/1.1 303 See Other Location: https://www.wikidata.org/wiki/Special:EntityData/Q36661.json HTTP-Anforderung gesendet, warte auf Antwort... HTTP/1.1 200 OK ``` TASK DETAIL https://phabricator.wikimedia.org/T119536 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: JanZerebecki, Aklapper, StudiesWorld, daniel, Wikidata-bugs, aude, Mbch331 _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
