On Jan 14, 2008 8:07 PM, Nicolas Vervelle <[EMAIL PROTECTED]> wrote: > Roan Kattouw a écrit : > > Nicolas Vervelle schreef: > > > >> Hi again, > >> > >> I forgot one question : would it be possible to add an other parameter > >> than apprefix to search all titles containing a given word, not only > >> titles begining with a given word ? > >> That would be very helpful for me (writing a tool to fix red links by > >> searching for an existing article that could be used instead). > >> > >> Nico > >> > >> > > To search in titles, use list=search&srwhat=title > > > > Roan Kattouw (Catrope) > > > Thanks, but it doesn't seem to work. > > I tried the 3 examples provided at http://en.wikipedia.org/w/api.php and > they all end up with empty results : > http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=meaning > http://en.wikipedia.org/w/api.php?action=query&list=search&srwhat=text&srsearch=meaning > http://en.wikipedia.org/w/api.php?action=query&generator=search&gsrsearch=meaning&prop=info > > Nico > > > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > http://lists.wikimedia.org/mailman/listinfo/mediawiki-api >
That's because Wikimedia uses the Lucene search background, which does not work with the API yet. Bryan _______________________________________________ Mediawiki-api mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
