On Wed, Mar 4, 2015 at 9:24 PM, Rusty Burchfield <gicodewarr...@gmail.com>
wrote:

> Interesting, it looks like the $pieces parameter to that function has
> what I need.  I could probably subclass Parser and instantiate my own
> for the purpose of these extra parsing operations.
>

Note that braceSubstitution() also handles everything else that uses
double-brace syntax (e.g. variables, parser fuctions, and special page
transclusion), and that the template finally transcluded is not necessarily
$piece['title'] (e.g. in case of redirects).


-- 
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to