Re: [Wikitech-l] Template Table Extension

2015-03-13 Thread Rusty Burchfield
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

Re: [Wikitech-l] Template Table Extension

2015-03-05 Thread Brad Jorsch (Anomie)
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

[Wikitech-l] Template Table Extension

2015-03-04 Thread Rusty Burchfield
Hi folks, I'd like to make this extension a bit more robust: http://www.mediawiki.org/wiki/Extension:TemplateTable In short, the extension adds a tag which displays a table of all the invocations of a given template. Currently this is implemented by fetching the text for each page a template is

Re: [Wikitech-l] Template Table Extension

2015-03-04 Thread Brad Jorsch (Anomie)
On Wed, Mar 4, 2015 at 10:34 AM, Rusty Burchfield gicodewarr...@gmail.com wrote: In short, the extension adds a tag which displays a table of all the invocations of a given template. That could be a **lot**. Currently this is implemented by fetching the text for each page a template is

Re: [Wikitech-l] Template Table Extension

2015-03-04 Thread Rusty Burchfield
On Wed, Mar 4, 2015 at 7:57 AM, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: On Wed, Mar 4, 2015 at 10:34 AM, Rusty Burchfield gicodewarr...@gmail.com 2. Any hints as to where in the parser would be a good place to add that hook? Parser::braceSubstitution() is about your only option,