<commit_before><?php
/*
* @author: <NAME> (<EMAIL>)
* @date: 27/01/2006
* @copyright (C) 2006 <NAME> (eScire.com)
* @license http://www.gnu.org/copyleft/lgpl.html GNU/LGPL
*/
require_once ('tiki-setup.php');
include_once ('lib/aulawiki/workspacemoduleslib.php');
require_once('lib/aulawiki/workspacelib.php');
require_once('lib/aulawiki/wstypeslib.php');
require_once('lib/modules/modlib.php');

if ($tiki_p_admin != 'y' && $tiki_p_configure_modules != 'y') {
	$smarty->assign('msg', tra("You do not have permission to use this feature"));

	$smarty->display("error.tpl");
	die;
}

if (!isset($_SESSION["currentWorkspace"]) && !isset($_REQUEST["workspaceId"])) {
	$smarty->assign('msg', tra("Workspace not selected"));
	$smarty->display("error.tpl");
	die;
}
<commit_msg>*** empty log message ***<commit_after><?php
/*
* @author: <NAME> (<EMAIL>)
* @date: 27/01/2006
* @copyright (C) 2006 <NAME> (eScire.com)
* @license http://www.gnu.org/copyleft/lgpl.html GNU/LGPL
*
*/
require_once ('tiki-setup.php');
include_once ('lib/aulawiki/workspacemoduleslib.php');
require_once('lib/aulawiki/workspacelib.php');
require_once('lib/aulawiki/wstypeslib.php');
require_once('lib/modules/modlib.php');

if ($tiki_p_admin != 'y' && $tiki_p_configure_modules != 'y') {
	$smarty->assign('msg', tra("You do not have permission to use this feature"));

	$smarty->display("error.tpl");
	die;
}

if (!isset($_SESSION["currentWorkspace"]) && !isset($_REQUEST["workspaceId"])) {
	$smarty->assign('msg', tra("Workspace not selected"));
	$smarty->display("error.tpl");
	die;
}

{'fraction_non_alphanumeric': 0.217866323907455, 'fraction_numerical': 0.015424164524421594, 'mean_word_length': 6.34433962264151, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6537530', 'n_tokens_mistral': 607, 'n_tokens_neox': 588, 'n_words': 98}