Page MenuHomePhabricator

Enable $wgExtractsExtendOpenSearchXml on WMF wikis (so API action=opensearch will return descriptions)
Closed, ResolvedPublic

Description

In the last day or so opensearch queries to api.php no longer return a Description field. A number of mobile wikipedia clients rely on this field.

  1. Go to https://en.wikipedia.org/w/api.php?action=opensearch&search=Te&format=xmlfm
  2. Note that the query result does not have a description included

Event Timeline

robertchin raised the priority of this task from to High.
robertchin updated the task description. (Show Details)
robertchin changed Security from none to None.
robertchin subscribed.

The TextExtracts extension (with $wgExtractsExtendOpenSearchXml configured to true) is now required for ApiOpenSearch to return a description field.

That extension is already present on WMF wikis, we just need to enable the config variable.

Anomie renamed this task from action=opensearch no longer returns results with a Description field to Enable $wgExtractsExtendOpenSearchXml on WMF wikis (so API action=opensearch will return descriptions).Dec 11 2014, 6:41 PM

Change 179168 had a related patch set uploaded (by Anomie):
Enable $wgExtractsExtendOpenSearchXml

https://gerrit.wikimedia.org/r/179168

Patch-For-Review

Is there something we can do to get the fix for this regression expedited?

Change 179168 merged by jenkins-bot:
Enable $wgExtractsExtendOpenSearchXml

https://gerrit.wikimedia.org/r/179168

Anomie claimed this task.