Last modified: 2007-10-22 20:53:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9318, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7318 - Problem with namespace specific search
Problem with namespace specific search
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Eneas
http://de.wikipedia.org/wiki/Benutzer...
:
: 7574 (view as bug list)
Depends on:
Blocks: 11742
  Show dependency treegraph
 
Reported: 2006-09-14 06:38 UTC by Eneas
Modified: 2007-10-22 20:53 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Replaced "searchx" with "fulltextsearch" in Inputpbox.php (7.63 KB, text/plain)
2006-12-20 12:07 UTC, Eneas
Details
Make fulltextsearch with inputbox available (737 bytes, patch)
2006-12-20 18:24 UTC, Eneas
Details

Description Eneas 2006-09-14 06:38:22 UTC
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,...
Comment 1 Raimond Spekking 2006-09-14 06:57:08 UTC
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 

2. Extend the search term with the requested namespace
   Disadvantage: maybe not possible with 2 or more requested namespaces
Comment 2 Eneas 2006-09-14 07:06:36 UTC
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.
Comment 3 Eneas 2006-11-10 14:13:48 UTC
*** Bug 7574 has been marked as a duplicate of this bug. ***
Comment 4 Eneas 2006-12-20 12:07:15 UTC
Created attachment 2911 [details]
Replaced "searchx" with "fulltextsearch" in Inputpbox.php

I dind't test the patch beacause I don't know how to. Can somebody help me?
Comment 5 Rob Church 2006-12-20 16:55:45 UTC
Comment on attachment 2911 [details]
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?
Comment 6 Eneas 2006-12-20 18:24:39 UTC
Created attachment 2913 [details]
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)
Comment 7 Eneas 2006-12-21 12:06:42 UTC
The patch works correctly. I tested it today. What are the next steps? 
Comment 8 Leon Weber 2007-01-31 15:27:54 UTC
Applied in SVN trunk, r19700.
Comment 9 Leon Weber 2007-01-31 15:29:37 UTC
Man, I always forget to credit the authors in the commit messages for their
patches when they're from Bugzilla :-(
I'm sorry.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links