Last modified: 2010-07-04 17:19:36 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 T13872, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11872 - Searching for a term with # in it is not handled gracefully
Searching for a term with # in it is not handled gracefully
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.11.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-05 04:15 UTC by Ryan Rawdon
Modified: 2010-07-04 17:19 UTC (History)
2 users (show)

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


Attachments
Proposed patch (1.94 KB, patch)
2008-08-05 20:52 UTC, Max Semenik
Details

Description Ryan Rawdon 2007-11-05 04:15:49 UTC
When searching on any Mediawiki installation for a search term with # in it, the results page does not handle this special name gracefully.  It offers to let the user create the page, but the link is broken and doesn't even take them to a form to create the page.  This special search term seems to be treated differently than if you searched for, for example "foo>bar."  "foo#bar" results in the case I am talking about.

Any Mediawiki installation seems to have this problem, including Wikipedia's is slightly different.

According to the naming conventions/technical limitations, this shouldn't be allowed and should be handled just as any of the other special characters are
Comment 1 Ryan Rawdon 2007-11-05 04:24:28 UTC
I should also mention that if this is the intended behavior, then there is definitely a bug when trying to search for "#foo"

The results page gives a "Create page" link, but it isn't handled properly for the case where the search term starts with #.
Comment 2 Max Semenik 2008-08-05 20:52:57 UTC
Created attachment 5119 [details]
Proposed patch
Comment 3 Max Semenik 2009-09-02 15:27:55 UTC
Appears to be fixed.

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


Navigation
Links