Skip to content

APIs and Descriptions

AutoDesc has been a longstanding tool to generate descriptions for Wikidata items. Originally a spin-off from Reasonator, it started as my only JavaScript-based server application, generating both short and (for biographical items, and two languages) long descriptions. When the usual bitrot set in, I decided to move it over to Python, hoping to attract more developers; that did, however, not pan out. Also, I only managed to port the short description code, dropping support for the long descriptions in the process.

Now, I have moved it to trusty Rust, and also ported the long description mode from the original JavaScript. I threw in some caching, so descriptions are now much faster – often <1sec for short descriptions.

In other news, my MediaWiki Rust API has now added all of the MediaWiki Action API functionality as proper Rust elements. Generators are also supported, as is continue. Results that are based on page_info results can be automatically parsed into an appropriate struct. I even threw in a prelude::* module to get everything you need in one line. Due to the massive addition of functionality, the version has also been bumped to 0.5.0.