revert gerrit change 29597 for TextContent constructor
authoraude <aude.wiki@gmail.com>
Wed, 24 Oct 2012 15:35:02 +0000 (15:35 +0000)
committeraude <aude.wiki@gmail.com>
Wed, 24 Oct 2012 21:30:14 +0000 (21:30 +0000)
commit1024fb7e69389f22085db4b15b7c1a91d093b65e
tree19987feb45117c6f427382297a90defc238ce13d
parent1fc39609eb8e2eee31fdd49c7bb084557622f61e
revert gerrit change 29597 for TextContent constructor

https://gerrit.wikimedia.org/r/#/c/29597/

use cases that pass non-strings to TextContent need to be handled differently
and handle the exceptions

Change-Id: Id3f88b0fb867fff0d16abcf570178cbbe86e89a1
includes/content/TextContent.php