Okapi Okapi

Wikidata xslt query parameter removal on /w/api.php

Stopped workingSubscribe to WikidataShare

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


Calls it hits

  • /w/api.php
  • query parameter xslt

What to use instead of these calls

Drop the xslt parameter and transform the XML (or JSON) response client-side.

In Wikidata's words

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

Wikidata, Announcement

Facts

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

Questions

When does this change take effect?

Calls to /w/api.php, query parameter xslt on Wikidata 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 Wikidata

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

1What to follow

Provider
  • Wikidata

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.