as my bot is currently running on some parts of the pywikipediabot framework and the pywikidata framework it should be possible to return the saved item if you save it, there for the id has should be saved as some usere e.g. want the bots to stop before milestones liki q1.000.000, my bot also e.g. searches trough all disambiguation pages and saves the items in a list (with the id) so if I run the bot a second time all listed items get skipped and only new items will be treated.

Is it currently possible to request 50 items at one apirequest? or 500 if you have botrights? this is also usefull so it schould be possible to submit a list of items, or better a dictionary of "lang" : "Interwikilink" or a list of IDs. This is whats possible with my bot.

A feature i would like to have, would be search for Labels, Description in a given language, I am not sure if "opensearch", "languagesearch" or "wbsearchentities" should be used for this.

Sk!d (Sk!dbot)

On Tue, Dec 11, 2012 at 7:09 AM, Bináris <wikiposta@gmail.com> wrote:
How can the bot make the difference is two itemes have the same label? I think the Q number is the only primary key.
Anyway, I think the number is useful and the bot should have the ability to handle it.
Can you provide a piece of code that searches for an item and creates it only if it does not exist?


2012/12/10 Amir Ladsgroup <ladsgroup@gmail.com>
There is no need of using q### anymore.
For other languages it's not possible for now but i gonna add it soon



--
Bináris

_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l