Page MenuHomePhabricator

Start a rewrite the inat2wiki tool
Closed, ResolvedPublic

Description

Hacking project

The https://inat2wiki.toolforge.org/ tool has been around since late 2021, serving Wikimedians interested in bringing iNaturalist open imagery into Commons. The tool is, though, a bit fragile, and the code base is not very clean. I've been meaning to add features (such as multi-language interfaces and other details) and cater more for the user base, but the technical debt is strong.

This task aims at leveraging distributed expertise at the hackathon for re-imagining inat2wiki as a tool with sustainable growth (inspired by https://phabricator.wikimedia.org/T390966) .

For the Wikimedia Hackathon 2025, the rewrite will focus on the core functionality of given an iNat observation, streamlining the upload of the images and metadata to Wikimedia Commons.

It is currently implemented in https://inat2wiki.toolforge.org/parse. Hacking activities may include:

  • Set up proper collaboration infrastructure (tags, governance docs, first-issues contributions)
  • Set up a simple versioned release system
  • Set up tests
  • and more, unknown bits.

OVERVIEW FOR AFTER THE HACKATHON

The general goals of this new phase are to:

  • Provide a leaner, efficient tool that makes it easy to find which iNat images are most critical to Wikimedia work and streamline their upload to Wikimedia Commons
  • Incorporate internationalization natively, supporting interfaces in multiple languages, supporting at least Portuguese, Spanish and English, but with proper config to allow other updates.
  • Better organize and implement tests for the core pieces of functionality.
  • Better connect/integrate ideas from other tools/scripts connecting iNaturalist and Wikipedia
  • Write the tool with collaboration in mind, so it is fun for people to engage, contribute code and give feedback

and

  • Separate the "inat2wiki" and the "taxon2wikipedia stub creation" into different things.

For biology stub makers, there are many many different pieces of code out there. They belong together, but not on iNat2wiki.

Event Timeline

TiagoLubiana renamed this task from A collaboration-oriented rewrite of the inat2wiki tool to Rewrite of the inat2wiki tool with a collaboration-oriented mindset.Apr 28 2025, 2:50 PM
TiagoLubiana renamed this task from Rewrite of the inat2wiki tool with a collaboration-oriented mindset to Rewrite the inat2wiki tool with a collaboration mindset.
TiagoLubiana renamed this task from Rewrite the inat2wiki tool with a collaboration mindset to Start a rewrite the inat2wiki tool.Apr 29 2025, 2:32 PM

Some news on this:

Dev version parallel to original, live at https://inat2wiki-dev.toolforge.org/

This development version includes support for translations and translations in pt, en and es + tests and some other nice things.

The code is currently at https://github.com/lubianat/inat2wiki-dev, and contributions are very welcome.