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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14802, the corresponding Phabricator task for complete and up-to-date bug report information.
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.