Original Wikimedia Commons File Shortcut

Social

here's a Siri Shortcut to help you quickly download the highest-resolution version of a given Wikimedia Commons file. https://routinehub.co/shortcut/12436


Retrieve the original (highest-resolution) verision of a Wikimedia Commons file via API.

I created this shortcut as a quick means of saving the full resolution version of a Wikimedia Commons image file, but it can be used to save any type of said file. Input is received from the share sheet or clipboard and requires a commons-formatted link. Here's an example:

https://commons.wikimedia.org/wiki/File:Baustelle_Albertbrücke_Dresden_9.jpg

The shortcut will separate the Title and use it to query the Wikimedia API for the original:

https://api.wikimedia.org/core/v1/commons/file/File:Baustelle_Albertbrücke_Dresden_9.jpg

The result will then be saved in a local/iCloud Drive folder specified at install. If it is an image, it will also be saved in an iCloud Photos folder specified at install.