Last modified: 2009-06-06 09:51:08 UTC
To my mind, {{fr}} and {{subst:fr}} should both give the same output when rendered, but they don't: http://en.wiktionary.org/w/api.php?action=parse&text={{fr}}{{subst:fr}} Gives <p>French{{subst:fr}}</p> instead of <p>FrenchFrench</p>
Substitution is handled by pre-save transform. To include that in parsing, use "pst" parameter. http://en.wiktionary.org/w/api.php?action=parse&text={{fr}}{{subst:fr}}&pst <p>FrenchFrench</p>
Thanks, have added this to the documentation. * <code>pst</code>: Do a pre-save-transform (makes <nowiki>{{subst:}}</nowiki> work properly)