Hi Julien,
I was wondering if it had an extension to keep its index up to date - an "OnArticleSave" hook. With that a really useful place to hook it in would not be just the search, but also the edit box. Little bit of js that checks for the user inputting [[, and then the suggest code kicks in with possible article matches. It would make article linking a lot easier.
One problem with it is I don't know how to work out where the text cursor is in a textarea from JS, but I guess you could just have it pop up somewhere, ready for people to click. Obviously to make it all work seemlessly the index would need to be up to date...
Best regards,
Alex Powell
On 8/16/06, Julien Lemoine speedblue@happycoders.org wrote:
Hi Steve,
Steve Bennett wrote:
On 8/15/06, Julien Lemoine speedblue@happycoders.org wrote:
With this modification, you will be able to use wikipedia-suggest on any project using MediaWiki. I downloaded the last dump and updated my website for the ten most popular languages of Wikipedia.
This is nice, but I want it integrated into Wikipedia. How do we do that?
For me, you can integrate it now and update the index (trie) after each xml dumps. When the compiler using a sql database will be ready you will be able to replace the update process with the new analyzer.
If you need information about how to install it, don't hesitate to ask me.
Best Regards. Julien Lemoine
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l