Make thumb_handler.php use MediaHandler::parseParamString
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 17 Jun 2013 03:06:33 +0000 (00:06 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Sat, 28 Sep 2013 23:32:40 +0000 (20:32 -0300)
commitccf89be91a4fe9756ad865937df903dee6963492
treeead9b574f6ed38f22336aa35e77611e5fd911d93
parent39d22a1264169677f2c5826be8617dbacd691fdf
Make thumb_handler.php use MediaHandler::parseParamString

Use MediaHandler::parseParamString to parse the parameter string
of a thumbnail. This seems to make much more sense given the
design of the Handler class. Also mark ExtractThumbParameters hook
as deprecated.

This should be reviewed by someone familar with the 404 thumbnailing
infrastructure. I'm unclear if there was a reason for why it wasn't
using MediaHandler::parseParamString in the first place.

Bug: 49629
Change-Id: I43a0e7d6f0e45536e4e24b72140157791f5f027f
RELEASE-NOTES-1.22
docs/hooks.txt
includes/media/MediaHandler.php
thumb.php