We don't want to pregenerate thumbnails any more, which means we would like to set wgUploadThumbnailRenderMap to be empty. Currently we can't do that (cf CR 1224071) because MediaSearch uses it (codesearch) to set the size of files.
This task is to track the work of fixing MediaSearch so we can make UploadThumbnailRenderMap empty and thus stop pregenerating thumbnails.