Commit graph

15 commits

Author SHA1 Message Date
Raimond Spekking 2ad7747074 Add a space between input field and button. Looks smarter :) 2009-01-01 13:29:46 +00:00
Robert Stojnić ecbb8ed97c (bug 5552) add a fulltext-only search mode to inputbox
Reuse getSearchForm() for both 'search' and 'fulltext' type, IMO it should also be used for 'search2' (exact-match only), but since 'search2' is kindof strange and ignores some params (like 'break') for which I'm not sure if it's bug or feature, leaving 'search2' as separate function.
2009-01-01 00:55:18 +00:00
Brion Vibber 424e0fecf6 Revert r45213 "(bug 5552) add a fulltext-only search mode to inputbox"
"hidego" sounds kind of icky to me; perhaps type="fulltext" would be better?
2008-12-31 22:18:32 +00:00
Robert Stojnić 161f75f454 Send 'prefix' GET param if one is defined in the inputbox. This will be handled by Special:Search 2008-12-31 03:31:41 +00:00
Robert Stojnić ff6f2e6407 (bug 5552) add a fulltext-only search mode to inputbox 2008-12-31 02:53:33 +00:00
Aryeh Gregor 6ca784f7f3 Improve ugly interface for Sanitizer::escapeId()
Calling it with no extra arguments will now assume that you're escaping
a whole id, not an id fragment, which is safer.  Also, instead of ugly
bitfield-based options, I've changed the options to use an array of
strings.  I fixed all callers in trunk.  Out-of-tree callers that were
using Sanitizer::NONE will get correct behavior, while those that were
calling it with no arguments will get slightly changed behavior (an x
will be prepended).  I think this is harmless enough that we can skip
back-compat cruft here.

This should cause no visible changes.  No parser test regressions.
2008-12-30 00:22:14 +00:00
Alex Z. 7f746a908a Fix parsing of labeltext on the "search2" form, make sure labels are correctly associated with an input. 2008-11-29 04:07:46 +00:00
X! 80c1798b7b Add hidden parameter 2008-11-17 21:54:38 +00:00
Aaron Schulz 7563919a8f Cleanup for r42696: use class defaults 2008-11-13 08:50:13 +00:00
Alex Z. 7a6e480645 *Fix some variable typos
*Use <label>s with the search namespace checkboxes
*Remove extra htmlspecialchars(), XML::element() does this for us.
2008-10-28 01:56:15 +00:00
X! 49729f5d46 (bug 13262) Add preloadtitle option to InputBox, allowing users to specify the title of the sectionin the text field. 2008-10-28 00:08:08 +00:00
Trevor Parscal 97020945cb Added default values for parameters. 2008-10-27 22:52:05 +00:00
Trevor Parscal fe52f15a5b Changed member names to match naming conventions. 2008-10-27 21:35:00 +00:00
Siebrand Mazeland ad5afe34a7 Maintenance updates:
* remove trailing whitespace
* update indentation
* stylize.php
* eol-style:native svn props
2008-10-27 20:56:23 +00:00
Trevor Parscal c3c2456b06 2008-10-27 20:33:18 +00:00