User "Wikinaut" posted a comment on MediaWiki.r89950. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89950#c17963 Commit summary:
do not sent api requests for empty inputs, e.g. after a character input followed by a backspace in the search input. Make sure to clear the result div to wipe previous results at the client w/o sending a request. Lowers server load Comment: I forgot to comment, that this also auto-focuses the cursor when user hovers over the search input. It must be checked, whether this annoys users or not. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
