Note that there are some explanatory texts on larger screens.

plurals
  1. POAPI search in mediawiki don't work
    primarykey
    data
    text
    <p>I want to make search with wikimedia API in my local mediawiki.</p> <p>When I try this url on the wikipedia API online</p> <p><a href="http://en.wikipedia.org/w/api.php?action=query&amp;list=search&amp;srsearch=fran&amp;srprop=timestamp" rel="nofollow">http://en.wikipedia.org/w/api.php?action=query&amp;list=search&amp;srsearch=fran&amp;srprop=timestamp</a></p> <p>I get this</p> <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt; &lt;api&gt; &lt;query-continue&gt; &lt;search sroffset="10" /&gt; &lt;/query-continue&gt; &lt;query&gt; &lt;searchinfo totalhits="13454" /&gt; &lt;search&gt; &lt;p ns="0" title="Fran" timestamp="2013-07-10T11:08:52Z" /&gt; &lt;p ns="0" title="Hurricane Fran" timestamp="2013-10-27T17:30:58Z" /&gt; &lt;p ns="0" title="Fran Drescher" timestamp="2013-12-10T01:10:38Z" /&gt; &lt;p ns="0" title="Fran Walsh" timestamp="2013-11-19T04:12:29Z" /&gt; &lt;p ns="0" title="List of The Nanny characters" timestamp="2013-11-29T17:26:10Z" /&gt; &lt;p ns="0" title="Fran González" timestamp="2013-07-16T14:44:50Z" /&gt; &lt;p ns="0" title="Fran Landesman" timestamp="2013-08-02T19:36:03Z" /&gt; &lt;p ns="0" title="Fran Mérida" timestamp="2013-12-08T23:27:28Z" /&gt; &lt;p ns="0" title="Tropical Storm Fran" timestamp="2012-11-11T18:44:02Z" /&gt; &lt;p ns="0" title="Fran (film)" timestamp="2013-10-30T11:49:53Z" /&gt; &lt;/search&gt; &lt;/query&gt; &lt;/api&gt; </code></pre> <p>When I type the same url in my mediawiki API with dump of wikipedia:</p> <p><a href="http://www.mylocalhost.com/begoo/assets/mediawiki/api.php?action=query&amp;list=search&amp;srsearch=fran&amp;srprop=timestamp" rel="nofollow">http://www.mylocalhost.com/begoo/assets/mediawiki/api.php?action=query&amp;list=search&amp;srsearch=fran&amp;srprop=timestamp</a></p> <p>I get this</p> <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt; &lt;api&gt; &lt;query&gt; &lt;search /&gt; &lt;/query&gt; &lt;/api&gt; </code></pre> <p>I correctly installed all dump of wikipedia and only the API OpenSearch Work fine,not the API Search.What is wrong?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload