Last modified: 2012-12-16 17:43:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12802 - ajaxsearch.js - make number of letters before execution customizable
ajaxsearch.js - make number of letters before execution customizable
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: ajax
  Show dependency treegraph
Reported: 2008-01-26 18:30 UTC by Wiredtape
Modified: 2012-12-16 17:43 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Patch to linker.php (380 bytes, patch)
2008-01-27 16:23 UTC, Chad H.

Description Wiredtape 2008-01-26 18:30:37 UTC
currently ajaxsearch.js (mw/skins/common/) waits for 3 letters before executing the search.. It would be nice if this could be changed outside of the script without needing to edit it directly (and remembering not to overwrite it when updating)...
Comment 1 Chad H. 2008-01-27 16:23:58 UTC
Created attachment 4589 [details]
Patch to linker.php

I'm not sure if this works. It seems almost /too/ easy. Can someone more familiar with this part of the code take a look? Thanks.
Comment 2 Chad H. 2008-01-27 16:24:30 UTC
Ignore all that. Wrong bug.
Comment 3 Brion Vibber 2008-12-28 22:04:59 UTC
The old ajax search has been retired, and the new one (mwsuggest) doesn't enforce a minimum in this way.

Note You need to log in before you can comment on or make changes to this bug.