Bioinformatics.Org Wiki:Configuration/AdditionalSettings.php

From Bioinformatics.Org Wiki

Jump to: navigation, search
/*
 
A mixed bag of MediaWiki configuration and extensions.
 
*/
 
// Use this to make the whole site read-only
#$wgReadOnly = 'Testing!';

 
// Configure the 'short url'
// http://www.mediawiki.org/wiki/Manual:Short_URL
// The 'short url' settings must be used in the context of the
// correct Apache Alias ('Alias /wiki "/httpdroot/mediawiki/w/index.php")
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;
 
 
// Completely disable the cache!
$wgEnableParserCache = false;
$wgCachePages = false;
 
 
// Set the site logo
$wgLogo = 'http://www.bioinformatics.org/w/images/1/16/SiteLogo.png';
 
 
// Enable file uploads
$wgEnableUploads = true;
 
 
// Enable fancy search suggestions while typing
$wgEnableMWSuggest = true;
 
 
// Enable subpages in the main and 'project' namespace                                                                                         
$wgNamespacesWithSubpages[NS_MAIN] = true;
$wgNamespacesWithSubpages[NS_PROJECT] =	true;
 
 
 
 
 
 
 
// Extensions! Document these on the wiki! (You swine!)
// Did I miss any?
 
include_once('extensions/AdminLinks/AdminLinks.php');
 
include_once('extensions/ArrayExtension/ArrayExtension.php');
 
require_once('extensions/Asksql/Asksql.php');
$wgGroupPermissions['bureaucrat']['asksql'] = true; 
$wgDBsqluser           = '';
$wgDBsqlpassword       = '';
 
require_once('extensions/CategoryTree/CategoryTree.php');
 
require_once('extensions/Cite/Cite.php');
 
include_once('extensions/DataTransfer/DataTransfer.php');
 
require_once('extensions/EmbedVideo/EmbedVideo.php');
 
require_once( 'extensions/ExternalData/ExternalData.php' );
 
#require_once("$IP/extensions/FCKeditor/FCKeditor.php");
#$wgDefaultUserOptions['riched_use_toggle'] = true;
#$wgDefaultUserOptions['riched_start_disabled'] = true;

require_once("$IP/extensions/HeaderTabs/HeaderTabs.php");
 
include_once('extensions/Interwiki/Interwiki.php');
$wgGroupPermissions['*']['interwiki'] = false;
$wgGroupPermissions['sysop']['interwiki'] = true;
 
#require_once("$IP/extensions/OpenID/OpenID.setup.php");
#$wgTrustRoot = '';

include_once('extensions/ParserFunctions/ParserFunctions.php');
 
require_once('extensions/recaptcha/ReCaptcha.php');
 
// Sign up for these at http://recaptcha.net/api/getkey
$recaptcha_public_key = '';
$recaptcha_private_key = '';
 
// Fix the default captcha behaviour
$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['user'         ]['skipcaptcha'] = true;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
$wgGroupPermissions['bot'          ]['skipcaptcha'] = true; // registered bots
$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;
 
$wgCaptchaTriggers['edit']          = true;
$wgCaptchaTriggers['create']        = true;
$wgCaptchaTriggers['createaccount'] = true;
 
 
include_once('extensions/ReplaceText/ReplaceText.php');
$wgGroupPermissions['sysop']['replacetext'] = true;
 
include_once('extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php');
 
require_once('extensions/UserMerge/UserMerge.php');
$wgGroupPermissions['bureaucrat']['usermerge'] = true;
 
require_once( "$IP/extensions/Validator/Validator.php" );
 
require_once("$IP/extensions/Widgets/Widgets.php");
$wgGroupPermissions['sysop']['editwidgets'] = true;
 
 
 
 
include_once("$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php");
enableSemantics('bifx.org');
 
include_once('extensions/SemanticDrilldown/includes/SD_Settings.php');
$sdgFiltersSmallestFontSize=12;
$sdgFiltersLargestFontSize=20; 
 
include_once('extensions/SemanticForms/includes/SF_Settings.php');
 
include_once("$IP/extensions/SemanticInternalObjects/SemanticInternalObjects.php");
 
include_once('extensions/SemanticResultFormats/SRF_Settings.php');
$srfgFormats[] = 'exhibit';
$srfgFormats[] = 'googlebar';
$srfgFormats[] = 'googlepie';
$srfgFormats[] = 'graph';
 
require_once('extensions/Maps/Maps.php');
$egGoogleMapsKey = '';
#$egYahooMapsKey = ""; # https://developer.yahoo.com/wsregapp/

require_once('extensions/SemanticMaps/SemanticMaps.php');
 
 
 
 
 
// I hope this can't hurt (copied from LocalSettings.php)
 
# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
<source>
Personal tools
Variants
Actions
wiki navigation
Toolbox