commons-file-resolution

Convert Wikimedia Commons file references to HTTP URLs with thumbnails and redirects.

15|6|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill commons-file-resolution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commons-file-resolution
Source: https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/commons-file-resolution
Command: npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill commons-file-resolution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wikimedia-api-access, wikimedia-commons, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of converting file references from Wikimedia Commons into browser-usable HTTP URLs, ensuring seamless integration into web applications.

Core Features & Use Cases

  • File Resolution: Converts File: references to direct URLs, thumbnails, and Special:FilePath redirects.
  • Cache Busting: Utilizes timestamps to ensure the latest file version is always served.
  • API Integration: Integrates with the Action API for full metadata retrieval.
  • Use Case: Ideal for web developers and toolmakers who need to embed images from Commons into their applications, ensuring the correct version is always displayed.

Quick Start

Use the commons-file-resolution skill to get the direct URL for the image 'File:Example.jpg'.

Frequently Asked Questions about commons-file-resolution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Wikimedia Commons file reference to a direct image URL?

Converting a Wikimedia Commons file reference to a direct image URL involves resolving `File:` references into browser-usable HTTP links, supporting direct access, thumbnails, and Special:FilePath redirects for web embedding.

How does timestamp-based cache busting work for Wikimedia Commons files?

Timestamp-based cache busting for Wikimedia Commons files works by appending timestamps to resolved URLs, ensuring the latest file version is always served and preventing outdated images from displaying in web applications.

Can I retrieve file metadata from the Wikimedia Action API using this resolution process?

Yes, retrieving file metadata from the Wikimedia Action API is supported during the URL resolution process, as the Skill integrates directly with the Action API for full metadata retrieval alongside generating direct links.

What is the best way to embed Wikimedia Commons images in a web application?

Embedding Wikimedia Commons images in a web application is best achieved by using a resolution process that converts `File:` references into direct URLs or thumbnails, ensuring the correct version is always displayed.

Does URL resolution support generating thumbnails for Wikimedia Commons files?

Yes, URL resolution supports generating thumbnails for Wikimedia Commons files, allowing web developers to easily convert file references into appropriately sized thumbnail links for integration.