The page is not visible in the results if the query is placed on it
Context: The query is placed on the page xxx
. Page xxx
contains some semantic data.
Problem: Semantic data physically below the query does not exist for the query.
To reproduce:
- Create the page:
~~NOCACHE~~
[[category:querytest| ]]
Title: [[test_title:=Some title]]
Some text
Data:
* Year: [[test_year:=dzisiaj]]
* Author: [[test_autor:=Nieznany]]
* Location: [[test_location:=internet]]
* Lang: [[test_lang:=english]]
* Length: [[test_length:=1]]
* Other page: [[test_other_page::tests:loki-queries:page1]]
- Put the query somewhere:
{{#ask: [[category:querytest]] |
?test_title=Title |
?test_year=Year |
?test_lang |
?test_location |
?test_length |
?test_other_page |
default=No results! |
mainlabel=Main label |
intro=Text before results |
outro=Text after results
}}
- If the query is placed at the top, the page
xxx
does not appear in the results. If the query is placed somewhere in the middle of the page, in the results only the annotations above the query appears (as a result if the query is placed at the bottom everything looks fine).