-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DaBuum wrote:
is there any reason why wfSajaxSearch is casesensitive
and limited to
namespace 0? I just wondered if I can get this nifty feature to show me the
same results as the normal search without hacking core-code or using runkit
functions to redefine wfSajaxSearch?
Well, it's case-sensitive because the title fields are case-sensitive.
So a case-insensitive search will need an appropriate database table
supporting it. (You'd probably also want to normalize whitespace and
punctuation and accents and such.)
Supporting other namespaces would in theory not be too hard; just
recognize them on the input and mix in the results, perhaps? Or else
stick that in with the rest on the above support table.
- -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFF6lCGwRnhpk1wk44RAshoAJ9cZf7SmEncmqKLMee+F9mRHWwMMQCg0YD5
cAbUTtTQq6cOqt73/UegYzI=
=zNeI
-----END PGP SIGNATURE-----