Last modified: 2012-05-27 14:23:46 UTC
I was referred here by Wikia Staff with not so much a bug, more a suggestion for easier performance of maintenance. With Special:WantedFiles, there is no discrimination between files used in templates on a page and those used on the page itself. In this case the difference between {{TemplateWithFile}} and [[File:File.png]]. With large amounts of uses of a file within a a template it becomes infinitely harder to track down the usage of the file, even more so with conditional use of the file within that template. What I'm asking is a note of whether the file is transcluded through template, or linked to. Say a note next to the file "templated".
Marking as new.
Made summary reflect the request. Note that this feature is unlikely to be implemented any time soon due to the fact that the linking tables are flat and generated base on how the pages come out of the parser. The origin of a file link is then no longer traceable. It has been requested in the past to keep track of this information, but the problem was so far that there are a huge amount of variations that it is hard if not impossible to keep this in a reliable way: * A template could use <includeonly> for the main part, in which case the template doesn't "use" the file * A template could use custom parser functions that are not part of the core software (e.g. <foo>Test.jpg</foo> , MediaWiki can't easily know what <foo> does with it. Does it use it to embed a file? Does it make a page link? Does it do something else entirely? Not to mention things like {{#if:}} which do it conditionally * A template could accept custom parameters from the article or meta-templates in child-templates and constructing the [[File:]] embed in parts. e.g. [[File:{{{imgname|Example.svg}}}]] or with a {{#switch: }}, in which case what is and isn't use by whom is highly ambiguous.