Last modified: 2008-12-13 06:00:52 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 T18622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16622 - Can't query for property with punctuation (a period) in name
Can't query for property with punctuation (a period) in name
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
http://sandbox.semantic-mediawiki.org...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-13 02:55 UTC by S Page
Modified: 2008-12-13 06:00 UTC (History)
0 users

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


Attachments

Description S Page 2008-12-13 02:55:21 UTC
I created a boolean [[Property:Target for 9.1]], note the period or "full stop" in the name. All my queries for this fail in SMW 1.2.1a-SVN, never matching.

I reproduced on sandbox (SMW Version 1.5a-SVN) with a page property named [[Punctuation.Test]].

Seems to work, in factbox, Special:Browse, "Pages using the property" list, Special:SearchByProperty .  But doesn't work in inline queries or Special:Ask, querying for any value fails to match anything.
Comment 1 S Page 2008-12-13 06:00:52 UTC
D'oh, of course the dot makes it look like property chaining.

http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains
says
"In the rare case that a property should contain a dot in its name, one may start the query with a space to prevent SMW from interpreting this dot in a special way."

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


Navigation
Links