[Mediawiki-api] Mediawiki Wikipedia API bug

Brad Jorsch b-jorsch at alum.northwestern.edu
Tue Sep 27 17:12:42 UTC 2011


On Tue, Sep 27, 2011 at 09:40:20AM -0700, Robert Chin wrote:
> There appears to be some sort of bug affecting a subset of pages that
> started happening yesterday night. Certain <img src=> tags on
> Wikipedia's API are being served with an invalid URL, missing the
> scheme in front:
> 
> <img src="//bits.wikimedia.org/skins-1.17/common/images/magnify-clip.png">
> 
> This is seen on http://en.wikipedia.org/w/api.php?action=parse&page=Cereal
> 
> However certain other pages, such as
> http://en.wikipedia.org/w/api.php?action=parse&page=Actinide appear to
> be fine.
> 
> Please let me know if this e-mail should go to some Wikipedia list instead.

This is due to the change to protocol-releative URIs. See [1] for
details of the feature, and for the announcement on how this affects the
API.

[1] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/MediaWiki_1.18#Protocol-relative_URLs
[2] http://lists.wikimedia.org/pipermail/mediawiki-api-announce/2011-July/000023.html



More information about the Mediawiki-api mailing list