Workaround for thumbnail pre rendering with PHP < 5.4.7
authorGilles Dubuc <gdubuc@wikimedia.org>
Wed, 1 Oct 2014 20:55:23 +0000 (22:55 +0200)
committerGilles Dubuc <gdubuc@wikimedia.org>
Wed, 1 Oct 2014 21:01:39 +0000 (23:01 +0200)
commite1c299133cf05ba9f8d5307eb698d2bf9a6f12e5
tree649a633cdb04d273e4f75c771f460696c3aa3bd6
parent8aaf4468411b77b3bff93302f8da5815744673ff
Workaround for thumbnail pre rendering with PHP < 5.4.7

Since this code is dealing with scheme-less URLs, parse_url()
can cause issues in older versions of PHP.

Change-Id: Ic1276feed9ed51772a05c4a73c787a315b848066
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/301
includes/jobqueue/jobs/ThumbnailRenderJob.php