* depends on it.
*
* Documentation is in the source and on:
- * http://meta.wikimedia.org/wiki/Help:Configuration_settings_index
+ * http://www.mediawiki.org/wiki/Help:Configuration_settings
*
* @package MediaWiki
*/
# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( !defined( 'MEDIAWIKI' ) ) {
- die( "This file is part of MediaWiki and is not a valid entry point\n" );
+ echo "This file is part of MediaWiki and is not a valid entry point\n";
+ die( -1 );
}
/**
$wgUploadDirectory = "{$IP}/upload";
$wgHashedUploadDirectory = true;
$wgLogo = "{$wgUploadPath}/wiki.png";
+$wgFavicon = '/favicon.ico';
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
* Default to apache@SERVER_NAME
* @global string $wgPasswordSender
*/
-$wgPasswordSender = 'Wikipedia Mail <apache@' . $wgServerName . '>';
+$wgPasswordSender = 'MediaWiki Mail <apache@' . $wgServerName . '>';
/**
* dummy address which should be accepted during mail send action
$wgMessageCacheType = CACHE_ANYTHING;
$wgParserCacheType = CACHE_ANYTHING;
+$wgParserCacheExpireTime = 86400;
+
$wgSessionsInMemcached = false;
$wgLinkCacheMemcached = false; # Not fully tested
$wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
$wgMemCachedServers = array( '127.0.0.1:11000' );
$wgMemCachedDebug = false;
+$wgMemCachedPersistent = false;
/**
* Directory for local copy of message cache, for use in addition to memcached
*/
$wgLocalMessageCache = false;
+/**
+ * Directory for compiled constant message array databases
+ * WARNING: turning anything on will just break things, aaaaaah!!!!
+ */
+$wgCachedMessageArrays = false;
# Language settings
#
$wgLocalInterwiki = 'w';
$wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
+/** Interwiki caching settings.
+ $wgInterwikiCache specifies path to constant database file
+ This cdb database is generated by dumpInterwiki from maintenance
+ and has such key formats:
+ dbname:key - a simple key (e.g. enwiki:meta)
+ _sitename:key - site-scope key (e.g. wiktionary:meta)
+ __global:key - global-scope key (e.g. __global:meta)
+ __sites:dbname - site mapping (e.g. __sites:enwiki)
+ Sites mapping just specifies site name, other keys provide
+ "local url" data layout.
+ $wgInterwikiScopes specify number of domains to check for messages:
+ 1 - Just wiki(db)-level
+ 2 - wiki and global levels
+ 3 - site levels
+ $wgInterwikiFallbackSite - if unable to resolve from cache
+*/
+$wgInterwikiCache = false;
+$wgInterwikiScopes = 3;
+$wgInterwikiFallbackSite = 'wiki';
+
/**
* If local interwikis are set up which allow redirects,
* set this regexp to restrict URLs which will be displayed
$wgShowIPinHeader = true; # For non-logged in users
$wgMaxNameChars = 255; # Maximum number of bytes in username
+$wgMaxArticleSize = 2048; # Maximum article size in kilobytes
$wgExtraSubtitle = '';
$wgSiteSupportPage = ''; # A page where you users can receive donations
$wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
$wgDebugComments = false;
-$wgReadOnly = false;
+$wgReadOnly = null;
$wgLogQueries = false;
+
+/**
+ * Write SQL queries to the debug log
+ */
$wgDebugDumpSql = false;
/**
# directory name unguessable, or use .htaccess to protect it.
$wgWhitelistRead = false;
+/**
+ * Should editors be required to have a validated e-mail
+ * address before being allowed to edit?
+ */
+$wgEmailConfirmToEdit=false;
+
/**
* Permission keys given to users in each group.
* All users are implicitly in the '*' group including anonymous visitors;
*/
# $wgGroupPermissions['developer']['siteadmin'] = true;
-
/**
* Set of available actions that can be restricted via Special:Protect
* You probably shouldn't change this.
+ * Translated trough restriction-* messages.
*/
$wgRestrictionTypes = array( 'edit', 'move' );
/**
* Set this to current time to invalidate all prior cached pages. Affects both
* client- and server-side caching.
+ * You can get the current date on your server by using the command:
+ * date +%Y%m%d%H%M%S
*/
$wgCacheEpoch = '20030516000000';
$wgUseWatchlistCache = false;
/** The hour or so mentioned above */
$wgWLCacheTimeout = 3600;
+/** Number of links to a page required before it is deemed "wanted" */
+$wgWantedPagesThreshold = 1;
/**
* To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of
$wgSVGConverter = 'ImageMagick';
/** If not in the executable PATH, specify */
$wgSVGConverterPath = '';
-/** Don't scale a SVG larger than this unless its native size is larger */
+/** Don't scale a SVG larger than this */
$wgSVGMaxSize = 1024;
/**
* Don't thumbnail an image if it will use too much working memory
#
/** Log IP addresses in the recentchanges table */
-$wgPutIPinRC = false;
+$wgPutIPinRC = true;
/**
* Recentchanges items are periodically purged; entries older than this many
* 'extension=tidy.so' to php.ini.
*/
$wgUseTidy = false;
+$wgAlwaysUseTidy = false;
$wgTidyBin = 'tidy';
$wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
$wgTidyOpts = '';
/** Maximum indent level of toc. */
$wgMaxTocLevel = 999;
-/** Use external C++ diff engine (module wikidiff from the extensions package) */
-$wgUseExternalDiffEngine = false;
+/** Name of the external diff engine to use */
+$wgExternalDiffEngine = false;
/** Use RC Patrolling to check for vandalism */
$wgUseRCPatrol = true;
*/
$wgExternalServers = array();
+/**
+ * The place to put new revisions, false to put them in the local text table.
+ * Part of a URL, e.g. DB://cluster1
+ */
+$wgDefaultExternalStore = false;
+
/**
* list of trusted media-types and mime types.
* Use the MEDIATYPE_xxx constants to represent media types.
* Enable interwiki transcluding. Only when iw_trans=1.
*/
$wgEnableScaryTranscluding = false;
+/**
+ * Expiry time for interwiki transclusion
+ */
+$wgTranscludeCacheExpiry = 3600;
/**
* Support blog-style "trackbacks" for articles. See
$wgFilterRobotsWL = false;
+/**
+ * Enable filtering of categories in Recentchanges
+ */
+$wgAllowCategorizedRecentChanges = false ;
+
?>