Add JSONContent and handler from EventLogging
authorKunal Mehta <legoktm@gmail.com>
Fri, 8 Aug 2014 16:41:26 +0000 (17:41 +0100)
committerReedy <reedy@wikimedia.org>
Fri, 8 Aug 2014 23:31:26 +0000 (23:31 +0000)
commitd2a82fcb604efe62b2c994d63a568177783ee0ef
tree75bdd73e635444c1d9606c5f77de0d906b39cb78
parentc8409c675606e990f789e6939cbd1b2b821d4ec2
Add JSONContent and handler from EventLogging

As was discussed at the architecture summit, a basic JSON content
class which handles validation and basic display. Not intended to
be used directly, but for extensions to subclass.

Co-Authored-By: addshore <addshorewiki@gmail.com>
Change-Id: Ifcde9bcd0efcf15a3ab692dd2a0a3038559e0254
includes/AutoLoader.php
includes/DefaultSettings.php
includes/Defines.php
includes/content/JSONContent.php [new file with mode: 0644]
includes/content/JSONContentHandler.php [new file with mode: 0644]
resources/Resources.php
resources/src/mediawiki/mediawiki.content.json.css [new file with mode: 0644]
tests/phpunit/includes/content/JSONContentTest.php [new file with mode: 0644]