mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-12 12:42:08 -04:00
Improves the `wikidata:import_alternate_names` Rake task to first look up a crop's Wikidata ID using its scientific names. - Iterates through a crop's scientific names to find a Wikidata ID. - Falls back to the existing `en_wikipedia_url` if no ID is found via scientific names. - Adds more detailed logging to the task. - Improves error handling by checking for non-existent Wikipedia pages and using `.dig` for safer hash access.