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