loki issueshttps://gitlab.geist.re/pro/loki/-/issues2017-11-08T14:55:11Zhttps://gitlab.geist.re/pro/loki/-/issues/29SPARQL SELECT query returns `no` instead of table with results2017-11-08T14:55:11ZKrzysztof KuttSPARQL SELECT query returns `no` instead of table with resultsPage text (saved as `start:xxx`):
```
~~NOCACHE~~
[[category:task| ]]
Tytuł: [[test_title:=Miejsce na twoją reklamę]]
Miejsce na treść twojej reklamy
Dane:
* Rok: [[test_year:=dzisiaj]]
* Autor: [[test_autor:=Nieznany]]
* Loka...Page text (saved as `start:xxx`):
```
~~NOCACHE~~
[[category:task| ]]
Tytuł: [[test_title:=Miejsce na twoją reklamę]]
Miejsce na treść twojej reklamy
Dane:
* Rok: [[test_year:=dzisiaj]]
* Autor: [[test_autor:=Nieznany]]
* Lokalizacja: [[test_location:=internet]]
* Język: [[test_lang:=english]]
* Długość: [[test_length:=1]]
* Inna strona: [[test_other_page::tests:loki-queries:page1]]
```
SPARQL query (in SPARQL Endpoint / within the wiki page):
```
PREFIX wiki: <>
SELECT ?p
WHERE {
?p a "task" .
}
```
Result: **no**
but should return the table with at least one page `start:xxx`https://gitlab.geist.re/pro/loki/-/issues/44wikigame: plugin spoils the knowledge in prolog2017-12-04T01:08:03ZKrzysztof Kuttwikigame: plugin spoils the knowledge in prologLoki and wikigame plugins are installed.
Change a wiki page - its knowledge is saved in a prolog file in `lib/plugins/loki/tmp/loki/`. After some time in many of these files the contents are replaced by the contents of sidebar saved by t...Loki and wikigame plugins are installed.
Change a wiki page - its knowledge is saved in a prolog file in `lib/plugins/loki/tmp/loki/`. After some time in many of these files the contents are replaced by the contents of sidebar saved by the wikigame, i.e. only one line `wiki_header('TOP 10',2).`https://gitlab.geist.re/pro/loki/-/issues/45wikigame: USER_PATTERN is not properly defined2017-12-04T01:15:10ZKrzysztof Kuttwikigame: USER_PATTERN is not properly defined`USER_PATTERN` in `pattern.php` assumes that everythings go line by line in a resulting file. It is a wrong assumption. Especially for `EVALUATED_BY_USER` what can appear in any place in the file. Wikigame plugin should probably use some...`USER_PATTERN` in `pattern.php` assumes that everythings go line by line in a resulting file. It is a wrong assumption. Especially for `EVALUATED_BY_USER` what can appear in any place in the file. Wikigame plugin should probably use some library that parses RDF.
Due to the fact that everything depends on `USER_PATTERN`, the plugin is not usable in its current state...https://gitlab.geist.re/pro/loki/-/issues/51very big loki tmp files (not deleted automatically)2018-08-09T12:33:35ZKrzysztof Kuttvery big loki tmp files (not deleted automatically)Loki created very big tmp files (for SWI-Prolog?) and did not delete them even after 4 months...
The whole DokuWiki with all plugins and user-created content has 53 MB, but this tmp files took an additional 5.4 GB on the disk!
```
> ls...Loki created very big tmp files (for SWI-Prolog?) and did not delete them even after 4 months...
The whole DokuWiki with all plugins and user-created content has 53 MB, but this tmp files took an additional 5.4 GB on the disk!
```
> ls -alh WIKI/lib/plugins/loki/tmp
-rw-rw---- 1 www-data www-data 1.4K May 9 10:30 lokidokuwiki.code0b231ff21c7d73d38a525dd6f1408b37
-rw-rw---- 1 www-data www-data 1.4K May 9 10:40 lokidokuwiki.code1c32066707e047462ca823433766a51b
-rw-rw---- 1 www-data www-data 1.4K Apr 5 08:19 lokidokuwiki.code1e2daae88bd2349a110146626e1f4b0c
-rw-rw---- 1 www-data www-data 1.4K Apr 17 17:32 lokidokuwiki.code38deac0a9644d7c10e840df795687268
-rw-rw---- 1 www-data www-data 1.4K Apr 5 08:21 lokidokuwiki.code43ca8e3247df0b588bf2810e4af5201b
-rw-rw---- 1 www-data www-data 1.4K Apr 5 08:50 lokidokuwiki.code45e55f992ecc4b3c2b4037c23a48208c
-rw-rw---- 1 www-data www-data 1.4K May 9 10:35 lokidokuwiki.code46fdcb10b732fa257df157772247216d
-rw-rw---- 1 www-data www-data 1.4K May 9 11:06 lokidokuwiki.code7bb9824f8b3355ddf7d64b9ac95cb137
-rw-rw---- 1 www-data www-data 1.4K Apr 5 08:18 lokidokuwiki.codeb4ea38ac0473d5d96747ab1555beea36
-rw-rw---- 1 www-data www-data 1.4K May 9 10:49 lokidokuwiki.coded651f78ea2d29605ea62423f9bbc14d7
-rw-rw---- 1 www-data www-data 1.4K Apr 5 08:25 lokidokuwiki.codede97aa6bf0742f07acfbb7e2be10cfeb
-rw-rw---- 1 www-data www-data 1.4K May 9 10:32 lokidokuwiki.codef86bd4f9378b72e85be668af726387af
-rw-r--r-- 1 www-data www-data 485M May 9 10:58 lokidokuwiki.loki0b231ff21c7d73d38a525dd6f1408b37
-rw-r--r-- 1 www-data www-data 485M May 9 11:11 lokidokuwiki.loki1c32066707e047462ca823433766a51b
-rw-r--r-- 1 www-data www-data 485M Apr 5 08:49 lokidokuwiki.loki1e2daae88bd2349a110146626e1f4b0c
-rw-r--r-- 1 www-data www-data 485M Apr 17 17:48 lokidokuwiki.loki38deac0a9644d7c10e840df795687268
-rw-r--r-- 1 www-data www-data 485M Apr 5 08:51 lokidokuwiki.loki43ca8e3247df0b588bf2810e4af5201b
-rw-r--r-- 1 www-data www-data 485M Apr 5 09:07 lokidokuwiki.loki45e55f992ecc4b3c2b4037c23a48208c
-rw-r--r-- 1 www-data www-data 485M May 9 11:06 lokidokuwiki.loki46fdcb10b732fa257df157772247216d
-rw-r--r-- 1 www-data www-data 180M May 9 11:14 lokidokuwiki.loki7bb9824f8b3355ddf7d64b9ac95cb137
-rw-r--r-- 1 www-data www-data 485M Apr 5 08:47 lokidokuwiki.lokib4ea38ac0473d5d96747ab1555beea36
-rw-r--r-- 1 www-data www-data 439M May 9 11:14 lokidokuwiki.lokid651f78ea2d29605ea62423f9bbc14d7
-rw-r--r-- 1 www-data www-data 485M Apr 5 08:54 lokidokuwiki.lokide97aa6bf0742f07acfbb7e2be10cfeb
-rw-r--r-- 1 www-data www-data 485M May 9 11:02 lokidokuwiki.lokif86bd4f9378b72e85be668af726387af
```https://gitlab.geist.re/pro/loki/-/issues/52Loki doesn't work with DokuWiki 2018-04-22a "Greebo"2018-08-31T11:43:27ZKrzysztof KuttLoki doesn't work with DokuWiki 2018-04-22a "Greebo"As in title. Pages are blank.As in title. Pages are blank.