On Sat, Sep 19, 2015 at 7:09 AM, Nicolas Vervelle <nvervelle@gmail.com> wrote:
Is it possible through the API to give it some wikitext and get in return the same wikitext where {{subst:}} and {{safesubst:}} have been replaced, as they would be when saving an edit ?

Use action=parse with onlypst=1.


--
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation