Extension:Mantle

The Mantle extension promotes code sharing of code not quite ready for core.

Developer features
If your extension requires Mantle, check  early on in MyExtension/MyExtension.php

Templates

 * See Requests for comment/HTML templating library for comparison of HTML templating libraries and future plans

Mantle can deliver HTML templates to front-end code using the ResourceLoader, and provides ResourceLoader modules with the JavaScript to compile and render Hogan and handlebars.js templates.

To use this, you define a module in  similar to other ResourceLoader modules that lists your HTML templates. You must
 * include either   or   in its   should include either
 * specify
 * specify

Class  extends   so has all its features. It adds the features of parsing messages on the server. It only supports mw.msg.parse for now.

Mantle implements a  module that can provide arbitrary