Last modified: 2012-12-13 11:17:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39306, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37306 - add paramter to wbgetitems to make full url optional in the result
add paramter to wbgetitems to make full url optional in the result
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 3
:
: 38569 (view as bug list)
Depends on: 36986
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-02 15:15 UTC by merl
Modified: 2012-12-13 11:17 UTC (History)
4 users (show)

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


Attachments

Description merl 2012-06-02 15:15:14 UTC
It would be very usefull to get the full url returned for sitelinks.

When querying interwikilinks or langlinks you can add llurl or iwurl, so that the full url is additionally returned as attributes named url.

Example:
http://de.wikipedia.org/w/api.php?action=query&titles=Berlin&prop=langlinks|iwlinks&llurl&iwurl

Thats a very often used query. Always querying the interwikimaps to get the correct target for an prefix doubles the numbers of requests and slow down bots.
Comment 1 jeblad 2012-07-23 09:32:01 UTC
The URL is always returned in the latest development version for all API modules using sitelinks, but the behaviour should be triggered by a parameter.
Comment 2 Daniel Kinzler 2012-08-02 15:41:54 UTC
*** Bug 38569 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Kinzler 2012-08-02 15:43:29 UTC
fixed by I55ce5375, tests pending
Comment 4 Anja Jentzsch 2012-11-29 12:37:42 UTC
Verified in Wikidata demo time for sprint 11

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


Navigation
Links