Last modified: 2011-03-13 18:06:05 UTC
Currently, when the API outputs the links in an article (see URL), there is no way to see if a link is directly in an article or the result of a transclusion. An attribute on <pl> such as direct="no" or something would make these results clearer.
I don't think we can fix this. Consider:
What would this result? Also this is impossible to fix without fundamentally changing how MediaWiki handles pagelinks. Closing as wontfix.