Hi Smriti,
https://www.mediawiki.org/wiki/Extension:WikidataPageBanner uses mustache template from MediaWiki core to render its banner in HTML. Have a look here https://phabricator.wikimedia.org/diffusion/EWDP/browse/master/templates/banner.mustache to see if it can be helpful.
-Regards, Sumit
On Fri, Aug 12, 2016 at 3:27 AM, Ryan Kaldari rkaldari@wikimedia.org wrote:
Hi Smriti,
As you probably know, there is built-in support for Mustache templates in MediaWiki: https://www.mediawiki.org/wiki/Manual:HTML_templates. So that will at least get you part way there.
The only MediaWiki code I know of that currently uses HTML email is the Echo extension: https://www.mediawiki.org/wiki/Extension:Echo. Although it doesn't use Mustache to build the HTML. See Echo/includes/EmailFormatter.php.
On Thu, Aug 11, 2016 at 8:12 AM, Smriti Singh smritis.31095@gmail.com wrote:
Hello!
I am currently working on implementing HTML E-Mail support. I needed
advice
on whether I should use mustache for implementing templates for the same. If not, I would love suggestions on what else I can use.
Thank you!
- Galorefitz
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l