Last modified: 2014-11-15 03:56:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66735, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64735 - Mantle: support handlebars compilation
Mantle: support handlebars compilation
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Mantle (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-02 05:20 UTC by spage
Modified: 2014-11-15 03:56 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-05-02 05:20:28 UTC
Handlebars templates can be precompiled into JavaScript, see http://handlebarsjs.com/precompilation.html .  The compiler uses nodejs, so it might be a while before ResourceLoader can compile templates as needed in production. But it would be nice if RL could check for the existence of myTemplateName.handlebars.js , and use that as the template instead of running Handlebars.compile().

The other wrinkle is the compiled template adds itself as Handlebars.templates.myTemplateName, so this would have to be aliased.
Comment 1 Bingle 2014-05-02 05:25:17 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/7eTXMkkI
Comment 2 Jon 2014-05-05 16:52:22 UTC
Andre could we get a bugzilla product/component setup - Mediawiki Extensions / Mantle to move this to?
Comment 3 Andre Klapper 2014-05-05 17:28:24 UTC
(In reply to Jon from comment #2)
> Andre could we get a bugzilla product/component setup - Mediawiki Extensions
> / Mantle to move this to?

Please create a ticket for it and see https://www.mediawiki.org/wiki/Bug_management/Project_Maintainers#To_add_a_project_or_component for info
Comment 4 Jon 2014-05-05 17:34:42 UTC
Thanks opened bug 64906

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links