$action_type, 'subject_guid'=>$subject_guid, 'object_guid' =>$object_guid, 'item'=>$res
$user = get_entity($vars['item']->subject_guid);
$wiki = get_entity($vars['item']->object_guid);
$parts = explode("/", $vars['item']->action_type);
$id = $wiki->container_guid;
$namespace = "".$parts[2]."";
if ($wiki_owner = get_entity($wiki->container_guid))
$wikifrom = sprintf(elgg_echo("dokuwiki:wikifrom"), $wiki_owner->name);
else
$wikifrom = elgg_echo("dokuwiki:sitewiki");
if ($wiki)
$wikiname = "".$wikifrom."";
if ($user)
$user_node = "" . $user->name . "";
echo sprintf(elgg_echo("dokuwiki:river:modified"), $user_node, $namespace, $wikiname);
?>