Page MenuHomePhabricator

Attributes with Underscores do not show up when doing Special:SeachByAttribute
Closed, ResolvedPublic

Description

Author: mediawiki

Description:
I created a lot of attributes with an embedded underscores.

When I go to the article factbox and click on the magnifying glass next to the attribute name, it says there are no results for the attribute.

When I manually type in the underscore in the SearchByAttribute page, however, it does show up.

For example. One attrib I have is END_TMS.

In the article that has the attrib AttribName END_TMS, clicking on the magnifying glass gives:

http://localhost/mediawiki/index.php/Special:SearchByAttribute/Attribname:%3DEND_TMS

This results in the search being done against "END TMS" and not "END_TMS" resulting in an empty result set.

If I now manually type in "END_TMS" in the Special:SearchByAttribute page, it works as expected.


Version: unspecified
Severity: normal

Details

Reference
bz10606

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:53 PM
bzimport set Reference to bz10606.
bzimport added a subscriber: Unknown Object (MLST).

Can you open up web browsing to your machine and give us an IP? Localhost takes us nowhere...

I cannot reproduce this bug in the current SVN version. Should be fixed by next release.