Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pro
loki
Commits
7d2f36c5
Commit
7d2f36c5
authored
3 years ago
by
Krzysztof Kutt
Browse files
Options
Download
Email Patches
Plain Diff
fixes for the newest DokuWiki
parent
0ae044e8
master
xttviewer-2022-03-23
lokiontology-2023-03-15
lokiontology-2022-03-23
loki-2023-03-15
loki-2022-03-23
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+1
-1
README.md
loki/action.php
+1
-1
loki/action.php
loki/plugin.info.txt
+3
-3
loki/plugin.info.txt
loki/syntax.php
+8
-8
loki/syntax.php
with
13 additions
and
13 deletions
+13
-13
README.md
View file @
7d2f36c5
Loki repo
=========
See official page: http://loki.ia.agh.edu.pl/wiki/ and GEIST private page: https://geist.re/prv:phd:kkt:tasks:loki_history for more information.
\ No newline at end of file
See official page: https://loki.re/ (public) and GEIST private page: https://geist.re/prv:phd:kkt:tasks:loki_history for more information.
This diff is collapsed.
Click to expand it.
loki/action.php
View file @
7d2f36c5
...
...
@@ -22,7 +22,7 @@ class action_plugin_loki extends DokuWiki_Action_Plugin
/**
* Register the events
*/
function
register
(
&
$controller
)
function
register
(
Doku_Event_Handler
$controller
)
{
$controller
->
register_hook
(
'ACTION_ACT_PREPROCESS'
,
'BEFORE'
,
$this
,
'exportrdf'
,
array
());
$controller
->
register_hook
(
'IO_WIKIPAGE_WRITE'
,
'BEFORE'
,
$this
,
'delete_loki_page'
,
array
());
...
...
This diff is collapsed.
Click to expand it.
loki/plugin.info.txt
View file @
7d2f36c5
base loki
author GEIST Research Group
email
geist@agh.edu.pl
date 20
17-09-19
email
krzysztof.kutt@gmail.com
date 20
22-03-23
name Loki
desc Semantic plugin for DokuWiki
url http://loki.
ia.agh.edu.pl
/
url http
s
://loki.
re
/
This diff is collapsed.
Click to expand it.
loki/syntax.php
View file @
7d2f36c5
...
...
@@ -8,7 +8,7 @@
if
(
!
defined
(
'DOKU_INC'
))
define
(
'DOKU_INC'
,
realpath
(
dirname
(
__FILE__
)
.
'/../../'
)
.
'/'
);
require_once
(
DOKU_INC
.
'inc/init.php'
);
require_once
(
DOKU_INC
.
'vendor/
easybook
/geshi/geshi.php'
);
require_once
(
DOKU_INC
.
'vendor/
geshi
/geshi/
src/
geshi.php'
);
if
(
!
defined
(
'DOKU_PLUGIN'
))
define
(
'DOKU_PLUGIN'
,
DOKU_INC
.
'lib/plugins/'
);
require_once
(
DOKU_PLUGIN
.
'syntax.php'
);
include_once
DOKU_INC
.
'lib/plugins/loki/utl/loki_utl.php'
;
...
...
@@ -26,11 +26,11 @@ class syntax_plugin_loki extends DokuWiki_Syntax_Plugin
{
return
array
(
'author'
=>
'GEIST Research Group'
,
'email'
=>
'
geist@agh
.edu.pl'
,
'date'
=>
'20
11-04-1
3'
,
'name'
=>
'Loki Plugin (syntax component)'
,
'desc'
=>
'Semantic plugin for DokuWiki'
,
'url'
=>
'http://loki.
ia.agh.edu.pl
/download
/
loki.zip'
,
'email'
=>
'
krzysztof.kutt@uj
.edu.pl'
,
'date'
=>
'20
22-03-2
3'
,
'name'
=>
'Loki Plugin (syntax component)'
,
'desc'
=>
'Semantic plugin for DokuWiki'
,
'url'
=>
'http
s
://loki.
re/wiki/_media
/download
s:
loki.zip'
,
);
}
...
...
@@ -73,7 +73,7 @@ class syntax_plugin_loki extends DokuWiki_Syntax_Plugin
/**
* Handle the match
*/
function
handle
(
$match
,
$state
,
$pos
,
&
$handler
)
function
handle
(
$match
,
$state
,
$pos
,
Doku_Handler
$handler
)
{
switch
(
$state
)
{
...
...
@@ -136,7 +136,7 @@ class syntax_plugin_loki extends DokuWiki_Syntax_Plugin
}
function
render
(
$mode
,
&
$renderer
,
$data
)
function
render
(
$mode
,
Doku_Renderer
$renderer
,
$data
)
{
global
$conf
,
$goal
,
$scope
,
$file
,
$url
,
$code
,
$cache
,
$rdf
,
$msgerr
,
$trace
,
$format
;
global
$utl
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help