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 > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
