[Mediawiki-l] Listing all articles that use a parser tag?

Platonides Platonides at gmail.com
Thu Nov 20 00:24:20 UTC 2008


Daniel wrote:
> Is there an easy way to list all articles that contain a given parser tag, such as <cite> or <foobar>?  I took a look for extensions like this (e.g., a special page that lists the articles) but didn't find anything.
No.


> If there's no existing extension, what would be the appropriate method to do this in code?
> 
> Thanks,
> DanB
Have the extension register in a table that it's present on that page. 
What is usually done is to wrap the parser tag into a template (eg. 
{{cite}}) and use that instead of the real parser tag. This way it can 
be tracked.




More information about the MediaWiki-l mailing list