Last modified: 2010-06-20 05:20:02 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 T26035, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24035 - #ask returns prop values with space substituted for _
#ask returns prop values with space substituted for _
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-18 19:21 UTC by MK
Modified: 2010-06-20 05:20 UTC (History)
0 users

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


Attachments

Description MK 2010-06-18 19:21:29 UTC
For example, if I have a property set:

[[propX::this_value]]

It comes back as "this value".  If you then try to use that in a search:

[[propX::this value]]

it does not match.  This is a problem if you do something like this:

{{#ask:[[propX::+]]|?propX}}

You get a list of all pages with the value for propX, some of which will be "that value".  But if you want to narrow the list by doing this:

{{#ask:[[propX::that value]]|?propX}}

Will return nothing, since those pages actually had propX::that_value
Comment 1 Markus Krötzsch 2010-06-19 09:03:47 UTC
Can you reproduce this behaviour on sandbox.semantic-mediawiki.org?
Comment 2 MK 2010-06-19 14:03:03 UTC
Ah, no.  I just realized the property is not set type String, but it's listed as part of a property page that is a String -- I'm using it to fetch the "allowed values" which is why I was thinking "but it's a string...".  Whew.

So sorry about that -- this is not a bug!  BTW I get a database error viewing:
http://sandbox.semantic-mediawiki.org/wiki/Special:Properties
Comment 3 Markus Krötzsch 2010-06-20 05:20:02 UTC
Ok, closing this bug report then. (I also fixed the other problem on the sandbox, this was just an installation problem on that site.)

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


Navigation
Links