Last modified: 2013-07-08 16:40:29 UTC
Semantic Bundle (Version 1.8alpha) Semantic MediaWiki (Version 1.8.0.1) The inline queries execute successfully but an error icon with message: The part "|1" of the query was not understood. Results might not be as expected. The part "]]" of the query was not understood. Results might not be as expected. The HTML entities and horizontal bar above is how the message displays. The "1" corresponds to the value of the {{{1}}} parameter used in an #ask query. While investigating, hard-coding a value in place of {{{1}}} removes the error icon/message. I also print-out the {{{1}}} parameter to show that it indeed has a value. I cannot find a work-around to avoid the error icon/message. I set this bug to Major since it fills the page with many of the error icons. **This bug is demonstrated on my server now at: http://ec2-54-245-46-108.us-west-2.compute.amazonaws.com/wiki/index.php/bug1 Please feel free to confirm this on the above server that I provide just for this bug. If it is down, please ask and I'll start it back up. Thanks, Al
<noinclude> Description... </noinclude><includeonly> <ol> {{#ask:[[ref for page::{{PAGENAME}}]] |?refId |?author |headers=hide |mainlabel=- |format=template |template=ShowRefObject2 }} </ol> </includeonly>
Can you create a minimal reproduction case? For instance, does this occur when you omit the ol tags?
Ok, I reduced it down more removing formatting, etc.. Still the same prob. Side Note: I also noticed that when you use format=list with a query tamplate, the 1st param {{{1}}} is no longer the pagename. I didn't notice this exception in the docs. Thanks
Cited source [1] is unavailable for verification and any issue should be made in connection with the available master (currently SMW 1.9). [1] http://ec2-54-245-46-108.us-west-2.compute.amazonaws.com/wiki/index.php/bug1