Problem with namespace specific search
Closed, ResolvedPublic

Description

Author: Eneas

Description:
At the attached link you can see an inputbox which should only search trough the
help namespace. But when you search specific terms you get articles of the same
name.

Examples: Vorlagen, Programmierung,...


Version: unspecified
Severity: normal
URL: http://de.wikipedia.org/wiki/Benutzer:Eneas/Bug-Inputbox

bzimport set Reference to bz7318.
bzimport created this task.Via LegacySep 14 2006, 6:38 AM
Raymond added a comment.Via ConduitSep 14 2006, 6:57 AM

If the searchterm is an exact match of an article in NS0 then this article will
be shown. It seams, that the inputbox button has the function of the "Go" button.

If the search term isn't in NS0 then the search works as requested. Example:
"Diskussionsseiten"

Possible solutions:

  1. Change the inputbox button to the function of the "Search" button Disadvantage: If the search term exists in the requested namespace one more

click is required

  1. Extend the search term with the requested namespace Disadvantage: maybe not possible with 2 or more requested namespaces
bzimport added a comment.Via ConduitSep 14 2006, 7:06 AM

Eneas wrote:

Due to usability reasons I would suggest to take the frist solution. Users
usually expect a list of search results because they are used to it because of
internet search engines.

bzimport added a comment.Via ConduitNov 10 2006, 2:13 PM

Eneas wrote:

*** Bug 7574 has been marked as a duplicate of this bug. ***

bzimport added a comment.Via ConduitDec 20 2006, 12:07 PM

Eneas wrote:

Replaced "searchx" with "fulltextsearch" in Inputpbox.php

I dind't test the patch beacause I don't know how to. Can somebody help me?

attachment inputbox-patch.php ignored as obsolete

bzimport added a comment.Via ConduitDec 20 2006, 4:55 PM

robchur wrote:

Comment on attachment 2911
Replaced "searchx" with "fulltextsearch" in Inputpbox.php

Please submit patches (SVN unified diff files) against the changed file, rather
than the entire file itself.

To test the patch is quite simple; does this change to the file fix the
reported problem or introduce the requested functionality, and does it do it
without breaking anything else?

bzimport added a comment.Via ConduitDec 20 2006, 6:24 PM

Eneas wrote:

Make fulltextsearch with inputbox available

Here is the requested diff-file. The patch will not break anything. It should
also fix the reported problem. (I still didn't test it)

Attached: inputbox-patch.php

bzimport added a comment.Via ConduitDec 21 2006, 12:06 PM

Eneas wrote:

The patch works correctly. I tested it today. What are the next steps?

bzimport added a comment.Via ConduitJan 31 2007, 3:27 PM

leon wrote:

Applied in SVN trunk, r19700.

bzimport added a comment.Via ConduitJan 31 2007, 3:29 PM

leon wrote:

Man, I always forget to credit the authors in the commit messages for their
patches when they're from Bugzilla :-(
I'm sorry.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.