Last modified: 2012-11-07 07:50:32 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).
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).
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.
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.