<?php
# This file was automatically generated by the MediaWiki 1.20.2
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
#
http://www.mediawiki.org/wiki/Manual:Configuration_settings
## 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 please see:
##
http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
$wgScriptExtension = ".php";
$wgArticlePath = "/wiki/$1";
# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
## Uncomment this to disable output compression
#$wgDisableOutputCompression = true;
$wgSitename = "ChannelWiki";
$wgMetaNamespace = "ChannelWiki";
# Enables EMAIL
#$wgEnableEmail=true;
# Enables the MoodBar
#require_once("$IP/extensions/MoodBar/MoodBar.php");
$wgExtensionFunctions[] = function() {
$GLOBALS['wgUploadNavigationUrl'] = SpecialPage::getTitleFor( 'UploadWizard' )->getLocalURL();
return true;
};
# Enable MobileFrontend
require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");
require_once("$IP/extensions/ConfirmEdit/ReCaptcha.php");
# $wgReadOnly = "We are upgrading ChannelWiki, please be patient. This wiki will be back soon. This will improve user login/signups...";
$wgLocaltimezone="Europe/London";
## Accepted File types
## Pretty URLs
#$wgArticlePath = "/$1";
#require_once( "$IP/skins/strapping/strapping.php" );
#### Uploads ####
$wgEnableUploads = true;
require_once( "$IP/extensions/UploadWizard/UploadWizard.php" );
#IE fix
// Needed to make UploadWizard work in IE, see bug 39877
$wgApiFrameOptions = 'SAMEORIGIN';
#Flickr support
$wgAllowCopyUploads = true;
$wgGroupPermissions['user']['upload_by_url'] = true; // to allow for all registered users
$wgUploadWizardConfig = array(
'flickrApiUrl' => '
https://secure.flickr.com/services/rest/?',
'flickrApiKey' => 'secret',
);
$wgCopyUploadsDomains = array( '*.flickr.com', '*.staticflickr.com' );
# Tutorial
$wgUseInstantCommons = true;
# ui ENHANCEMENTS
require_once( "$IP/extensions/WikimediaMessages/WikimediaMessages.php" );
#require_once "$IP/extensions/LiquidThreads/LiquidThreads.php";
require_once "$IP/extensions/Echo/Echo.php";
$wgEchoFeedbackPage = "
http://www.surveymonkey.com/s/978CMN7";
# Other
$wgEnableAPI = true;
$wgEnableWriteAPI = true;
##### END Uploads ####
$wgPasswordSender = "
no.reply@channelwiki.org";
$wgPasswordSenderName = "ChannelWiki";
$wgFileExtensions = array('png','jpg','jpeg','ogg','doc','xls','ppt','mp3','sxc','pdf');
## The protocol and server name to use in fully-qualified URLs
$wgServer = "
http://www.channelwiki.org";
## 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 = "$wgStylePath/common/images/wiki.png";
#$wgEnableDnsBlacklist = true;
#$wgDnsBlacklistUrls = array( 'xbl.spamhaus.org' );
# Enables Google Analytics
require_once( "$IP/extensions/googleAnalytics/googleAnalytics.php" );
# 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;
// Bump the Perl Compatible Regular Expressions backtrack memory limit
// (PHP 5.2.x default, 100K, is too low for SpamBlacklist)
ini_set( 'pcre.backtrack_limit', '8M' );
## UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "
dillonlawrence76@gmail.com";
$wgPasswordSender = "
no.reply@channelwiki.org";
$wgEnotifUserTalk = false; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = true;
## Database settings
/* REMOVED /*
# MySQL specific settings
$wgDBprefix = "";
# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";
# Experimental charset support for MySQL 5.0.
$wgDBmysql5 = false;
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
# LOGIN
// Needed to make UploadWizard work in IE, see bug 39877
$wgApiFrameOptions = 'SAMEORIGIN';
## If you use ImageMagick (or any other shell command) on a
## Linux server, this will need to be set to the name of an
## available UTF-8 locale
$wgShellLocale = "en_US.utf8";
## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
#$wgHashedUploadDirectory = false;
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Enables Quantcast plugin
#require_once("$IP/extensions/Quantcast/Quantcast.php");
# Site language code, should be one of the list in ./languages/Names.php
$wgLanguageCode = "en";
$wgSecretKey = "secret";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "secret";
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
$wgDefaultSkin = 'vector';
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
$wgEnableAPI = true;
$wgEnableWriteAPI = true;
# Query string length limit for ResourceLoader. You should only set this if
# your web server has a query string length limit (then set it to that limit),
# or if you have suhosin.get.max_value_length set in php.ini (then set it to
# that value)
$wgResourceLoaderMaxQueryLength = -1;
# Vector
$wgDefaultUserOptions['useeditwarning'] = 1;
$wgVectorFeatures['footercleanup']['global'] = true;
$wgVectorFeatures['expandablesearch']['global'] = true;
# End of automatically generated settings.
# Add more configuration options below.
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
$wgReCaptchaPublicKey = '6Le5s-YSAAAAAPkjMioNhjgTt74Cqf02tfZIBcdS';
$wgReCaptchaPrivateKey = '6Le5s-secret';
$wgVectorUseSimpleSearch = true;
#Vector
require_once "$IP/extensions/Vector/Vector.php";
#Account
require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";
$wgMakeUserPageFromBio= false;
$wgAccountRequestMinWord= 0;
# Which form elements to show at Special:RequestAccount
$wgConfirmAccountRequestFormItems = array(
# Let users make names other than their "real name"
'UserName' => array( 'enabled' => true ),
# Real name of user
'RealName' => array( 'enabled' => true ),
# Biographical info
#'Biography' array( 'disabled' => false, 'minWords' => 0 ) );
# Interest checkboxes (defined in MediaWiki:requestaccount-areas)
'AreasOfInterest' => array( 'disabled' => false ),
# CV/resume attachment option
'CV' => array( 'disabled' => false ),
# Additional non-public info for reviewer
'Notes' => array( 'disabled' => false ),
# Option to place web URLs that establish the user
'Links' => array( 'disabled' => false ),
# Terms of Service checkbox
'TermsOfService' => array( 'disabled' => false ),
);
#require_once "$IP/extensions/OpenID/OpenID.php";
#$wgOpenIDShowProviderIcons = true;
#$wgHideOpenIDLoginLink = true;
require_once "$IP/extensions/NoTitle/NoTitle.php";
require_once "$IP/extensions/RecentChangesCleanup/RecentChangesCleanup.php";
$wgGroupPermissions['sysop']['recentchangescleanup'] = true;
$wgGroupPermissions['recentchangescleanup']['recentchangescleanup'] = true;
#require_once( "$IP/skins/bootstrap-mediawiki/bootstrap-mediawiki.php" );
//XenForo
#require("$IP/extensions/XenForo/require-me.php");