<?php
+
# $Id$
# DO NOT EDIT THIS FILE!
# To customize your installation, edit "LocalSettings.php".
# like $wgScriptPath, you must also localize everything that
# depends on it.
-$wgVersion = '1.3.0beta4';
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
+if( defined( "MEDIAWIKI" ) ) {
+
+$wgVersion = '1.4-prealpha';
$wgSitename = 'MediaWiki'; # Please customize!
$wgMetaNamespace = FALSE; # will be same as you set $wgSitename
$wgDBconnection = '';
$wgDBuser = 'wikiuser';
$wgDBtype = "mysql"; # "mysql" for working code and "PostgreSQL" for development/broken code
+$wgDBprefix = ''; # Table name prefix
# Database load balancer
# This is a two-dimensional array, an array of server info structures
# user: DB user
# password: DB password
# type: "mysql" or "pgsql"
-# load: ratio of DB_READ load, must be >=0, the sum of all loads must be >0
+# load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
+# flags: bit field
+# DBO_DEFAULT -- turns on DBO_TRX only if !$wgCommandLineMode (recommended)
+# DBO_DEBUG -- equivalent of $wgDebugDumpSql
+# DBO_TRX -- wrap entire request in a transaction
+# DBO_IGNORE -- ignore errors (not useful in LocalSettings.php)
+# DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php)
+#
# Leave at false to use the single-server variables above
$wgDBservers = false;
# DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES
$wgAmericanDates = false; # Enable for English module to print dates
# as eg 'May 12' instead of '12 May'
+$wgTranslateNumerals = true; # For Hindi and Arabic use local numerals instead
+ # of Western style (0-9) numerals in interface.
+
$wgLocalInterwiki = 'w';
$wgShowIPinHeader = true; # For non-logged in users
$wgMaxNameChars = 32; # Maximum number of bytes in username
# used, as it may contain private data.
$wgDebugLogFile = '';
$wgDebugRedirects = false;
+$wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
$wgDebugComments = false;
$wgReadOnly = false;
# FIXME: need fixing
$wgUseCategoryBrowser = false;
-$wgEnablePersistentLC = false; # Persistent link cache in linkscc table; FAILS on MySQL 3.x
+$wgEnablePersistentLC = false; # Obsolete, do not use
$wgCompressedPersistentLC = true; # use gzcompressed blobs
$wgEnableParserCache = false; # requires that php was compiled --with-zlib
# This is the list of preferred extensions for uploading files. Uploading
# files with extensions not in this list will trigger a warning.
-$wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg' );
+$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg' );
# Files with these extensions will never be allowed as uploads.
$wgFileBlacklist = array(
# PHPTal is a library for page templates. MediaWiki includes
# a recent PHPTal distribution. It is required to use the
# Monobook (default) skin.
-$wgUsePHPTal = true;
+#
+# Currently it does not work on PHP5.
+$wgUsePHPTal = version_compare( phpversion(), "5.0", "lt" );
if( !isset( $wgCommandLineMode ) ) {
$wgCommandLineMode = false;
# constructs.
$wgUserHtml = true;
+# Allow raw, unchecked HTML in <html>...</html> sections.
+# THIS IS VERY DANGEROUS on a publically editable site.
+# Don't enable it unless you've restricted editing to trusted
+# users only.
+$wgRawHtml = false;
+
# $wgUseTidy: use tidy to make sure HTML output is sane.
# This should only be enabled if $wgUserHtml is true.
# tidy is a free tool that fixes broken HTML.
# Allow the "info" action, very inefficient at the moment
$wgAllowPageInfo = false;
+
+# Maximum indent level of toc.
+$wgMaxTocLevel = 999;
+
+# Recognise longitude/latitude coordinates
+$wgUseGeoMode = false;
+
+# Validation for print or other production versions
+$wgUseValidation = false;
+
+# Use external C++ diff engine (module wikidiff from the
+# extensions package)
+$wgUseExternalDiffEngine = false;
+
+# Use RC Patrolling to check for vandalism
+$wgUseRCPatrol = true;
+
+} else {
+ die();
+}
?>