Various thumb.php fixes.
authorAaron <aschulz@wikimedia.org>
Thu, 26 Jul 2012 19:00:22 +0000 (12:00 -0700)
committerAaron <aschulz@wikimedia.org>
Thu, 26 Jul 2012 20:59:07 +0000 (13:59 -0700)
commit25fe23a403bdd59a58b86b00d3727f638642f9cc
treec3e818cc01028eea428b6194165a0240924554db
parent782b9f177404f02417c03abaf96b371e1462f160
Various thumb.php fixes.

* Made wfThumbHandle404() handle full REQUEST_URI urls.
* Made wfExtractThumbParams() handle protocal relative zone urls.
* Added FileRepo::getZoneHandlerUrl() and site zone configuration to simplify wmf rewrite rules.
* Renamed some variables to be less misleading.

Change-Id: Ic3e23c2a623c1241ee22a9811aee073fb07aa68c
includes/DefaultSettings.php
includes/filerepo/FileRepo.php
thumb.php