Hello all,
in preparation of next week's deployment to Wikidata.org, test.wikidata.orgnow has the new datatype URL deployed.
If you have the time, we would appreciate if you tested it and let us know about errors and problems.
The URL datatype should be a big step in allowing to introduce better sourcing and reliability of the content of Wikidata.
Cheers, Denny
It is apparently not possible to enter a URL with spaces and have it automatically escaped, e.g.,
http://en.wikipedia.org/wiki/Technical University of Denmark
should be entered as:
http://en.wikipedia.org/wiki/Technical%20University%20of%20Denmark
On the other hand http://en.wikipedia.org/wiki/K%C3%B8benhavn works ok for http://en.wikipedia.org/wiki/K%C3%B8benhavn
Also http://k%C3%B8benhavn.dk works.
see https://test.wikidata.org/wiki/Q132 and https://test.wikidata.org/wiki/Q133
cheers Finn Årup Nielsen
On 09/06/2013 12:10 PM, Denny Vrandečić wrote:
Hello all,
in preparation of next week's deployment to Wikidata.org, test.wikidata.org http://test.wikidata.org now has the new datatype URL deployed.
If you have the time, we would appreciate if you tested it and let us know about errors and problems.
The URL datatype should be a big step in allowing to introduce better sourcing and reliability of the content of Wikidata.
Cheers, Denny
-- Project director Wikidata Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin Tel. +49-30-219 158 26-0 | http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
in the case of MediaWiki wikis, I guess http://en.wikipedia.org/wiki/** Technical_University_of_Denmarkhttp://en.wikipedia.org/wiki/Technical%20University%20of%20Denmark should be preferred, but that is besides the point.
Yes, spaces are not escaped. That was intentional, as they are also not escaped when entering the URL in wiki syntax. Should we behave differently?
Thank you for the tests!
2013/9/6 Finn Årup Nielsen fn@imm.dtu.dk
It is apparently not possible to enter a URL with spaces and have it automatically escaped, e.g.,
http://en.wikipedia.org/wiki/**Technicalhttp://en.wikipedia.org/wiki/TechnicalUniversity of Denmark
should be entered as:
http://en.wikipedia.org/wiki/**Technical%20University%20of%**20Denmarkhttp://en.wikipedia.org/wiki/Technical%20University%20of%20Denmark
On the other hand http://en.wikipedia.org/wiki/**K%C3%B8benhavnhttp://en.wikipedia.org/wiki/K%C3%B8benhavnworks ok for http://en.wikipedia.org/wiki/**K%C3%B8benhavnhttp://en.wikipedia.org/wiki/K%C3%B8benhavn
Also http://k%C3%B8benhavn.dk http://xn--kbenhavn-54a.dk works.
see https://test.wikidata.org/**wiki/Q132https://test.wikidata.org/wiki/Q132and https://test.wikidata.org/**wiki/Q133https://test.wikidata.org/wiki/Q133
cheers Finn Årup Nielsen
On 09/06/2013 12:10 PM, Denny Vrandečić wrote:
Hello all,
in preparation of next week's deployment to Wikidata.org, test.wikidata.org http://test.wikidata.org now has the new datatype
URL deployed.
If you have the time, we would appreciate if you tested it and let us know about errors and problems.
The URL datatype should be a big step in allowing to introduce better sourcing and reliability of the content of Wikidata.
Cheers, Denny
-- Project director Wikidata Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin Tel. +49-30-219 158 26-0 | http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
______________________________**_________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/wikidata-lhttps://lists.wikimedia.org/mailman/listinfo/wikidata-l
______________________________**_________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/wikidata-lhttps://lists.wikimedia.org/mailman/listinfo/wikidata-l
Am 06.09.2013 15:02, schrieb Denny Vrandečić:
in the case of MediaWiki wikis, I guess http://en.wikipedia.org/wiki/** Technical_University_of_Denmarkhttp://en.wikipedia.org/wiki/Technical%20University%20of%20Denmark should be preferred, but that is besides the point.
Yes, spaces are not escaped. That was intentional, as they are also not escaped when entering the URL in wiki syntax. Should we behave differently?
I think the API should be strict about that, and apply no "magic": spaces are not valid in URLs. Similarly, a protocol prefix is required. Being strict about this avoids confusing and "overcompensation" (what about % - should it be escaped or not? or maybe sometimes?...)
We may want to add escaping of spaces and automatic addition of "http://" in the UI though. No strong opinion on that.
-- daniel