https://bugzilla.wikimedia.org/show_bug.cgi?id=33254

--- Comment #2 from Dan Barrett <mediaw...@blazemonger.com> 2011-12-21 12:23:11 
UTC ---
Bawolff, thanks for your insightful comments.

>...you'd only want the pages that actually call it with the parameters
>that make TranscludeMe appear, appear on special:whatlinkshere

You're correct for some cases, but in others you really do want to see all
pages. For example, suppose you are modifying the behavior of
Template:TranscludeMe and you want to know how wide-ranging the impact will be.
You need to know every page that transcludes Template:TranscludeMe in order to
test properly. But pages that contain {{#if:{{{foo|}}}||{{TranscludeMe}}}}
simply cannot be found today. You need a static analysis, not a dynamic
analysis, to locate these instances.

I do understand that you don't want to parse the unused portion of #if (for
performance/correctness).  I just wish there were a solution to the above
problem, even if it were search-engine-based rather than parser-based.

As for my calling the bug "legitimate" now that 1.18 is here, what I meant is
that this is something the core is doing intentionally, and I figured it would
be unlikely to modify core behavior to satisfy an extension (rather than
vice-versa) until the extension is officially part of MediaWiki.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to