Trying to obtain a text extract for a foreign file
e.g.
https://en.m.wikipedia.org/wiki/Special:ApiSandbox?useformat=desktop#action=query&prop=extracts&format=json&titles=File%3AMahkama%20du%20Pacha.jpg
doesn't work and requesting an extra for a foreign file is not necessarily useful..
https://commons.m.wikimedia.org/wiki/Special:ApiSandbox?useformat=desktop#action=query&prop=extracts&format=json&titles=File%3AMahkama%20du%20Pacha.jpg
AC
- When an extract is request for a file (local or foreign):
- An error is returned.
- No extract is returned.
Sign off steps
- Use https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=query&format=json&prop=extracts&titles=File%3APolar_bear.jpeg
- This change is announced on the mediawiki-api-announce mailing list.