(bug 36751) InstantCommons doesn't follow redirects
authorbtongminh <bryan.tongminh@gmail.com>
Sat, 22 Dec 2012 15:36:16 +0000 (16:36 +0100)
committerbtongminh <bryan.tongminh@gmail.com>
Sat, 22 Dec 2012 15:36:16 +0000 (16:36 +0100)
commitf14f01a33b4dd20c11113fe40e3083b7ed396fd4
tree890965d6b8925c88fe735e8b0c3babada702619b
parenta6af7618e2d072e85af2d9893d27b3a87beb53c7
(bug 36751) InstantCommons doesn't follow redirects

This fixes r56837: now redirects are only skipped if the redirects query
parameter is not set. This was presumably the intent of that commit, see
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/56837#code-comments

Change-Id: I27485bba9fe196211baeeb84238e4a397c620a1d
RELEASE-NOTES-1.21
includes/api/ApiQueryImageInfo.php