loki issueshttps://gitlab.geist.re/pro/loki/-/issues2018-09-16T15:49:59Zhttps://gitlab.geist.re/pro/loki/-/issues/53rdfloki does not work when lokiontology plugin is active2018-09-16T15:49:59ZKrzysztof Kuttrdfloki does not work when lokiontology plugin is active"show graph" button (rdfloki) is not displayed when lokiontology plugin is installed and active"show graph" button (rdfloki) is not displayed when lokiontology plugin is installed and activehttps://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.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/50provviz: does not work with nice URLs2018-03-11T22:05:53ZKrzysztof Kuttprovviz: does not work with nice URLsIf nice URLs are set to `DokuWiki internal`, provviz generates not valid links for images: `WIKI/doku.php/lib/exe/fetch.php?media=provvis:start.svg` instead of `WIKI/lib/exe/fetch.php?media=provvis:start.svg`If nice URLs are set to `DokuWiki internal`, provviz generates not valid links for images: `WIKI/doku.php/lib/exe/fetch.php?media=provvis:start.svg` instead of `WIKI/lib/exe/fetch.php?media=provvis:start.svg`https://gitlab.geist.re/pro/loki/-/issues/49SPARQL: dot before the FILTER is required in Loki2017-12-04T16:10:18ZKrzysztof KuttSPARQL: dot before the FILTER is required in LokiIf the SPARQL query contains FILTER you have to put the dot right after the last triple before the FILTER. This is not compatible with the SPARQL definition.
```
<pl format="sparql">
PREFIX wiki: <>
SELECT ?page ?lang ?length
WHERE
...If the SPARQL query contains FILTER you have to put the dot right after the last triple before the FILTER. This is not compatible with the SPARQL definition.
```
<pl format="sparql">
PREFIX wiki: <>
SELECT ?page ?lang ?length
WHERE
{
?page a "querytest".
?page wiki:test_lang ?lang.
?page wiki:test_length ?length. <---- THIS DOT IS REQUIRED BY LOKI
FILTER (?lang!='polish')
}
ORDER BY INC(?length)
LIMIT 5
</pl>
```https://gitlab.geist.re/pro/loki/-/issues/4Apostrophes and other special characters inside Loki's tags2017-12-04T16:07:35ZKrzysztof KuttApostrophes and other special characters inside Loki's tagsInside Loki's tags there should be no apostrophes and maybe other special characters because they generate a lot of errors (some code **even from other pages!** may not be evaluated by prolog, what results in unpredictable ASK/SPARQL res...Inside Loki's tags there should be no apostrophes and maybe other special characters because they generate a lot of errors (some code **even from other pages!** may not be evaluated by prolog, what results in unpredictable ASK/SPARQL results).
1. Check which characters generate errors, maybe all? (e.g. apostrophe is bad in property: `[[name:=Monkey's Cafe]]`)
2. Update [Loki docs at official Loki page](http://loki.ia.agh.edu.pl/wiki/docs:start#loki) with an appropriate information.
3. If it is possible, correct bug to support all characters (e.g. somehow escape them before adding them into Prolog code?). If not, treat is as *it's not a bug, it's feature* ;)https://gitlab.geist.re/pro/loki/-/issues/48lokiontology: Preview button instead of Save while editing ontology2017-12-04T02:09:51ZKrzysztof Kuttlokiontology: Preview button instead of Save while editing ontologyThe same installation (copy-pasted `przepisy` wiki). Edition of `special:ontology:default`
- on localhost @kkutt : buttons Save and Cancel are available
- on kirk/loki.ia.agh.edu.pl : instead of Save there is a Preview button and there i...The same installation (copy-pasted `przepisy` wiki). Edition of `special:ontology:default`
- on localhost @kkutt : buttons Save and Cancel are available
- on kirk/loki.ia.agh.edu.pl : instead of Save there is a Preview button and there is no possibility to save changeshttps://gitlab.geist.re/pro/loki/-/issues/47Reasoning unit tests description in Loki Tour and Loki manual2017-12-04T01:34:36ZKrzysztof KuttReasoning unit tests description in Loki Tour and Loki manualhttps://gitlab.geist.re/pro/loki/-/issues/46provviz: does not work for dokuwiki internal nice URLs2017-12-04T01:33:18ZKrzysztof Kuttprovviz: does not work for dokuwiki internal nice URLshttps://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/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/43Reasoning unit tests results are not saved in PROV file2017-12-04T00:09:22ZKrzysztof KuttReasoning unit tests results are not saved in PROV filehttps://gitlab.geist.re/pro/loki/-/issues/19PROV: metrics before and after change -- these are the same values?2017-12-03T23:27:31ZKrzysztof KuttPROV: metrics before and after change -- these are the same values?PROV plugin calculates some metrics before and after page change (to see what difference was made by the change). I reviewed some values in the PROV files and it seems that **values before and after change are the same**!
Two options:
1...PROV plugin calculates some metrics before and after page change (to see what difference was made by the change). I reviewed some values in the PROV files and it seems that **values before and after change are the same**!
Two options:
1. I looked only at changes that do not affect semantics (metrics are calculated based on semantics) and everything is ok;
2. metrics before or metrics after are not calculated properly -- which ones and how to fix it?
Needs some investigation.
Edit 11.08.2017: Also, there is no need to calculate the metrics twice for each change. They could be calculated once (in some "critical section" if it is possible on the PHP level), then saved somewhere and compared to the previously saved values.https://gitlab.geist.re/pro/loki/-/issues/41PROV: division by zero when there are no semantic annotations in the wiki2017-11-26T12:50:32ZKrzysztof KuttPROV: division by zero when there are no semantic annotations in the wiki```
Warning: Invalid argument supplied for foreach() in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plugins\prov\action\metrics\metrics.php on line 53
Warning: Division by zero in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plu...```
Warning: Invalid argument supplied for foreach() in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plugins\prov\action\metrics\metrics.php on line 53
Warning: Division by zero in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plugins\prov\action\metrics\metrics.php on line 57
Warning: Invalid argument supplied for foreach() in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plugins\prov\action\metrics\metrics.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at D:\Inzynierka\DokuWikiStick_Server\dokuwiki\lib\plugins\prov\action\metrics\metrics.php:30) in D:\Inzynierka\DokuWikiStick_Server\dokuwiki\inc\common.php on line 1916
```https://gitlab.geist.re/pro/loki/-/issues/13Serious integration with HeaRT(Droid)2017-11-26T10:15:53ZKrzysztof KuttSerious integration with HeaRT(Droid)Serious integration with HeaRT as described in papers:
* http://loki.ia.agh.edu.pl/wiki/_media/docs:gjn2011embedding.pdf
* http://loki.ia.agh.edu.pl/wiki/_media/docs:wta2011howtoreason.pdf
[HeaRTDroid](https://glados.kis.agh.edu.pl/doku...Serious integration with HeaRT as described in papers:
* http://loki.ia.agh.edu.pl/wiki/_media/docs:gjn2011embedding.pdf
* http://loki.ia.agh.edu.pl/wiki/_media/docs:wta2011howtoreason.pdf
[HeaRTDroid](https://glados.kis.agh.edu.pl/doku.php?id=pub:software:heartdroid:start) will be a better choice than pure HeaRT? as it is written in Java and is under maintenance?https://gitlab.geist.re/pro/loki/-/issues/40PROV: whatWasDone and whyWasDone -- ideas for usability improvements2017-11-23T22:33:08ZKrzysztof KuttPROV: whatWasDone and whyWasDone -- ideas for usability improvements1. There is no possibility to select many options in one change.
2. Introduction of relations between Change and Goal subclasses in the ontology. E.g. `:TyposOrOtherSmallBugsFixed` are almost always done in order to do `:ErrorsFixing`
3....1. There is no possibility to select many options in one change.
2. Introduction of relations between Change and Goal subclasses in the ontology. E.g. `:TyposOrOtherSmallBugsFixed` are almost always done in order to do `:ErrorsFixing`
3. Recommendation mechanism (e.g. machine learning model or statistical model) that propose actual change and goal based on the characteristics of the change.https://gitlab.geist.re/pro/loki/-/issues/20Add unit tests for SPARQL queries from outside2017-11-08T17:18:09ZKrzysztof KuttAdd unit tests for SPARQL queries from outsideSPARQL Endpoint can be queried from outside (using the `?query=[QUERY]&format=html` parameters). Prepare unit test(s) that will check whether it works ok.SPARQL Endpoint can be queried from outside (using the `?query=[QUERY]&format=html` parameters). Prepare unit test(s) that will check whether it works ok.https://gitlab.geist.re/pro/loki/-/issues/9Spaces in attributes names/values2017-11-08T15:25:18ZKrzysztof KuttSpaces in attributes names/valuesAdd to docs:
* Attribute name/value can have a space, and DokuWiki changes it to underscore when creates links, but for prolog space is not equal with underscore!Add to docs:
* Attribute name/value can have a space, and DokuWiki changes it to underscore when creates links, but for prolog space is not equal with underscore!https://gitlab.geist.re/pro/loki/-/issues/5Add unit test for RDF export2017-11-08T15:25:00ZKrzysztof KuttAdd unit test for RDF exportAdd unit test for RDF export in http://loki.ia.agh.edu.pl/wiki/tests:loki-core:startAdd unit test for RDF export in http://loki.ia.agh.edu.pl/wiki/tests:loki-core:starthttps://gitlab.geist.re/pro/loki/-/issues/2Loki-Dev update2017-11-08T15:24:56ZKrzysztof KuttLoki-Dev update[Loki-Dev](http://loki.ia.agh.edu.pl/lokidev/) update!
* Prepare a snapshot of current version to an archive.
* Review what is important and should stay in the updated version (pages, history, media files) and what is obsolete (e.g. tuto...[Loki-Dev](http://loki.ia.agh.edu.pl/lokidev/) update!
* Prepare a snapshot of current version to an archive.
* Review what is important and should stay in the updated version (pages, history, media files) and what is obsolete (e.g. tutorials that were moved to the main loki page)
* Copy (and review) `config\acl.auth.php` and `config\users.auth.php` files
* Update DokuWiki and plugins to the latest versions