Okapi Okapi

Wikimedia Commons xslt query parameter removal on /w/api.php

Stopped workingSubscribe to Wikimedia CommonsShare

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


Calls it hits

  • /w/api.php
  • query parameter xslt

What to use instead of these calls

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

In Wikimedia Commons's words

Support for the format=xml&*xlst={stylesheet}* will be removed from Wikimedia projects by the end of November, 2025.

Wikimedia Commons, Announcement

Facts

API
Wikimedia Commons commons.wikimedia.org
Kind
Parameter removal
Announced
November 21, 2025
Takes effect
November 30, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Wikimedia Commons's own pages

Questions

When does this change take effect?

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

What happens to calls after November 30, 2025?

They have failed since November 30, 2025.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Wikimedia Commons

Hear about each breaking change Wikimedia Commons announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Wikimedia Commons

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.