Okapi Okapi

Wikimedia Commons · Endpoint removal

xslt on /w/api.php stops working

Stopped working

Calls to /w/api.php, query parameter xslt on Wikimedia Commons stopped working on November 30, 2025.

What to use instead of these calls

Stop passing an XSLT stylesheet; transform the API's JSON or XML output client-side.

Calls it hits

  • /w/api.php
  • query parameter xslt

Facts

API
Wikimedia Commons commons.wikimedia.org
Kind
Endpoint removal
Announced
November 21, 2025
Takes effect
November 30, 2025
Calls after that day
Fail
Source
Announcement
Last updated

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub