Just putting all the desired improvements for search in one place, so none get overlooked:
- remove case sensitivity
- Recognizability for all created Tropes.
- allow title-only searches
- allow title-only searches even on short words (three letter words accepted, for title search only)
- allow exclusion of discussions
- allow inclusion of discussions (Fixed. Better now.)
- search for exact phrases (All internal spaces are dropped, now. "dog and pony" with quotes would find entries having that phrase)
- EXACT logic ("thou" being a search for entries having the exact word "thou", excluding entries that have "thousand")
- AND logic (dog and pony [no quotes] being a search for entries having both "dog" and "pony")
- NOT logic (dog not pony [no quotes] being a search for entries that do not have "pony" but do have "dog")
- Context in body hits: searching for "dog" might give you "Angry Guard Dog: '...isn't complete without an Angry Guard Dog. (An exception is made for...' " or something smarter. I was thinking of the Google-style hits.
- Separate the "related to..." search from textual search—it should only find pages that actually link to the page in question. For example "related to Brainwashed" oughtn't include every page that links to Brainwashed and Crazy. Meanwhile, it should include pages whose only link to [Trope Name] is in the form {{Trope Name}}; simply looking for the string TropeName doesn't catch that.
- Tags as on YouTube and some blogs. Example: Nietzsche Wannabe —> tags: nihilist, nihilism, believe in nothing, etc. Mary Sue —> Mary Sue, Gary Stu, Marty Stus, perfect characters, too perfect, flawless, magic, boring.