Support plain text content.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 10 Oct 2012 10:42:42 +0000 (12:42 +0200)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 14 Oct 2012 23:27:00 +0000 (23:27 +0000)
commit41b0a794557b939a0820fdcb854a813f977acc24
tree9a0551f25aa28a296daa05c89f61588fb8d07013
parentf45e44b4c5f6e4d31808940e4b8fa94ffd64bfeb
Support plain text content.

Made TextContent and TextContentHandler usable directly.
CONTENT_MODEL_TEXT is unused in core, but may be used by extensions.

Change-Id: I8963c968800b98e286cd917a1038a9905b3a0fef
includes/AutoLoader.php
includes/DefaultSettings.php
includes/content/ContentHandler.php
includes/content/TextContent.php
tests/phpunit/includes/CssContentTest.php
tests/phpunit/includes/JavascriptContentTest.php
tests/phpunit/includes/TextContentTest.php [new file with mode: 0644]
tests/phpunit/includes/WikitextContentTest.php