<commit_before><?php
//$Header: /cvsroot/tikiwiki/tiki/modules/mod-article_topics.php,v 1.1 2005-12-13 13:57:40 sylvieg Exp $
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  header("location: index.php");
  exit;
}
if (!function_exists("mod_article_topics_help")) {
	function mod_article_topics_help() {
		return tra('list topics with links to the articles');
	}
}

$smarty->assign('module_title', isset($module_params["title"]) ? $module_params["title"] : tra("Article Topics"));

global $artlib; include_once('lib/articles/artlib.php');

$listTopics = $artlib->list_topics();
$smarty->assign('listTopics', $listTopics);

?>
<commit_msg>add nonums param<commit_after><?php
//$Header: /cvsroot/tikiwiki/tiki/modules/mod-article_topics.php,v 1.2 2005-12-15 14:16:13 sylvieg Exp $
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  header("location: index.php");
  exit;
}
if (!function_exists("mod_article_topics_help")) {
	function mod_article_topics_help() {
		return tra('list topics with links to the articles');
	}
}

$smarty->assign('module_title', isset($module_params["title"]) ? $module_params["title"] : tra("Article Topics"));

global $artlib; include_once('lib/articles/artlib.php');

$listTopics = $artlib->list_topics();
$smarty->assign('listTopics', $listTopics);
$smarty->assign('nonums', isset($module_params["nonums"]) ? $module_params["nonums"] : 'n');
?>

{'fraction_non_alphanumeric': 0.17759388924252067, 'fraction_numerical': 0.020369191597708464, 'mean_word_length': 6.521531100478469, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4920935', 'n_tokens_mistral': 569, 'n_tokens_neox': 543, 'n_words': 110}