Last modified: 2011-03-13 18:06:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13397 - Differentiate between link types on API output
Differentiate between link types on API output
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-16 19:57 UTC by Chad H.
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2008-03-16 19:57:49 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.
Comment 1 Bryan Tong Minh 2008-03-16 20:09:45 UTC
I don't think we can fix this. Consider:

Template:
[[Project:{{{1}}}]]

Page:
{{:Template|Target}}

What would this result? Also this is impossible to fix without fundamentally changing how MediaWiki handles pagelinks. Closing as wontfix.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links