Last modified: 2012-11-07 07:50:32 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 T26945, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24945 - Special:ask drops unnamed properties
Special:ask drops unnamed properties
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: devayon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-26 17:13 UTC by kevinaj
Modified: 2012-11-07 07:50 UTC (History)
2 users (show)

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


Attachments

Description kevinaj 2010-08-26 17:13:57 UTC
When performing a query through Special:ask or when attempting to obtain further results from an inline query, Special:ask will forget about any "?# -" specified in the query. This is the suggested means of obtaining the title of the resulting page without having it linked.

This occurs even in the sandbox at semantic-mediawiki.org.

To recreate this issue:

1. In the sandbox query all pages with [[Category:Person]] and return "?name" and "#? -"

2. Notice there are three columns returned: the link to the page, the person's name, and the name of the page with no link. 

3. Click Next for results 21-40

4. Notice there are only two columns returned: the link to the page, and the person's name

Somewhere along the line, the "?# -" was eaten... This is especially vital to templates that make use of the "?# -" property in a variable because it may shift the variable used by all the other properties (If its not the last property queried for).
Comment 1 Markus Krötzsch 2010-08-30 14:10:04 UTC
Indeed, these statements simply did not get serialised when creating the link to further results. Fixed now in SVN (and soon in SMW 1.5.2).
Comment 2 kevinaj 2010-08-31 22:50:01 UTC
I just updated to revision 72059. The issue is still present, but not quite as bad. :-) 

"?#" is interpreted correctly the first time (as it was before), but after that it is replaced with just "?". Thus clicking "Find Results" a second time without making changes or clicking "Next" still does not work properly.

The good news is that the question mark isn't stripped completely.
Comment 3 MWJames 2012-11-07 07:50:32 UTC
It is unknown if this bug still relates the current SMW 1.8 therefore it is set to being fixed.

Please feel free to reopen this bug again if it applies to SMW 1.8.

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


Navigation
Links