User:Jacebenson~mediawikiwiki/LocalSettings

<?php error_reporting( E_ALL ); ini_set( 'display_errors', 1 );


 * 1) This was copied on 8/26 after fixing the time




 * 1) This file was automatically generated by the MediaWiki installer.


 * 1) If you make manual changes, please keep track in case you need to


 * 1) recreate them later.




 * 1) See includes/DefaultSettings.php for all configurable settings


 * 1) and their default values, but don't forget to make changes in _this_


 * 1) file, not there.




 * 1) Further documentation for configuration settings may be found at:


 * 1) http://www.mediawiki.org/wiki/Manual:Configuration_settings


 * 1) If you customize your file layout, set $IP to the directory that contains


 * 1) the other MediaWiki files. It will be used as a base to locate files.

if( defined( 'MW_INSTALL_PATH' ) ) {

$IP = MW_INSTALL_PATH;

} else {

$IP = dirname( __FILE__ );

}

$path = array( $IP, "$IP/includes", "$IP/languages" );

set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path );

require_once( "$IP/includes/DefaultSettings.php" );


 * 1) added to allow the cite extension - jace


 * 1) http://www.mediawiki.org/wiki/Extension:Cite/Cite.php

require_once("$IP/extensions/Cite/Cite.php");


 * 1) If PHP's memory limit is very low, some operations may fail.


 * 1) ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) {

if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {

die( "This script must be run from the command line\n" );

}

}


 * 1) Uncomment this to disable output compression


 * 1) $wgDisableOutputCompression = true;

$wgSitename        = "ServiceDeskWiki";


 * 1) The URL base path to the directory containing the wiki;


 * 1) defaults for all runtime URL paths are based off of this.


 * 1) For more information on customizing the URLs please see:


 * 1) http://www.mediawiki.org/wiki/Manual:Short_URL

$wgScriptPath = "/wiki";        # Path to the actual files. This should already be there


 * 1) $wgArticlePath = "/wiki/$1"; # Virtual path. This directory MUST be different from the one used in $wgScriptPath

$wgUsePathInfo = true;       # Enable use of pretty URLs

$wgScriptExtension = ".php";


 * 1) UPO means: this is also a user preference option

$wgEnableEmail     = false;

$wgEnableUserEmail = false; # UPO

$wgEmergencyContact = "admin@localhost";

$wgPasswordSender = "admin@localhost";

$wgEnotifUserTalk = false; # UPO

$wgEnotifWatchlist = false; # UPO

$wgEmailAuthentication = false;


 * 1) Database settings

$wgDBtype          = "mysql";

$wgDBserver        = "localhost";

$wgDBname          = "wikidb";

$wgDBuser          = "root";

$wgDBpassword      = "password";


 * 1) MySQL specific settings

$wgDBprefix        = "mw_";


 * 1) MySQL table options to use during installation or update

$wgDBTableOptions  = "ENGINE=InnoDB, DEFAULT CHARSET=binary";


 * 1) Experimental charset support for MySQL 4.1/5.0.

$wgDBmysql5 = true;


 * 1) Shared memory settings

$wgMainCacheType = CACHE_NONE;

$wgMemCachedServers = array;


 * 1) To enable image uploads, make sure the 'images' directory


 * 1) is writable, then set this to true:

$wgEnableUploads      = true;


 * 1) $wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";


 * 1) If you use ImageMagick (or any other shell command) on a


 * 1) Linux server, this will need to be set to the name of an


 * 1) available UTF-8 locale


 * 1) $wgShellLocale = "en_US.UTF-8";


 * 1) If you want to use image uploads under safe mode,


 * 1) create the directories images/archive, images/thumb and


 * 1) images/temp, and make them all writable. Then uncomment


 * 1) this, if it's not already uncommented:


 * 1) $wgHashedUploadDirectory = false;


 * 1) If you have the appropriate support software installed


 * 1) you can enable inline LaTeX equations:

$wgUseTeX          = false;

$wgLocalInterwiki  = strtolower( $wgSitename );

$wgLanguageCode = "en";

$wgSecretKey = "56ca8a2f78c7a9d64a2e0ad63e2b378f3337d6bb3f6e56a71bc754f270f7829d";


 * 1) Default skin: you can change the default skin. Use the internal symbolic


 * 1) names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':

$wgDefaultSkin = 'modern';


 * 1) For attaching licensing metadata to pages, and displaying an


 * 1) appropriate copyright notice / icon. GNU Free Documentation


 * 1) License and Creative Commons licenses are supported so far.


 * 1) $wgEnableCreativeCommonsRdf = true;

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright

$wgRightsUrl = "";

$wgRightsText = "";

$wgRightsIcon = "";


 * 1) $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";


 * 1) When you make changes to this configuration file, this will make


 * 1) sure that cached pages are cleared.

$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );

$wgEnableMWSuggest = true;

$wgOpenSearchTemplate = true;

$wgLogo = "http://10.36.128.24/wiki/images/callcenter.jpg";

$wgUrlProtocols = array(

'http://',

'https://',

'ftp://',

'file://',

'irc://',

'gopher://',

'telnet://', // Well if we're going to support the above.. -ævar

'nntp://', // @bug 3808 RFC 1738

'worldwind://',

'mailto:',

'news:'

);


 * 1) Disable reading by anonymous users

$wgGroupPermissions['*']['read'] = false;


 * 1) But allow them to read e.g., these pages:

$wgWhitelistRead = array ( "Main Page", "Special:Userlogin", "Help:Contents");


 * 1) Do not allow annonymous users to edit pages

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


 * 1) Do not show tools for annonymous users

$wgShowIPinHeader = false;


 * 1) Do not allow users to create accounts

$wgGroupPermissions['*']['createaccount'] = true;

$wgUserAjax = true;

require_once("{$IP}/extensions/CategoryTree/CategoryTree.php");

$wgAllowUserJs = true;

require_once( "{$IP}/extensions/ParserFunctions/ParserFunctions.php" );

$wgUseTidy=true;

$wgFileExtension[] = 'svg';

$wgAllowTitlesInSVG = true;


 * 1) $wgSVGConverter = 'rsvg'; // or ImageMagick

$wgStrictFileExtensions = false;

//shows the correct time

$wgAllowExternalImages = true;


 * 1) commenting out to troubleshoot apache service hanging issue - Jace 9/2

$wgLocaltimezone = "America/Rainy_River";

$oldtz = getenv("TZ");

putenv("TZ=$wgLocaltimezone");


 * 1) Versions before 1.7.0 used $wgLocalTZoffset as hours.


 * 1) After 1.7.0 offset as minutes

$wgLocalTZoffset = date("Z") / 60;

putenv("TZ=$oldtz");

//added to allow users to rename them selves

require_once("$IP/extensions/Renameuser/SpecialRenameuser.php");

//added to allow admins to reset password from within mediawiki - jace

//http://www.mediawiki.org/wiki/Extension:Password_Reset

$wgGroupPermissions['sysop']['passwordreset']  = true;

require_once( "$IP/extensions/PasswordReset/PasswordReset.php" );


 * 1) Set default searching

$wgNamespacesToBeSearchedDefault = array(

NS_MAIN =>          true,

NS_TALK =>          false,

NS_USER =>          true,

NS_USER_TALK =>     true,

NS_PROJECT =>     false,

NS_PROJECT_TALK => false,

NS_IMAGE =>         true,

NS_IMAGE_TALK =>    false,

NS_MEDIAWIKI =>     false,

NS_MEDIAWIKI_TALK => false,

NS_TEMPLATE =>      false,

NS_TEMPLATE_TALK => false,

NS_HELP =>          false,

NS_HELP_TALK =>     false,

NS_CATEGORY =>      true,

NS_CATEGORY_TALK => true

);

require_once( "$IP/extensions/SphinxSearch/SphinxSearch.php" );