User "Schnark" posted a comment on MediaWiki.r91728.
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91728#c19623
Commit summary:
Rewrite mwsuggest.js using j.ui.autocomplete. This gets rid of a lot of the
little kinks of the previously implemenation: The suggestion list now contains
regular anchors which can be openened in new indows or separate tabs. The
carret doesn't jump around anymore when using the arrow keys to select an item.
This should make it much easier to eventually merge Vectors simple search &
mwsuggest.
Comment:
Instead
url = mw.config.get('wgScriptPath') +
'/api.php?format=json&action=opensearch&search='
you should use
url = mw.util.wikiScript( 'api' ) + '?format=json&action=opensearch&search='
to make it work in environments witch use .php5 as extension.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview