Nice!

On Tue, Dec 4, 2018 at 11:43 AM Lucas Werkmeister <
[email protected]> wrote:

> Users of the Wikibase API who need to format many entity IDs (e. g. in
> QuickStatements, Wikidata Graph Builder, Wikidata Recent Changes, or
> Wikidata Reconciliation) can now use a new API module for this:
> wbformatentities. It combines advantages of wbgetentities and
> wbformatvalue: as in wbformatvalue, you can use Wikibase’ own logic for
> formatting entities (so you don’t have to worry about downloading labels,
> applying language fallbacks, dealing with other entity types like lexemes,
> etc.), but as in wbgetentities, you can process large numbers of entities
> at once, instead of making one API call per entity.
>
> The module is currently kept very simple: you specify a list of entity IDs
> with the ids parameter, and the API returns a list of HTML snippets
> corresponding to those IDs. (Support for other output formats may be added
> later; let us know if it would be useful to you.) The language can be
> controlled via the global uselang parameter. Normal users can format up
> to 50 entities at once, bots up to 500.
>
> Please let us know if you have any comments, either by responding here or
> over on Phabricator at T207484 <https://phabricator.wikimedia.org/T207484>
> .
>
> -- Lucas
>
>
> --
> Lucas Werkmeister
> Full Stack Developer
>
> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
> Phone: +49 (0)30 219 158 26-0
> https://wikimedia.de
>
> Imagine a world, in which every single human being can freely share in the
> sum of all knowledge. That‘s our commitment.
>
> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
> Körperschaften I Berlin, Steuernummer 27/029/42207.
> _______________________________________________
> Wikidata-tech mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

Reply via email to