<commit_before><?php
# DO NOT EDIT - This file is being maintained by Chef

# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
	exit;
}

## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename      = '<%= @mediawiki[:sitename] %>';
$wgMetaNamespace = '<%= @mediawiki[:metanamespace] %>';

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath       = "/w";
$wgArticlePath      = '/wiki/$1';
$wgUsePathInfo      = true;
$wgScriptExtension  = ".php";

## The protocol and server name to use in fully-qualified URLs
$wgServer           = "//<%= @name %>";
$wgInternalServer   = 'https://<%= @name %>';

$wgSecureLogin = true;
$wgDefaultUserOptions['prefershttps'] = 1;
$wgCookieSecure = true;

## The relative URL path to the skins directory
$wgStylePath        = "$wgScriptPath/skins";

## The relative URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo             = "<%= @mediawiki[:logo] %>";

## UPO means: this is also a user preference option

$wgEnableEmail      = true;
$wgEnableUserEmail  = true; # UPO

$wgEmergencyContact = "<%= @mediawiki[:email_contact] %>";
$wgPasswordSender   = "<%= @mediawiki[:email_sender] %>";
$wgPasswordSenderName = "<%= @mediawiki[:email_sender_name] %>"; //Replaced by MediaWiki:Emailsender in v1.23.0

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

$wgEnotifUseJobQ       = true;

## Database settings
$wgDBtype           = "mysql";
$wgDBserver         = "<%= @database_params[:host] %>";<commit_msg>Set $wgCanonicalServer to change links in confirmation emails to https<commit_after><?php
# DO NOT EDIT - This file is being maintained by Chef

# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
	exit;
}

## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename      = '<%= @mediawiki[:sitename] %>';
$wgMetaNamespace = '<%= @mediawiki[:metanamespace] %>';

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath       = "/w";
$wgArticlePath      = '/wiki/$1';
$wgUsePathInfo      = true;
$wgScriptExtension  = ".php";

## The protocol and server name to use in fully-qualified URLs
$wgServer           = "//<%= @name %>";
$wgInternalServer   = 'https://<%= @name %>';
$wgCanonicalServer  = 'https://<%= @name %>';

$wgSecureLogin = true;
$wgDefaultUserOptions['prefershttps'] = 1;
$wgCookieSecure = true;

## The relative URL path to the skins directory
$wgStylePath        = "$wgScriptPath/skins";

## The relative URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo             = "<%= @mediawiki[:logo] %>";

## UPO means: this is also a user preference option

$wgEnableEmail      = true;
$wgEnableUserEmail  = true; # UPO

$wgEmergencyContact = "<%= @mediawiki[:email_contact] %>";
$wgPasswordSender   = "<%= @mediawiki[:email_sender] %>";
$wgPasswordSenderName = "<%= @mediawiki[:email_sender_name] %>"; //Replaced by MediaWiki:Emailsender in v1.23.0

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

$wgEnotifUseJobQ       = true;

## Database settings
$wgDBtype           = "mysql";
$wgDBserver         = "<%= @database_params[:host] %>";
{'fraction_non_alphanumeric': 0.14396887159533073, 'fraction_numerical': 0.0031128404669260703, 'mean_word_length': 4.007792207792208, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 22, 'https://': 5, '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': '7485297', 'n_tokens_mistral': 1318, 'n_tokens_neox': 1210, 'n_words': 356}