Last modified: 2014-03-25 15:13:20 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 T60200, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58200 - API module to list sitegroups usable for sitelinks
API module to list sitegroups usable for sitelinks
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=3
: easy
Depends on: 63073
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 07:35 UTC by Kunal Mehta (Legoktm)
Modified: 2014-03-25 15:13 UTC (History)
4 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-12-09 07:35:54 UTC
From #wikidata a few minutes ago:

[11:31:48 PM] <nichtich>	 Hi! I am looking for a way to query the list of enables site prefixes. https://www.wikidata.org/w/api.php?action=sitematrix shows ALL Wikimedia sites, also those not enables for Wikidata. AFAIK it's wikipedia, wikivoyage and commons, but how do I query only those and how do I make the query also return other Wikimedia projects when these enable Wikidata?
[11:32:38 PM] <legoktm>	 if you're looking for the easy way https://noc.wikimedia.org/conf/wikidataclient.dblist is what you want
[11:32:46 PM] <legoktm>	 the *proper* way would look like...
[11:33:38 PM] <legoktm>	 nichtich: https://www.wikidata.org/w/api.php?action=paraminfo&modules=wbgetentities&format=jsonfm
[11:33:57 PM] <legoktm>	 under parameters, name: 'sites', look at the 'type' key
[11:34:03 PM] <legoktm>	 a bit weird
[11:34:22 PM] <legoktm>	 there probably should be a proper API module for this

action=query&list=wikibaseclients or something.
Comment 1 Gerrit Notification Bot 2014-01-30 18:47:05 UTC
Change 110409 had a related patch set uploaded by Addshore:
Add wbgetsites api module

https://gerrit.wikimedia.org/r/110409
Comment 2 Gerrit Notification Bot 2014-01-31 15:44:26 UTC
Change 110427 had a related patch set uploaded by Addshore:
Implement ApiQuerySites class

https://gerrit.wikimedia.org/r/110427
Comment 3 Gerrit Notification Bot 2014-02-10 16:46:01 UTC
Change 110409 abandoned by Addshore:
Add wbgetsites api module

https://gerrit.wikimedia.org/r/110409
Comment 4 Lydia Pintscher 2014-03-25 13:55:40 UTC
This patch doesn't actually return the desired list but more than that.

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


Navigation
Links