Thanks for your help. I'll look into this example. Rob
On 26/08/2009, at 7:47 AM, Matthias Korn wrote: > The LinkSuggest extension does something like this for titles. Maybe > it > helps to look at it: > http://www.mediawiki.org/wiki/Extension:Link_Suggest > > Best, > matsch > > > Am Wed, 26 Aug 2009 07:22:35 +1200 > schrieb Robert Carter <r.car...@cs.auckland.ac.nz>: > >> Thanks for your response. To describe more clearly: The ajax suggest >> function of the wiki will do a dynamic search of page titles. But by >> default it will only match article titles that begin with the search >> term. Eg search for 'foo' will match 'foobar', but not 'barfoo'. I'm >> trying to find a way to match titles that contain the search term >> anywhere, so that 'foo' will match any title containing 'foo'. >> >> Even better would be to have the wiki return a list of titles from a >> full text search based on the search phrase. API seems to only >> return titles at this stage. >> >> Rob >> >> On 25/08/2009, at 10:58 PM, Platonides wrote: >> >>> Robert Carter wrote: >>>> Hi everyone, >>>> >>>> I'd like to make a custom search box for our wiki that will do a >>>> 'contains' search. I have tested using the mediawiki API and that >>>> gives a 'begins with' search. The format is just what I need, but >>>> how to do a 'contains' search? - using API or some other method. >>>> >>>> Rob >>> >>> Perform a normal search. Choose the articles you want to know it >>> containers. Click 'What links here' in the toolbox. Press 'Hide >>> links'. >>> >>> >>> _______________________________________________ >>> MediaWiki-l mailing list >>> MediaWiki-l@lists.wikimedia.org >>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> >> >> _______________________________________________ >> MediaWiki-l mailing list >> MediaWiki-l@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> > > > -- > Rock in China > http://wiki.rockinchina.com/ > http://www.rockinchina.com/ > > _______________________________________________ > MediaWiki-l mailing list > MediaWiki-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l