wfTimestamp should not die on bogus input [Regression]
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 14 Sep 2012 16:28:22 +0000 (18:28 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 14 Sep 2012 16:28:22 +0000 (18:28 +0200)
commit99159fd750eabc37032aa5111ebc6c79c054663a
tree622c706a2823e6252cb08f7104164665fd15ae25
parent304b7a8009624978170be19b1b5f63e9cfcd0916
wfTimestamp should not die on bogus input [Regression]

Followup I68eb9f27

No caller of wfTimestamp can handle the exception, false is always used,
as the method comment says.

See bug 40037 for File related timestamps.
The api result is also not b/c:
<api servedby="mw70">
  <error code="internal_api_error_TimestampException" info="Exception
Caught: MWTimestamp::setTimestamp : Invalid timestamp - te"
xml:space="preserve" />
</api>

Change-Id: I1e8c785941d35678f3d12824bdde0ce245572592
includes/GlobalFunctions.php
tests/phpunit/includes/media/BitmapMetadataHandlerTest.php