<commit_before><?php

$wgLogo = "/mediawiki/extensions/steep-mediawiki-gadgets/steep-logo.png";

$wgEmailConfirmToEdit = true;
$wgEmergencyContact = "<EMAIL>";
$wgPasswordSender = "<EMAIL>";

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO

$wgMainCacheType = CACHE_ACCEL;

$wgEnableUploads = true;

# InstantCommons allows wiki to use images from http://commons.wikimedia.org
$wgUseInstantCommons = true;

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;

enableSemantics('smartsteep.eu');

require_once "$IP/extensions/Cite/Cite.php";
require_once "$IP/extensions/Gadgets/Gadgets.php";
require_once "$IP/extensions/Interwiki/Interwiki.php";
require_once "$IP/extensions/WikiEditor/WikiEditor.php";
require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";
require_once "$IP/extensions/VisualEditor/VisualEditor.php";
require_once "$IP/extensions/LiquidThreads/LiquidThreads.php";
require_once "$IP/extensions/SemanticForms/SemanticForms.php";
require_once "$IP/extensions/SemanticFormsInputs/SemanticFormsInputs.php";
require_once "$IP/extensions/SemanticDrilldown/SemanticDrilldown.php";
require_once "$IP/extensions/InputBox/InputBox.php";
require_once "$IP/extensions/GraphViz/GraphViz.php";
require_once "$IP/extensions/MwEmbedSupport/MwEmbedSupport.php";
require_once "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php";
require_once "$IP/extensions/HeaderTabs/HeaderTabs.php";
require_once "$IP/extensions/R/R.php";
require_once "$IP/extensions/steep-mediawiki-gadgets/steep-mediawiki-gadgets.php";
require_once('extensions/IntraACL/includes/HACL_Initialize.php');
enableIntraACL();

## Stuff to configure the URL rewriting stuff
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;

# wire up parsoid to this wiki
$wgVisualEditorParsoidURL = 'http://localhost:8000';
$wgVisualEditorParsoidForwardCookies = true;
$wgDefaultUserOptions['visualeditor-enable'] = 1;

$smwgShowFactbox=SMW_FACTBOX_NONEMPTY;

# enable process graph output
$srfgFormats[] = 'process';

# Enables use of WikiEditor by default but still allow users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
 
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;
 
$wgAllowUserJs=true;

$wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'psd', 'swf', 'fla', 'mp3', 'mp4', 'm4v', 'mov', 'avi');
<commit_msg>IntraACL isn't compatible with Mediawiki 1.25 yet.<commit_after><?php

$wgLogo = "/mediawiki/extensions/steep-mediawiki-gadgets/steep-logo.png";

$wgEmailConfirmToEdit = true;
$wgEmergencyContact = "<EMAIL>";
$wgPasswordSender = "<EMAIL>";

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO

$wgMainCacheType = CACHE_ACCEL;

$wgEnableUploads = true;

# InstantCommons allows wiki to use images from http://commons.wikimedia.org
$wgUseInstantCommons = true;

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;

enableSemantics('smartsteep.eu');

require_once "$IP/extensions/Cite/Cite.php";
require_once "$IP/extensions/Gadgets/Gadgets.php";
require_once "$IP/extensions/Interwiki/Interwiki.php";
require_once "$IP/extensions/WikiEditor/WikiEditor.php";
require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";
require_once "$IP/extensions/VisualEditor/VisualEditor.php";
require_once "$IP/extensions/LiquidThreads/LiquidThreads.php";
require_once "$IP/extensions/SemanticForms/SemanticForms.php";
require_once "$IP/extensions/SemanticFormsInputs/SemanticFormsInputs.php";
require_once "$IP/extensions/SemanticDrilldown/SemanticDrilldown.php";
require_once "$IP/extensions/InputBox/InputBox.php";
require_once "$IP/extensions/GraphViz/GraphViz.php";
require_once "$IP/extensions/MwEmbedSupport/MwEmbedSupport.php";
require_once "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php";
require_once "$IP/extensions/HeaderTabs/HeaderTabs.php";
require_once "$IP/extensions/R/R.php";
require_once "$IP/extensions/steep-mediawiki-gadgets/steep-mediawiki-gadgets.php";
// require_once('extensions/IntraACL/includes/HACL_Initialize.php');
// enableIntraACL();

## Stuff to configure the URL rewriting stuff
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;

# wire up parsoid to this wiki
$wgVisualEditorParsoidURL = 'http://localhost:8000';
$wgVisualEditorParsoidForwardCookies = true;
$wgDefaultUserOptions['visualeditor-enable'] = 1;

$smwgShowFactbox=SMW_FACTBOX_NONEMPTY;

# enable process graph output
$srfgFormats[] = 'process';

# Enables use of WikiEditor by default but still allow users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
 
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;
 
$wgAllowUserJs=true;

$wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'psd', 'swf', 'fla', 'mp3', 'mp4', 'm4v', 'mov', 'avi');

{'fraction_non_alphanumeric': 0.15170399221032133, 'fraction_numerical': 0.005258033106134372, 'mean_word_length': 7.461285008237232, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2101110', 'n_tokens_mistral': 1865, 'n_tokens_neox': 1781, 'n_words': 310}