[OWW-Discuss] Search changes are now enabled in OWW
Bill F
bill.altmail at gmail.com
Sat Feb 16 20:04:58 EST 2008
I'll update this in the docs but here's the changes.
1. There's a new search button. It's under the current "search" and "go"
buttons. If you use the new button ("Search From Page"), the current page
will be used as a starting point for all searches.
2. When you look at the results, you'll note that there's a new line at the
top of the form. It identifies what page the search was "based" upon as well
as providing a way to go back to that page. Clicking on the label returns
you to the 'base' page.
3. The base page is now available at the bottom of the page to change if you
want to search from a different page.
4. Clicking through the search pages will continue to allow you to use
explore the results from the base page. All of the page links reflect this.
In other words, the page won't forget that you are searching a subset of
the pages. But every page view also allows you to reset the search term,
the base page, or the namespaces at the bottom of thee page.
5. This same capability is available in a tag similar to the one I did
earlier in the week for Google.
6. The name of the tag is "<sitesearch>".
7. You can specify that the tag to either search with the current page as
the 'base page' or you can specify an alternate page like this:
<sitesearch>OpenWetWare:Software</sitesearch>
8. If the namespace of the page to be used as the base page is not in the
default namespace, you need to include it between the <sitesearch> tags.
9. The changes have been done in a way that no mods to the underlying
MediaWiki components, with one exception.
A. The current SpecialSearch.php page used to display the output from the
search needs to be modified. The mods will allow the changes made on
OpenWetWare.php to support Google search.
10. There also is a change in search in general. Wildcard searches (a search
term ending in an asterisk) are now supported. I may have to tweak this a
bit but it does make search more useful.
Thanks.
B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/oww-discuss/attachments/20080216/c9b8a686/attachment.htm
More information about the Oww-discuss
mailing list