Is there a way to add the ajax search suggestion to an inputbox? Thanks
Topic on Extension talk:InputBox
I would like to know this too.
In my eyes the search is no fun if there's no autocompletion / suggestions...
I have found a hack to add ajax suggestions to any inputbox. You must add the following code to your MediaWiki:Common.js, and refresh browser cache.
document.getElementById('searchform').action = '/w/index.php'; document.getElementsByName('search')[0].id = 'searchInput';
This hack could drive an server error if don't replace by your article path which could be : wiki or w or index.php or anything else you have configurerd.
In the example above the article path is just w