On 06/02/11 21:39, Andrew Garrett wrote:
On Sat, Feb 5, 2011 at 5:32 PM, Tim Starling
<tstarling(a)wikimedia.org> wrote:
My original idea was to search for near matches and to provide an
autocomplete drop-down, but the necessary UI code for that seemed a
bit too complicated for a quick weekend project. Maybe later.
We have the UI code already written, in
phase3/resources/jquery/jquery.suggestions.js. Roan wrote it for the
search box :-)
There's also jquery.ui.autocomplete, and I looked at the old
mwsuggest.js. But GreaseMonkey scripts run in a privileged mode with
access to the window via a special sandbox. So it wasn't clear (with
my limited GreaseMonkey experience) whether any of these solutions
could be trivially ported to that environment.
-- Tim Starling