To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit dbc406ca authored by vermeul's avatar vermeul
Browse files

Update README.md

parent 48cfb0a1
......@@ -107,19 +107,28 @@ while annotation (b) will contain this part of the WikiText:
The output will be a sortable Wikitable which contains comment, category and
the extracted text.
# query annotations
# query annotations
**Example**: find all annotations
- with category `kat_parent1/kat_child1`
- but not `kat_parent2/kat_child2`
- comment contains either «comment1» or «comment2»
- wiki_text contains the word «bla»
Example: find all pages with category kat_parent1:kat_child1 but not !kat_parent2:kat_child2 which contain either comment1 OR comment2 and where wiki_text contains the word «bla»:
```
{{#annotask:
category=[kat_parent1/kat_child1, !kat_parent2/kat_child2],
comment={comment1, comment2},
wiki_text=[*bla*]
[
[category:kat_parent1/kat_child1],
[category!:kat_parent2/kat_child2],
[comment:comment1, comment2],
[wiki_text~:*bla*]
]
}}
```
Result:
```Page (link to page), comment, category, wiki_text```
The result should be a sortable table containing the following data:
```link to page and section | comment | category | wiki_text```
**Problem**: how to provide a deep link, not just to the page but to the right paragraph which was annotated.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment