Commit 7d2f36c5 authored by Krzysztof Kutt's avatar Krzysztof Kutt
Browse files

fixes for the newest DokuWiki

Showing with 13 additions and 13 deletions
+13 -13
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.
......@@ -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());
......
base loki
author GEIST Research Group
email geist@agh.edu.pl
date 2017-09-19
email krzysztof.kutt@gmail.com
date 2022-03-23
name Loki
desc Semantic plugin for DokuWiki
url http://loki.ia.agh.edu.pl/
url https://loki.re/
......@@ -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' => '2011-04-13',
'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' => '2022-03-23',
'name' => 'Loki Plugin (syntax component)',
'desc' => 'Semantic plugin for DokuWiki',
'url' => 'https://loki.re/wiki/_media/downloads: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;
......
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