I'm currently reworking a MediaWiki template that has some semantic design issues: there are two almost exact key/value pairs and one of them may be completely removed:
{{Template
| foo1 = bar
...
| foo2 = '''bar'''
...
}}
I'm also removing the foo2
key at the pages that use this template, so I have an idea that some kind of marking may be helpful: I've changed the template source code so it could show a warning that the template usage is currently being reworked:
{{#if: {{{foo2|}}} |
<p style="color: red;">The template is under construction.</p>
}}
So, if the template is used with the foo2
key, then the warning is rendered at the page. That's great.
But as I'm not aware with bots setup or implementation, I have to process the templates manually, and I simply iterate through every page that uses the template using wiki/Special:WhatLinksHere/Template:Template
. This is not a reliable way because I may skip a page. Another option I thought was able to work is searching for "The template is under construction". But unfortunately MediaWiki seems to be unable to search for text that is rendered under template transclusions.
Is there any way to find text that's rendered with a template using standard search?
(Bots are not an option in this case unfortunately because of several reasons. My MediaWiki version is 1.19.0)