Wikimedia Commons
Wikimedia Commons (commons.wikimedia.org) is a media repository of openly-licensed images and videos run by the Wikimedia Foundation. Among other things, it’s used to host all the pictures that appear in Wikipedia articles.
In 2023, I worked on a project called Flickypedia, a tool for transferring Flickr photos to Wikimedia Commons.
These entries have some notes on working with the Wikimedia Commons API.
1 article
Improving millions of files on Wikimedia Commons with Flickypedia Backfillr Bot
The new bot improves metadata for Flickr photos on Wikimedia Commons, and makes it easier to find out which photos have been copied across.
7 notes
Using the Wikimedia Commons API to tell if a file has been deleted
Why the term “snak” keeps appearing in the Wikidata API
How to see the HTTP requests being made by pywikibot
To see exactly what HTTP requests were being made, I modified the library so that betamax would record requests.
What characters are allowed in titles on Wikimedia Commons?
Go between M-IDs and filenames on Wikimedia Commons
Why I prefer XML to JSON in the Wikimedia Commons APIs
The XML-to-JSON conversion leads to some inconsistent behaviour, especially in corner cases of the API.
Find files that use a particular SDC field