Thread:Project:Support desk/API search in mediawiki don't work

I downloaded mediawiki in order to have a local copy of wikipedia I want to make search with wikimedia API in my local mediawiki.

When I try this url on the wikipedia API online

http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=fran&srprop=timestamp

I get this

When I type the same url in my mediawiki API with dump of wikipedia:

http://www.mylocalhost.com/begoo/assets/mediawiki/api.php?action=query&list=search&srsearch=fran&srprop=timestamp

I get this

I correctly installed all dump of wikipedia and only the API OpenSearch Work fine,not the API Search.What is wrong? My wikipedia version is 1.21.3

All the order functions of the API work perfectly.I don't know if I must install an extension for it?

Tank's to all