Thanks for your help. I managed to get a new version together that seems robust enough for my needs. https://github.com/GICodeWarrior/TemplateTableReloaded
I'm not following template redirects yet, but I have some ideas on how to add it. Maybe a "what redirects here"-type query on the template name and then some easy Title comparisons. I know there will always be performance limits, but if you (or anyone else) notice a good optimization, I'd be glad to hear about it. :-) ~Rusty On Thu, Mar 5, 2015 at 7:23 AM, Brad Jorsch (Anomie) <[email protected]> wrote: > On Wed, Mar 4, 2015 at 9:24 PM, Rusty Burchfield <[email protected]> > 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 > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
