Right, so creating a (temporary, at least in my case) hidden category with something like {{#if:{{{param|}}}|[[Category:Pages using {{{param}}}]]{{{param}}} }} and then running touch.py on pages using the template to purge them? That could work for me, yeah.

2017-02-09 1:23 GMT+01:00 John <phoenixoverride@gmail.com>:
I could write something up, but the best way is via categories for param usage

On Wed, Feb 8, 2017 at 5:43 PM Jon Harald Søby <jhsoby@gmail.com> wrote:
I'm not sure if this is even the right place to post it, but I when working with templates, especially infobox standardization, I would like to know how many times a specific parameter is used, and optionally find out on which pages it's being used. I was thinking this could be a useful addition to the templatecount.py script, though it might be more fit for a wmflabs tool (in which case I'm posting this to the wrong list...).

My Python skills are nowhere near the level at which I would attempt to try this myself, so maybe someone here will take the challenge. Maybe a tool like this already exists, though my preliminary googling didn't return any useful results.

--
mvh
Jon Harald Søby
_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot

_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot




--
mvh
Jon Harald Søby