mediawiki-translate-extension

Automate multilingual page translation and language subpage management on MediaWiki wikis.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wikimedia-api-access, wikipedia-templates, mediawiki-page-navigation, wikimedia-page-styling, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of managing and translating multilingual content on MediaWiki-based wikis, providing efficient tools for marking content for translation, managing language subpages, and formatting locale-aware dates.

Core Features & Use Cases

  • Page Translation: Automates the process of marking content for translation, managing language subpages, and tracking translation progress.
  • Translation Variables: Embeds non-translatable content into translation units while keeping surrounding text translatable.
  • Special:MyLanguage/: Ensures that internal links stay in the user's language context.
  • Locale-Aware Date Formatting: Automatically formats dates according to the user's interface language.
  • Use Case: Translate a project page on Wikipedia, automatically creating language subpages and managing translation units for a seamless multilingual experience.

Quick Start

Run the mediawiki-translate-extension skill with the following command: translate --page <page-title>.

Frequently Asked Questions about mediawiki-translate-extension

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

FAQPage Schema
How do I mark MediaWiki content for translation to create multilingual pages?

You can mark MediaWiki content for translation by running the translate command with a specific page title. This automates the process of generating language subpages and tracking translation units for the multilingual content.

How does the MediaWiki Translate extension handle non-translatable content within translation units?

The Translate extension uses translation variables to embed non-translatable content within translation units. This mechanism isolates fixed elements while keeping the surrounding text fully translatable for different locales.

How do I format dates according to locale in multilingual Wikipedia pages?

Locale-aware date formatting is handled automatically according to the user's interface language. This feature adjusts date displays dynamically without manual intervention on the multilingual wiki pages.

Does the MediaWiki translation workflow require specific API headers for page requests?

Yes, the MediaWiki translation workflow requires user-agent headers for making API requests. This is a prerequisite for interacting with the platform and managing multilingual content effectively.

Can I ensure internal links on Wikipedia stay in the user's language context during translation?

Yes, using the Special:MyLanguage prefix ensures that internal links stay in the user's language context. This directs visitors to the appropriate translated language subpage automatically.

What prerequisites do I need to manage multilingual wiki content with the Translate extension?

You need proficiency in MediaWiki's page translation workflow and dependencies like wikimedia-api-access. These components manage page navigation and API interactions required for multilingual content.