Adding TemplateParser class providing interface to Mustache templates
authorkaldari <rkaldari@wikimedia.org>
Fri, 30 Jan 2015 19:31:44 +0000 (11:31 -0800)
committerkaldari <rkaldari@wikimedia.org>
Fri, 20 Feb 2015 01:41:45 +0000 (17:41 -0800)
commit2ec027221884a887da6114a429b4e7a8af91ad36
tree503c6179bb99de566e20fcfde86603564a58da69
parent60ad62b807d795aecd52f946eaa58a9e50cf9f2c
Adding TemplateParser class providing interface to Mustache templates

The TemplateParser class provides a server-side interface to cachable
dynamically-compiled Mustache templates. It currently uses the
lightncandy library to do compilation (which is already included in
the vendor repo).

Also converting NoLocalSettings.php to use it as a proof-of-concept.

Bug: T379
Change-Id: I28cd13d4d1132bd386e2ae2f4f0d1dd88ad9162b
RELEASE-NOTES-1.25
autoload.php
includes/NoLocalSettings.php [new file with mode: 0644]
includes/TemplateParser.php [new file with mode: 0644]
includes/WebStart.php
includes/templates/NoLocalSettings.mustache [new file with mode: 0644]
includes/templates/NoLocalSettings.php [deleted file]
tests/phpunit/includes/TemplateParserTest.php [new file with mode: 0644]