Remove the throw from Message::extractParam()
authorKevin Israel <pleasestand@live.com>
Wed, 31 Oct 2012 20:59:50 +0000 (16:59 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 29 Nov 2012 22:33:57 +0000 (22:33 +0000)
commit7f9fe1b29df6ecee9a9c90f6806d7bf8848ff0b1
tree04c8dbd10354e9f5e96c348a7c1d3f6fba981236
parenta80bc922455134bb992e9f025a34e2152fd33ae6
Remove the throw from Message::extractParam()

Per Tim Starling's comment on bug 41400, I replaced the throw (when a
message parameter is invalid) with a call to trigger_error().

The string [INVALID] is used as a placeholder to make it clear from
the output that an error has occurred.

Change-Id: I974d55d44d392c956e7de6d243da9d8dc07d8833
includes/Message.php