The Wikimedia REST API's /page/summary response contains content_urls and
api_urls keys that provide convenience lists of various URLs of potential
interest to the consumer. These lists appear in other endpoint responses
as well, as the page summary response is transcluded in various places
throughout the REST API.
Currently, these URL strings are constructed erroneously using unencoded
page title strings. A proposed patch (
applies encodeURIComponent to encode these before including them in URLs.
Since this endpoint is advertised as stable, I'm announcing the change
here in advance. Barring any objections, the change will be deployed late
Software Engineer, Reading Infrastructure