Pass the parameters to the error message in UploadStash::stashFile().
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 10 Aug 2012 19:14:01 +0000 (21:14 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 10 Aug 2012 19:17:18 +0000 (21:17 +0200)
commitc7870d2eae7d33e29ef38e53261dc612f22e7b28
tree1a687115529b4f7d71b48661fa2918f52779a241
parent3f497ed0a804a080e884cb07fe711cb69cd1b9e6
Pass the parameters to the error message in UploadStash::stashFile().

Currently it shows the error message without any parameters since
$error is an array with the message name and its parameters, and
the Message class thinks that this is a message with its fallbacks
(see wfMessageFallback())

Change-Id: I5d825144795ad108f0a71f90cc530629c5c98a41
includes/upload/UploadStash.php