Last modified: 2012-11-29 15:06:00 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 T44042, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42042 - url value empty for action=wbgetitems&props=sitelinks/urls
url value empty for action=wbgetitems&props=sitelinks/urls
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Wikidata (Other open bugs)
wmf-deployment
All All
: High critical (vote)
: ---
Assigned To: Wikidata bugs
http://www.wikidata.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-12 11:23 UTC by merl
Modified: 2012-11-29 15:06 UTC (History)
2 users (show)

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


Attachments

Comment 1 jeblad 2012-11-26 16:40:35 UTC
As merl says, this works as it should in latest version on test repo.

The following will produce sitelinks in the latest version
on wikidata-test-repo

http://wikidata-test-repo.wikimedia.de/w/api.php?action=wbgetentities&props=sitelinks/urls|info&sites=enwiki|nnwiki|nowiki&titles=Norway|Noreg|Norge

<?xml version="1.0"?>
<api success="1">
  <entities>
    <entity pageid="127194" ns="0" title="Q5786" lastrevid="169684"
modified="2012-11-26T15:55:10Z" id="q5786" type="item">
      <sitelinks>
        <sitelink site="enwiki" title="Norway"
url="http://en.wikipedia.org/wiki/Norway" />
        <sitelink site="nnwiki" title="Noreg"
url="http://nn.wikipedia.org/wiki/Noreg" />
        <sitelink site="nowiki" title="Norge"
url="http://no.wikipedia.org/wiki/Norge" />
      </sitelinks>
    </entity>
  </entities>
</api>
Comment 2 abraham.taherivand 2012-11-29 15:05:51 UTC
Verified in Wikidata demo time for sprint 24

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


Navigation
Links