Last modified: 2005-04-10 00:15:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1853 - Search: mishanding? of quote character (double-quotation mark)
Search: mishanding? of quote character (double-quotation mark)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Main_Page
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-09 10:56 UTC by BugMeNotLovesWiki
Modified: 2005-04-10 00:15 UTC (History)
0 users

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


Attachments

Description BugMeNotLovesWiki 2005-04-09 10:56:49 UTC
To reproduce this 'bug':
    - visit URL: http://en.wikipedia.org/wiki/Main_Page
    - in search field enter: 
        "foo"
      (including double-quotation marks ... BTW foo is actually a legitimate,
existing article on wiki)
    - press enter

Expected behaviour:
    - delivered to URL:
        http://en.wikipedia.org/wiki/Foo

Observed Behaviour:
    - Delivered to 'Search results - No page with that title exists' page:
      http://en.wikipedia.org/wiki/Special:Search?search=%22foo%22&go=Go

(Note that searching on:
    foo
 [i.e. without the double-quotation marks] gives the 'correct', expected behaviour)

---- 
Thoughts:
    - it seems that double-quoatation marks are being mishandled in search?
    - maybe a bug, maybe not a bug .... but failing to locate "foo" is not what
I would consider 'expected benaviour'
    - good or bad google has defined what is search, and the syntax as well
    - suggest that google's method of handling of double-quotation marks be
considered and adopted
...
    - unless it's possible that 
        "foo" 
      and 
        foo
      might be different articles? I'm not familiar with the rules of
nomenclature for wiki article names.

(Thanks for wiki folks! - If needed I can be emailed at freeman_once att reazon
dott dyndnz dott org ... use letter 'esss' instead of letter 'zeee')
Comment 1 Brion Vibber 2005-04-10 00:15:35 UTC
I'd been intending to add this after some earlier search-related feedback but forgot 
to check it in yet. Fixed now in CVS HEAD and REL1_4 and live on Wikimedia sites.

It is in fact possible for "foo" and Foo to be different pages. :) I've set it to try 
trimming the quotes on a double-quoted term if the first set of checks don't find a 
match. This seems to work reasonably well.

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


Navigation
Links