https://bugzilla.wikimedia.org/show_bug.cgi?id=36347
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wanted Files |Special:WantedFiles: | |Implement indication of | |whether a file link comes | |from a transclusion --- Comment #2 from Krinkle <[email protected]> 2012-05-27 14:23:46 UTC --- 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
