https://bugzilla.wikimedia.org/show_bug.cgi?id=38356
Web browser: ---
Bug #: 38356
Summary: wbgetitems: add possibility to request multiple
site-title-pairs on one request
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: wikidata
Severity: enhancement
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Depends on: 38355
Classification: Unclassified
Mobile Platform: ---
Currently it is only possible to request multiple site-title-pairs if they
either are on the same site or have the same title.
If you want to check some pages of an interwikigroup for already being added to
wikidata, you have to create multiple request. It's very unlikely that the
title is the same on many languages (and the site always differs).
It would massively reduce the number of needed requests if there is a
possibility to request mutiple sitelinks at once.
Currently i am doing about 50-100 wbgettitems requests per minute each
containing a single sitelinks. For checking all pages my bot processes while
working on wikipedia projects, in average 1000 sitelinks must be checked per
minute.
So i would suggest to add a third method to request wbgetitems instead of
existing ids and sites/titles params. Perhaps these site/title pairs can be
submitted using json as it is already done at wbsetitem module.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l