2004-02-18 02:15:00 +00:00
|
|
|
|
<?php
|
2004-09-02 23:28:24 +00:00
|
|
|
|
/**
|
2004-09-03 23:00:01 +00:00
|
|
|
|
*
|
2006-05-06 20:56:53 +00:00
|
|
|
|
* NEVER EDIT THIS FILE
|
2005-12-05 20:44:39 +00:00
|
|
|
|
*
|
|
|
|
|
|
*
|
|
|
|
|
|
* To customize your installation, edit "LocalSettings.php". If you make
|
|
|
|
|
|
* changes here, they will be lost on next upgrade of MediaWiki!
|
2004-09-02 23:28:24 +00:00
|
|
|
|
*
|
|
|
|
|
|
* Note that since all these string interpolations are expanded
|
|
|
|
|
|
* before LocalSettings is included, if you localize something
|
|
|
|
|
|
* like $wgScriptPath, you must also localize everything that
|
|
|
|
|
|
* depends on it.
|
2004-09-03 01:05:32 +00:00
|
|
|
|
*
|
2005-07-04 01:17:31 +00:00
|
|
|
|
* Documentation is in the source and on:
|
2006-01-30 22:52:34 +00:00
|
|
|
|
* http://www.mediawiki.org/wiki/Help:Configuration_settings
|
2005-07-04 01:17:31 +00:00
|
|
|
|
*
|
2004-09-03 01:05:32 +00:00
|
|
|
|
* @package MediaWiki
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2004-08-12 06:54:58 +00:00
|
|
|
|
# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
|
2005-05-14 09:24:21 +00:00
|
|
|
|
if( !defined( 'MEDIAWIKI' ) ) {
|
2006-01-14 02:49:43 +00:00
|
|
|
|
echo "This file is part of MediaWiki and is not a valid entry point\n";
|
2006-06-07 04:15:58 +00:00
|
|
|
|
die( 1 );
|
2005-05-14 09:24:21 +00:00
|
|
|
|
}
|
2004-08-12 06:54:58 +00:00
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/**
|
2005-06-26 06:34:13 +00:00
|
|
|
|
* Create a site configuration object
|
|
|
|
|
|
* Not used for much in a default install
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*/
|
2005-06-26 06:34:13 +00:00
|
|
|
|
require_once( 'includes/SiteConfiguration.php' );
|
|
|
|
|
|
$wgConf = new SiteConfiguration;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** MediaWiki version number */
|
2006-10-10 22:05:24 +00:00
|
|
|
|
$wgVersion = '1.9alpha';
|
2004-02-01 05:41:13 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Name of the site. It must be changed in LocalSettings.php */
|
2004-09-03 01:05:32 +00:00
|
|
|
|
$wgSitename = 'MediaWiki';
|
|
|
|
|
|
|
2006-07-26 07:15:39 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Name of the project namespace. If left set to false, $wgSitename will be
|
|
|
|
|
|
* used instead.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMetaNamespace = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Name of the project talk namespace. If left set to false, a name derived
|
|
|
|
|
|
* from the name of the project namespace will be used.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMetaNamespaceTalk = false;
|
2003-11-09 11:45:12 +00:00
|
|
|
|
|
2005-05-22 05:58:36 +00:00
|
|
|
|
|
2005-12-06 00:48:56 +00:00
|
|
|
|
/** URL of the server. It will be automatically built including https mode */
|
2004-09-03 23:00:01 +00:00
|
|
|
|
$wgServer = '';
|
2004-09-27 04:43:29 +00:00
|
|
|
|
|
|
|
|
|
|
if( isset( $_SERVER['SERVER_NAME'] ) ) {
|
|
|
|
|
|
$wgServerName = $_SERVER['SERVER_NAME'];
|
|
|
|
|
|
} elseif( isset( $_SERVER['HOSTNAME'] ) ) {
|
|
|
|
|
|
$wgServerName = $_SERVER['HOSTNAME'];
|
2005-03-31 12:11:18 +00:00
|
|
|
|
} elseif( isset( $_SERVER['HTTP_HOST'] ) ) {
|
|
|
|
|
|
$wgServerName = $_SERVER['HTTP_HOST'];
|
|
|
|
|
|
} elseif( isset( $_SERVER['SERVER_ADDR'] ) ) {
|
|
|
|
|
|
$wgServerName = $_SERVER['SERVER_ADDR'];
|
2004-09-27 04:43:29 +00:00
|
|
|
|
} else {
|
|
|
|
|
|
$wgServerName = 'localhost';
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2004-04-07 11:36:01 +00:00
|
|
|
|
# check if server use https:
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
|
2004-04-07 11:36:01 +00:00
|
|
|
|
|
2004-09-27 04:43:29 +00:00
|
|
|
|
$wgServer = $wgProto.'://' . $wgServerName;
|
2005-04-29 07:41:50 +00:00
|
|
|
|
# If the port is a non-standard one, add it to the URL
|
|
|
|
|
|
if( isset( $_SERVER['SERVER_PORT'] )
|
2006-06-18 12:42:16 +00:00
|
|
|
|
&& !strpos( $wgServerName, ':' )
|
2005-04-29 07:41:50 +00:00
|
|
|
|
&& ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 )
|
2006-03-07 01:10:39 +00:00
|
|
|
|
|| ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
|
2005-04-29 07:41:50 +00:00
|
|
|
|
|
2004-09-27 04:43:29 +00:00
|
|
|
|
$wgServer .= ":" . $_SERVER['SERVER_PORT'];
|
2004-03-23 10:15:26 +00:00
|
|
|
|
}
|
2004-03-13 11:28:05 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* The path we should point to.
|
|
|
|
|
|
* It might be a virtual path in case with use apache mod_rewrite for example
|
|
|
|
|
|
*/
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgScriptPath = '/wiki';
|
2004-02-27 03:59:21 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Whether to support URLs like index.php/Page_title
|
|
|
|
|
|
* @global bool $wgUsePathInfo
|
|
|
|
|
|
*/
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
|
2004-03-26 16:47:12 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
|
|
|
|
|
|
/**#@+
|
|
|
|
|
|
* Script users will request to get articles
|
|
|
|
|
|
* ATTN: Old installations used wiki.phtml and redirect.phtml -
|
|
|
|
|
|
* make sure that LocalSettings.php is correctly set!
|
|
|
|
|
|
* @deprecated
|
|
|
|
|
|
*/
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/**
|
2004-09-03 01:05:32 +00:00
|
|
|
|
* @global string $wgScript
|
|
|
|
|
|
*/
|
2004-02-28 03:04:02 +00:00
|
|
|
|
$wgScript = "{$wgScriptPath}/index.php";
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @global string $wgRedirectScript
|
|
|
|
|
|
*/
|
2004-02-28 03:04:02 +00:00
|
|
|
|
$wgRedirectScript = "{$wgScriptPath}/redirect.php";
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**#@-*/
|
2004-02-27 03:59:21 +00:00
|
|
|
|
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**#@+
|
|
|
|
|
|
* @global string
|
|
|
|
|
|
*/
|
|
|
|
|
|
/**
|
|
|
|
|
|
* style path as seen by users
|
|
|
|
|
|
* @global string $wgStylePath
|
|
|
|
|
|
*/
|
2004-09-05 02:21:52 +00:00
|
|
|
|
$wgStylePath = "{$wgScriptPath}/skins";
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* filesystem stylesheets directory
|
|
|
|
|
|
* @global string $wgStyleDirectory
|
|
|
|
|
|
*/
|
2004-09-05 02:21:52 +00:00
|
|
|
|
$wgStyleDirectory = "{$IP}/skins";
|
2004-04-27 12:18:48 +00:00
|
|
|
|
$wgStyleSheetPath = &$wgStylePath;
|
2003-04-14 23:10:40 +00:00
|
|
|
|
$wgArticlePath = "{$wgScript}?title=$1";
|
2006-10-12 10:34:49 +00:00
|
|
|
|
$wgVariantArticlePath = false;
|
2006-07-12 03:18:42 +00:00
|
|
|
|
$wgUploadPath = "{$wgScriptPath}/images";
|
|
|
|
|
|
$wgUploadDirectory = "{$IP}/images";
|
2004-09-28 19:54:51 +00:00
|
|
|
|
$wgHashedUploadDirectory = true;
|
2003-04-14 23:10:40 +00:00
|
|
|
|
$wgLogo = "{$wgUploadPath}/wiki.png";
|
2006-02-03 04:04:05 +00:00
|
|
|
|
$wgFavicon = '/favicon.ico';
|
2003-04-14 23:10:40 +00:00
|
|
|
|
$wgMathPath = "{$wgUploadPath}/math";
|
|
|
|
|
|
$wgMathDirectory = "{$wgUploadDirectory}/math";
|
|
|
|
|
|
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
|
2004-09-23 12:15:42 +00:00
|
|
|
|
$wgUploadBaseUrl = "";
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**#@-*/
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2006-06-16 01:16:45 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* By default deleted files are simply discarded; to save them and
|
|
|
|
|
|
* make it possible to undelete images, create a directory which
|
|
|
|
|
|
* is writable to the web server but is not exposed to the internet.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Set $wgSaveDeletedFiles to true and set up the save path in
|
|
|
|
|
|
* $wgFileStore['deleted']['directory'].
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSaveDeletedFiles = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* New file storage paths; currently used only for deleted files.
|
|
|
|
|
|
* Set it like this:
|
|
|
|
|
|
*
|
|
|
|
|
|
* $wgFileStore['deleted']['directory'] = '/var/wiki/private/deleted';
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgFileStore = array();
|
|
|
|
|
|
$wgFileStore['deleted']['directory'] = null; // Don't forget to set this.
|
|
|
|
|
|
$wgFileStore['deleted']['url'] = null; // Private
|
|
|
|
|
|
$wgFileStore['deleted']['hash'] = 3; // 3-level subdirectory split
|
|
|
|
|
|
|
2005-09-09 22:48:25 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allowed title characters -- regex character class
|
|
|
|
|
|
* Don't change this unless you know what you're doing
|
|
|
|
|
|
*
|
|
|
|
|
|
* Problematic punctuation:
|
|
|
|
|
|
* []{}|# Are needed for link syntax, never enable these
|
|
|
|
|
|
* % Enabled by default, minor problems with path to query rewrite rules, see below
|
2006-10-02 15:07:53 +00:00
|
|
|
|
* + Enabled by default, but doesn't work with path to query rewrite rules, corrupted by apache
|
2005-09-09 22:48:25 +00:00
|
|
|
|
* ? Enabled by default, but doesn't work with path to PATH_INFO rewrites
|
|
|
|
|
|
*
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* All three of these punctuation problems can be avoided by using an alias, instead of a
|
2005-09-09 22:48:25 +00:00
|
|
|
|
* rewrite rule of either variety.
|
|
|
|
|
|
*
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* The problem with % is that when using a path to query rewrite rule, URLs are
|
|
|
|
|
|
* double-unescaped: once by Apache's path conversion code, and again by PHP. So
|
|
|
|
|
|
* %253F, for example, becomes "?". Our code does not double-escape to compensate
|
|
|
|
|
|
* for this, indeed double escaping would break if the double-escaped title was
|
|
|
|
|
|
* passed in the query string rather than the path. This is a minor security issue
|
2005-09-09 22:48:25 +00:00
|
|
|
|
* because articles can be created such that they are hard to view or edit.
|
|
|
|
|
|
*
|
2006-10-02 15:07:53 +00:00
|
|
|
|
* In some rare cases you may wish to remove + for compatibility with old links.
|
|
|
|
|
|
*
|
2005-09-09 22:48:25 +00:00
|
|
|
|
* Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but
|
|
|
|
|
|
* this breaks interlanguage links
|
|
|
|
|
|
*/
|
2006-10-02 15:07:53 +00:00
|
|
|
|
$wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
|
2005-09-09 22:48:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
2005-07-21 20:58:44 +00:00
|
|
|
|
/**
|
2005-10-30 11:25:50 +00:00
|
|
|
|
* The external URL protocols
|
2005-07-21 20:58:44 +00:00
|
|
|
|
*/
|
2005-10-30 11:25:50 +00:00
|
|
|
|
$wgUrlProtocols = array(
|
|
|
|
|
|
'http://',
|
|
|
|
|
|
'https://',
|
|
|
|
|
|
'ftp://',
|
|
|
|
|
|
'irc://',
|
|
|
|
|
|
'gopher://',
|
2005-12-21 06:27:23 +00:00
|
|
|
|
'telnet://', // Well if we're going to support the above.. -ævar
|
2005-10-30 11:25:50 +00:00
|
|
|
|
'nntp://', // @bug 3808 RFC 1738
|
|
|
|
|
|
'worldwind://',
|
|
|
|
|
|
'mailto:',
|
2006-11-01 20:31:46 +00:00
|
|
|
|
'news:'
|
2005-10-30 11:25:50 +00:00
|
|
|
|
);
|
2005-07-21 20:58:44 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
/** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array.
|
|
|
|
|
|
* Set this to NULL to disable virus scanning. If not null, every file uploaded will be scanned for viruses.
|
|
|
|
|
|
* @global string $wgAntivirus
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAntivirus= NULL;
|
|
|
|
|
|
|
|
|
|
|
|
/** Configuration for different virus scanners. This an associative array of associative arrays:
|
|
|
|
|
|
* it contains on setup array per known scanner type. The entry is selected by $wgAntivirus, i.e.
|
|
|
|
|
|
* valid values for $wgAntivirus are the keys defined in this array.
|
|
|
|
|
|
*
|
|
|
|
|
|
* The configuration array for each scanner contains the following keys: "command", "codemap", "messagepattern";
|
|
|
|
|
|
*
|
2005-07-03 04:40:07 +00:00
|
|
|
|
* "command" is the full command to call the virus scanner - %f will be replaced with the name of the
|
|
|
|
|
|
* file to scan. If not present, the filename will be appended to the command. Note that this must be
|
2005-05-21 07:46:17 +00:00
|
|
|
|
* overwritten if the scanner is not in the system path; in that case, plase set
|
|
|
|
|
|
* $wgAntivirusSetup[$wgAntivirus]['command'] to the desired command with full path.
|
|
|
|
|
|
*
|
|
|
|
|
|
* "codemap" is a mapping of exit code to return codes of the detectVirus function in SpecialUpload.
|
|
|
|
|
|
* An exit code mapped to AV_SCAN_FAILED causes the function to consider the scan to be failed. This will pass
|
|
|
|
|
|
* the file if $wgAntivirusRequired is not set.
|
|
|
|
|
|
* An exit code mapped to AV_SCAN_ABORTED causes the function to consider the file to have an usupported format,
|
|
|
|
|
|
* which is probably imune to virusses. This causes the file to pass.
|
|
|
|
|
|
* An exit code mapped to AV_NO_VIRUS will cause the file to pass, meaning no virus was found.
|
|
|
|
|
|
* All other codes (like AV_VIRUS_FOUND) will cause the function to report a virus.
|
|
|
|
|
|
* You may use "*" as a key in the array to catch all exit codes not mapped otherwise.
|
|
|
|
|
|
*
|
|
|
|
|
|
* "messagepattern" is a perl regular expression to extract the meaningful part of the scanners
|
|
|
|
|
|
* output. The relevant part should be matched as group one (\1).
|
2005-07-03 04:40:07 +00:00
|
|
|
|
* If not defined or the pattern does not match, the full message is shown to the user.
|
2005-05-21 07:46:17 +00:00
|
|
|
|
*
|
|
|
|
|
|
* @global array $wgAntivirusSetup
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAntivirusSetup= array(
|
|
|
|
|
|
|
|
|
|
|
|
#setup for clamav
|
|
|
|
|
|
'clamav' => array (
|
|
|
|
|
|
'command' => "clamscan --no-summary ",
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
'codemap'=> array (
|
|
|
|
|
|
"0"=> AV_NO_VIRUS, #no virus
|
|
|
|
|
|
"1"=> AV_VIRUS_FOUND, #virus found
|
|
|
|
|
|
"52"=> AV_SCAN_ABORTED, #unsupported file format (probably imune)
|
|
|
|
|
|
"*"=> AV_SCAN_FAILED, #else scan failed
|
|
|
|
|
|
),
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
'messagepattern'=> '/.*?:(.*)/sim',
|
|
|
|
|
|
),
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
#setup for f-prot
|
|
|
|
|
|
'f-prot' => array (
|
|
|
|
|
|
'command' => "f-prot ",
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
'codemap'=> array (
|
|
|
|
|
|
"0"=> AV_NO_VIRUS, #no virus
|
|
|
|
|
|
"3"=> AV_VIRUS_FOUND, #virus found
|
|
|
|
|
|
"6"=> AV_VIRUS_FOUND, #virus found
|
|
|
|
|
|
"*"=> AV_SCAN_FAILED, #else scan failed
|
|
|
|
|
|
),
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
'messagepattern'=> '/.*?Infection:(.*)$/m',
|
|
|
|
|
|
),
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
|
|
|
|
|
|
* @global boolean $wgAntivirusRequired
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAntivirusRequired= true;
|
|
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/** Determines if the mime type of uploaded files should be checked
|
2005-05-21 07:46:17 +00:00
|
|
|
|
* @global boolean $wgVerifyMimeType
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgVerifyMimeType= true;
|
|
|
|
|
|
|
|
|
|
|
|
/** Sets the mime type definition file to use by MimeMagic.php.
|
|
|
|
|
|
* @global string $wgMimeTypeFile
|
|
|
|
|
|
*/
|
|
|
|
|
|
#$wgMimeTypeFile= "/etc/mime.types";
|
|
|
|
|
|
$wgMimeTypeFile= "includes/mime.types";
|
2005-12-06 00:48:56 +00:00
|
|
|
|
#$wgMimeTypeFile= NULL; #use built-in defaults only.
|
2005-05-21 07:46:17 +00:00
|
|
|
|
|
|
|
|
|
|
/** Sets the mime type info file to use by MimeMagic.php.
|
|
|
|
|
|
* @global string $wgMimeInfoFile
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMimeInfoFile= "includes/mime.info";
|
2005-12-06 00:48:56 +00:00
|
|
|
|
#$wgMimeInfoFile= NULL; #use built-in defaults only.
|
2005-05-21 07:46:17 +00:00
|
|
|
|
|
|
|
|
|
|
/** Switch for loading the FileInfo extension by PECL at runtime.
|
|
|
|
|
|
* This should be used only if fileinfo is installed as a shared object / dynamic libary
|
|
|
|
|
|
* @global string $wgLoadFileinfoExtension
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLoadFileinfoExtension= false;
|
|
|
|
|
|
|
|
|
|
|
|
/** Sets an external mime detector program. The command must print only the mime type to standard output.
|
|
|
|
|
|
* the name of the file to process will be appended to the command given here.
|
|
|
|
|
|
* If not set or NULL, mime_content_type will be used if available.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMimeDetectorCommand= NULL; # use internal mime_content_type function, available since php 4.3.0
|
2005-12-06 00:48:56 +00:00
|
|
|
|
#$wgMimeDetectorCommand= "file -bi"; #use external mime detector (Linux)
|
2005-05-21 07:46:17 +00:00
|
|
|
|
|
|
|
|
|
|
/** Switch for trivial mime detection. Used by thumb.php to disable all fance things,
|
|
|
|
|
|
* because only a few types of images are needed and file extensions can be trusted.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgTrivialMimeDetection= false;
|
|
|
|
|
|
|
2005-02-28 07:07:14 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* To set 'pretty' URL paths for actions other than
|
|
|
|
|
|
* plain page views, add to this array. For instance:
|
|
|
|
|
|
* 'edit' => "$wgScriptPath/edit/$1"
|
|
|
|
|
|
*
|
|
|
|
|
|
* There must be an appropriate script or rewrite rule
|
|
|
|
|
|
* in place to handle these URLs.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgActionPaths = array();
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If you operate multiple wikis, you can define a shared upload path here.
|
|
|
|
|
|
* Uploads to this wiki will NOT be put there - they will be put into
|
|
|
|
|
|
* $wgUploadDirectory.
|
|
|
|
|
|
* If $wgUseSharedUploads is set, the wiki will look in the shared repository if
|
|
|
|
|
|
* no file of the given name is found in the local repository (for [[Image:..]],
|
|
|
|
|
|
* [[Media:..]] links). Thumbnails will also be looked for and generated in this
|
|
|
|
|
|
* directory.
|
|
|
|
|
|
*/
|
2004-10-21 05:04:14 +00:00
|
|
|
|
$wgUseSharedUploads = false;
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Full path on the web server where shared uploads can be found */
|
2004-10-27 10:51:57 +00:00
|
|
|
|
$wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/** Fetch commons image description pages and display them on the local wiki? */
|
|
|
|
|
|
$wgFetchCommonsDescriptions = false;
|
2005-04-10 18:29:30 +00:00
|
|
|
|
/** Path on the file system where shared uploads can be found. */
|
2004-10-21 05:04:14 +00:00
|
|
|
|
$wgSharedUploadDirectory = "/var/www/wiki3/images";
|
2005-04-10 18:29:30 +00:00
|
|
|
|
/** DB name with metadata about shared directory. Set this to false if the uploads do not come from a wiki. */
|
|
|
|
|
|
$wgSharedUploadDBname = false;
|
2005-07-13 15:35:22 +00:00
|
|
|
|
/** Optional table prefix used in database. */
|
|
|
|
|
|
$wgSharedUploadDBprefix = '';
|
2005-04-10 18:29:30 +00:00
|
|
|
|
/** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */
|
|
|
|
|
|
$wgCacheSharedUploads = true;
|
2006-08-22 10:08:10 +00:00
|
|
|
|
/** Allow for upload to be copied from an URL. Requires Special:Upload?source=web */
|
|
|
|
|
|
$wgAllowCopyUploads = false;
|
2006-08-22 10:14:23 +00:00
|
|
|
|
/** Max size for uploads, in bytes */
|
|
|
|
|
|
$wgMaxUploadSize = 1024*1024*100; # 100MB
|
2005-04-24 01:23:38 +00:00
|
|
|
|
|
2005-04-24 00:53:12 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Point the upload navigation link to an external URL
|
|
|
|
|
|
* Useful if you want to use a shared repository by default
|
2005-10-08 16:02:24 +00:00
|
|
|
|
* without disabling local uploads (use $wgEnableUploads = false for that)
|
2005-04-24 01:23:38 +00:00
|
|
|
|
* e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload';
|
2005-04-24 00:53:12 +00:00
|
|
|
|
*/
|
2005-04-24 01:23:38 +00:00
|
|
|
|
$wgUploadNavigationUrl = false;
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Give a path here to use thumb.php for thumbnail generation on client request, instead of
|
|
|
|
|
|
* generating them on render and outputting a static URL. This is necessary if some of your
|
2005-04-16 04:33:34 +00:00
|
|
|
|
* apache servers don't have read/write access to the thumbnail path.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
|
|
|
|
|
* Example:
|
2005-04-20 06:05:16 +00:00
|
|
|
|
* $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";
|
2005-04-16 04:33:34 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgThumbnailScriptPath = false;
|
|
|
|
|
|
$wgSharedThumbnailScriptPath = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set the following to false especially if you have a set of files that need to
|
|
|
|
|
|
* be accessible by all wikis, and you do not want to use the hash (path/a/aa/)
|
|
|
|
|
|
* directory layout.
|
|
|
|
|
|
*/
|
2004-10-21 05:04:14 +00:00
|
|
|
|
$wgHashedSharedUploadDirectory = true;
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Base URL for a repository wiki. Leave this blank if uploads are just stored
|
|
|
|
|
|
* in a shared directory and not meant to be accessible through a separate wiki.
|
|
|
|
|
|
* Otherwise the image description pages on the local wiki will link to the
|
|
|
|
|
|
* image description page on this wiki.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Please specify the namespace, as in the example below.
|
|
|
|
|
|
*/
|
2004-12-02 19:56:00 +00:00
|
|
|
|
$wgRepositoryBaseUrl="http://commons.wikimedia.org/wiki/Image:";
|
2004-10-21 05:04:14 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
|
|
|
|
|
#
|
2004-08-15 23:25:52 +00:00
|
|
|
|
# Email settings
|
|
|
|
|
|
#
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Site admin email address
|
|
|
|
|
|
* Default to wikiadmin@SERVER_NAME
|
|
|
|
|
|
* @global string $wgEmergencyContact
|
|
|
|
|
|
*/
|
2004-09-27 04:43:29 +00:00
|
|
|
|
$wgEmergencyContact = 'wikiadmin@' . $wgServerName;
|
2004-09-20 21:53:21 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Password reminder email address
|
|
|
|
|
|
* The address we should use as sender when a user is requesting his password
|
|
|
|
|
|
* Default to apache@SERVER_NAME
|
|
|
|
|
|
* @global string $wgPasswordSender
|
|
|
|
|
|
*/
|
2006-01-07 14:41:46 +00:00
|
|
|
|
$wgPasswordSender = 'MediaWiki Mail <apache@' . $wgServerName . '>';
|
2003-08-07 18:31:42 +00:00
|
|
|
|
|
2004-12-18 03:47:11 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* dummy address which should be accepted during mail send action
|
|
|
|
|
|
* It might be necessay to adapt the address or to set it equal
|
|
|
|
|
|
* to the $wgEmergencyContact address
|
|
|
|
|
|
*/
|
|
|
|
|
|
#$wgNoReplyAddress = $wgEmergencyContact;
|
|
|
|
|
|
$wgNoReplyAddress = 'reply@not.possible';
|
|
|
|
|
|
|
2004-11-25 06:20:01 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set to true to enable the e-mail basic features:
|
|
|
|
|
|
* Password reminders, etc. If sending e-mail on your
|
|
|
|
|
|
* server doesn't work, you might want to disable this.
|
|
|
|
|
|
* @global bool $wgEnableEmail
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEnableEmail = true;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Set to true to enable user-to-user e-mail.
|
|
|
|
|
|
* This can potentially be abused, as it's hard to track.
|
|
|
|
|
|
* @global bool $wgEnableUserEmail
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEnableUserEmail = true;
|
2004-09-03 01:05:32 +00:00
|
|
|
|
|
2006-10-23 09:35:30 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Minimum time, in hours, which must elapse between password reminder
|
|
|
|
|
|
* emails for a given account. This is to prevent abuse by mail flooding.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgPasswordReminderResendTime = 24;
|
|
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* SMTP Mode
|
2005-07-03 04:40:07 +00:00
|
|
|
|
* For using a direct (authenticated) SMTP server connection.
|
2004-09-03 01:05:32 +00:00
|
|
|
|
* Default to false or fill an array :
|
|
|
|
|
|
* <code>
|
|
|
|
|
|
* "host" => 'SMTP domain',
|
|
|
|
|
|
* "IDHost" => 'domain for MessageID',
|
|
|
|
|
|
* "port" => "25",
|
|
|
|
|
|
* "auth" => true/false,
|
|
|
|
|
|
* "username" => user,
|
|
|
|
|
|
* "password" => password
|
|
|
|
|
|
* </code>
|
|
|
|
|
|
*
|
|
|
|
|
|
* @global mixed $wgSMTP
|
|
|
|
|
|
*/
|
2004-02-27 12:48:07 +00:00
|
|
|
|
$wgSMTP = false;
|
|
|
|
|
|
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**#@+
|
|
|
|
|
|
* Database settings
|
|
|
|
|
|
*/
|
|
|
|
|
|
/** database host name or ip address */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDBserver = 'localhost';
|
2006-06-28 17:58:11 +00:00
|
|
|
|
/** database port number */
|
|
|
|
|
|
$wgDBport = '';
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/** name of the database */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDBname = 'wikidb';
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/** */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDBconnection = '';
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/** Database username */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDBuser = 'wikiuser';
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/** Database type
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDBtype = "mysql";
|
2004-09-23 12:15:42 +00:00
|
|
|
|
/** Search type
|
2005-05-23 08:42:20 +00:00
|
|
|
|
* Leave as null to select the default search engine for the
|
|
|
|
|
|
* selected database type (eg SearchMySQL4), or set to a class
|
|
|
|
|
|
* name to override to a custom search engine.
|
2004-09-23 12:15:42 +00:00
|
|
|
|
*/
|
2005-05-23 08:42:20 +00:00
|
|
|
|
$wgSearchType = null;
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/** Table name prefix */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgDBprefix = '';
|
2004-09-03 01:05:32 +00:00
|
|
|
|
/**#@-*/
|
2004-03-26 16:47:12 +00:00
|
|
|
|
|
2006-02-25 13:47:11 +00:00
|
|
|
|
/** Live high performance sites should disable this - some checks acquire giant mysql locks */
|
|
|
|
|
|
$wgCheckDBSchema = true;
|
2004-09-17 13:47:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Shared database for multiple wikis. Presently used for storing a user table
|
|
|
|
|
|
* for single sign-on. The server for this database must be the same as for the
|
|
|
|
|
|
* main database.
|
|
|
|
|
|
* EXPERIMENTAL
|
|
|
|
|
|
*/
|
2004-11-09 21:03:41 +00:00
|
|
|
|
$wgSharedDB = null;
|
2004-08-28 13:32:14 +00:00
|
|
|
|
|
2004-06-15 15:00:54 +00:00
|
|
|
|
# Database load balancer
|
2004-07-10 03:09:26 +00:00
|
|
|
|
# This is a two-dimensional array, an array of server info structures
|
2005-07-03 04:40:07 +00:00
|
|
|
|
# Fields are:
|
2005-04-23 11:49:33 +00:00
|
|
|
|
# host: Host name
|
|
|
|
|
|
# dbname: Default database name
|
|
|
|
|
|
# user: DB user
|
|
|
|
|
|
# password: DB password
|
2006-08-28 01:31:15 +00:00
|
|
|
|
# type: "mysql" or "postgres"
|
2005-04-23 11:49:33 +00:00
|
|
|
|
# load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
|
2005-07-03 04:40:07 +00:00
|
|
|
|
# groupLoads: array of load ratios, the key is the query group name. A query may belong
|
2005-04-23 11:49:33 +00:00
|
|
|
|
# to several groups, the most specific group defined here is used.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
#
|
2005-04-23 11:49:33 +00:00
|
|
|
|
# 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)
|
2004-07-24 07:24:04 +00:00
|
|
|
|
#
|
2005-10-29 01:41:36 +00:00
|
|
|
|
# max lag: (optional) Maximum replication lag before a slave will taken out of rotation
|
|
|
|
|
|
# max threads: (optional) Maximum number of running threads
|
|
|
|
|
|
#
|
2006-01-07 13:09:30 +00:00
|
|
|
|
# These and any other user-defined properties will be assigned to the mLBInfo member
|
2005-10-29 01:41:36 +00:00
|
|
|
|
# variable of the Database object.
|
|
|
|
|
|
#
|
2004-07-10 03:09:26 +00:00
|
|
|
|
# Leave at false to use the single-server variables above
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgDBservers = false;
|
2004-06-15 15:00:54 +00:00
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/** How long to wait for a slave to catch up to the master */
|
2005-01-15 10:11:45 +00:00
|
|
|
|
$wgMasterWaitTimeout = 10;
|
|
|
|
|
|
|
2006-06-28 17:58:11 +00:00
|
|
|
|
/** File to log database errors to */
|
2005-01-28 00:01:44 +00:00
|
|
|
|
$wgDBerrorLog = false;
|
|
|
|
|
|
|
2005-06-19 02:39:43 +00:00
|
|
|
|
/** When to give an error message */
|
|
|
|
|
|
$wgDBClusterTimeout = 10;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* wgDBminWordLen :
|
|
|
|
|
|
* MySQL 3.x : used to discard words that MySQL will not return any results for
|
|
|
|
|
|
* shorter values configure mysql directly.
|
|
|
|
|
|
* MySQL 4.x : ignore it and configure mySQL
|
|
|
|
|
|
* See: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
|
|
|
|
|
|
*/
|
2003-04-14 23:10:40 +00:00
|
|
|
|
$wgDBminWordLen = 4;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Set to true if using InnoDB tables */
|
|
|
|
|
|
$wgDBtransactions = false;
|
2005-08-26 23:02:54 +00:00
|
|
|
|
/** Set to true for compatibility with extensions that might be checking.
|
|
|
|
|
|
* MySQL 3.23.x is no longer supported. */
|
|
|
|
|
|
$wgDBmysql4 = true;
|
2003-04-14 23:10:40 +00:00
|
|
|
|
|
2005-10-26 01:45:23 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set to true to engage MySQL 4.1/5.0 charset-related features;
|
|
|
|
|
|
* for now will just cause sending of 'SET NAMES=utf8' on connect.
|
|
|
|
|
|
*
|
|
|
|
|
|
* WARNING: THIS IS EXPERIMENTAL!
|
|
|
|
|
|
*
|
|
|
|
|
|
* May break if you're not using the table defs from mysql5/tables.sql.
|
|
|
|
|
|
* May break if you're upgrading an existing wiki if set differently.
|
|
|
|
|
|
* Broken symptoms likely to include incorrect behavior with page titles,
|
|
|
|
|
|
* usernames, comments etc containing non-ASCII characters.
|
|
|
|
|
|
* Might also cause failures on the object cache and other things.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Even correct usage may cause failures with Unicode supplementary
|
|
|
|
|
|
* characters (those not in the Basic Multilingual Plane) unless MySQL
|
|
|
|
|
|
* has enhanced their Unicode support.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDBmysql5 = false;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Other wikis on this site, can be administered from a single developer
|
|
|
|
|
|
* account.
|
2006-01-04 22:48:35 +00:00
|
|
|
|
* Array numeric key => database name
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*/
|
2004-03-01 00:31:08 +00:00
|
|
|
|
$wgLocalDatabases = array();
|
|
|
|
|
|
|
2005-04-09 10:30:45 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Object cache settings
|
|
|
|
|
|
* See Defines.php for types
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMainCacheType = CACHE_NONE;
|
|
|
|
|
|
$wgMessageCacheType = CACHE_ANYTHING;
|
|
|
|
|
|
$wgParserCacheType = CACHE_ANYTHING;
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2006-01-09 10:45:47 +00:00
|
|
|
|
$wgParserCacheExpireTime = 86400;
|
|
|
|
|
|
|
2003-11-12 10:21:28 +00:00
|
|
|
|
$wgSessionsInMemcached = false;
|
|
|
|
|
|
$wgLinkCacheMemcached = false; # Not fully tested
|
2003-08-11 13:53:20 +00:00
|
|
|
|
|
2004-09-04 00:02:45 +00:00
|
|
|
|
/**
|
2005-04-09 10:30:45 +00:00
|
|
|
|
* Memcached-specific settings
|
2005-04-12 02:07:16 +00:00
|
|
|
|
* See docs/memcached.txt
|
2004-09-04 00:02:45 +00:00
|
|
|
|
*/
|
2005-09-13 17:04:18 +00:00
|
|
|
|
$wgUseMemCached = false;
|
2005-04-09 10:30:45 +00:00
|
|
|
|
$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;
|
2006-02-19 09:55:20 +00:00
|
|
|
|
$wgMemCachedPersistent = false;
|
2004-08-21 13:59:48 +00:00
|
|
|
|
|
2005-11-08 11:54:04 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Directory for local copy of message cache, for use in addition to memcached
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLocalMessageCache = false;
|
2006-05-28 18:29:42 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Defines format of local cache
|
|
|
|
|
|
* true - Serialized object
|
|
|
|
|
|
* false - PHP source file (Warning - security risk)
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLocalMessageCacheSerialized = true;
|
2005-03-02 01:54:05 +00:00
|
|
|
|
|
2006-01-21 22:24:23 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Directory for compiled constant message array databases
|
|
|
|
|
|
* WARNING: turning anything on will just break things, aaaaaah!!!!
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgCachedMessageArrays = false;
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2003-04-14 23:10:40 +00:00
|
|
|
|
# Language settings
|
|
|
|
|
|
#
|
2005-04-25 10:13:19 +00:00
|
|
|
|
/** Site language code, should be one of ./languages/Language(.*).php */
|
2004-09-25 10:38:34 +00:00
|
|
|
|
$wgLanguageCode = 'en';
|
2004-09-08 07:35:00 +00:00
|
|
|
|
|
2006-05-25 14:12:32 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Some languages need different word forms, usually for different cases.
|
|
|
|
|
|
* Used in Language::convertGrammar().
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgGrammarForms = array();
|
2006-05-25 20:52:45 +00:00
|
|
|
|
#$wgGrammarForms['en']['genitive']['car'] = 'car\'s';
|
2006-05-25 14:12:32 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Treat language links as magic connectors, not inline links */
|
2006-05-25 14:12:32 +00:00
|
|
|
|
$wgInterwikiMagic = true;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
2005-05-28 06:56:30 +00:00
|
|
|
|
/** Hide interlanguage links from the sidebar */
|
|
|
|
|
|
$wgHideInterlanguageLinks = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-03-26 22:23:48 +00:00
|
|
|
|
/** We speak UTF-8 all the time now, unless some oddities happen */
|
2006-05-25 14:12:32 +00:00
|
|
|
|
$wgInputEncoding = 'UTF-8';
|
|
|
|
|
|
$wgOutputEncoding = 'UTF-8';
|
|
|
|
|
|
$wgEditEncoding = '';
|
2004-10-08 08:46:25 +00:00
|
|
|
|
|
|
|
|
|
|
# Set this to eg 'ISO-8859-1' to perform character set
|
|
|
|
|
|
# conversion when loading old revisions not marked with
|
|
|
|
|
|
# "utf-8" flag. Use this when converting wiki to UTF-8
|
|
|
|
|
|
# without the burdensome mass conversion of old text data.
|
|
|
|
|
|
#
|
|
|
|
|
|
# NOTE! This DOES NOT touch any fields other than old_text.
|
|
|
|
|
|
# Titles, comments, user names, etc still must be converted
|
|
|
|
|
|
# en masse in the database before continuing as a UTF-8 wiki.
|
|
|
|
|
|
$wgLegacyEncoding = false;
|
|
|
|
|
|
|
2005-05-06 11:31:18 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If set to true, the MediaWiki 1.4 to 1.5 schema conversion will
|
|
|
|
|
|
* create stub reference rows in the text table instead of copying
|
|
|
|
|
|
* the full text of all current entries from 'cur' to 'text'.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This will speed up the conversion step for large sites, but
|
|
|
|
|
|
* requires that the cur table be kept around for those revisions
|
|
|
|
|
|
* to remain viewable.
|
|
|
|
|
|
*
|
|
|
|
|
|
* maintenance/migrateCurStubs.php can be used to complete the
|
|
|
|
|
|
* migration in the background once the wiki is back online.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This option affects the updaters *only*. Any present cur stub
|
|
|
|
|
|
* revisions will be readable at runtime regardless of this setting.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLegacySchemaConversion = false;
|
|
|
|
|
|
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgMimeType = 'text/html';
|
2005-05-05 21:00:49 +00:00
|
|
|
|
$wgJsMimeType = 'text/javascript';
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
|
|
|
|
|
|
$wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
/** Enable to allow rewriting dates in page text.
|
|
|
|
|
|
* DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgUseDynamicDates = false;
|
2005-04-07 14:08:04 +00:00
|
|
|
|
/** Enable dates like 'May 12' instead of '12 May', this only takes effect if
|
|
|
|
|
|
* the interface is set to English
|
|
|
|
|
|
*/
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgAmericanDates = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* For Hindi and Arabic use local numerals instead of Western style (0-9)
|
|
|
|
|
|
* numerals in interface.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgTranslateNumerals = true;
|
2004-08-01 06:46:43 +00:00
|
|
|
|
|
2003-04-14 23:10:40 +00:00
|
|
|
|
|
2003-09-21 13:10:10 +00:00
|
|
|
|
# Translation using MediaWiki: namespace
|
2004-02-28 08:31:44 +00:00
|
|
|
|
# This will increase load times by 25-60% unless memcached is installed
|
2005-06-22 03:13:02 +00:00
|
|
|
|
# Interface messages will be loaded from the database.
|
2004-03-20 15:03:26 +00:00
|
|
|
|
$wgUseDatabaseMessages = true;
|
2003-12-14 14:29:35 +00:00
|
|
|
|
$wgMsgCacheExpiry = 86400;
|
2004-10-19 18:02:44 +00:00
|
|
|
|
|
2005-06-22 03:13:02 +00:00
|
|
|
|
# Whether to enable language variant conversion.
|
2004-12-24 02:47:38 +00:00
|
|
|
|
$wgDisableLangConversion = false;
|
2004-10-19 18:02:44 +00:00
|
|
|
|
|
2006-06-22 12:19:55 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Show a bar of language selection links in the user login and user
|
|
|
|
|
|
* registration forms; edit the "loginlanguagelinks" message to
|
|
|
|
|
|
* customise these
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLoginLanguageSelector = false;
|
|
|
|
|
|
|
2004-11-09 21:41:30 +00:00
|
|
|
|
# Whether to use zhdaemon to perform Chinese text processing
|
2004-12-24 02:47:38 +00:00
|
|
|
|
# zhdaemon is under developement, so normally you don't want to
|
|
|
|
|
|
# use it unless for testing
|
2004-11-09 21:41:30 +00:00
|
|
|
|
$wgUseZhdaemon = false;
|
|
|
|
|
|
$wgZhdaemonHost="localhost";
|
|
|
|
|
|
$wgZhdaemonPort=2004;
|
|
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/** Normally you can ignore this and it will be something
|
|
|
|
|
|
like $wgMetaNamespace . "_talk". In some languages, you
|
|
|
|
|
|
may want to set this manually for grammatical reasons.
|
2005-05-22 05:58:36 +00:00
|
|
|
|
It is currently only respected by those languages
|
|
|
|
|
|
where it might be relevant and where no automatic
|
|
|
|
|
|
grammar converter exists.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMetaNamespaceTalk = false;
|
|
|
|
|
|
|
2003-04-14 23:10:40 +00:00
|
|
|
|
# Miscellaneous configuration settings
|
|
|
|
|
|
#
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
|
|
|
|
|
$wgLocalInterwiki = 'w';
|
|
|
|
|
|
$wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
|
|
|
|
|
|
|
2006-03-11 17:13:49 +00:00
|
|
|
|
/** Interwiki caching settings.
|
2006-01-21 16:23:45 +00:00
|
|
|
|
$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
|
|
|
|
|
|
*/
|
2006-03-11 17:13:49 +00:00
|
|
|
|
$wgInterwikiCache = false;
|
2006-01-21 16:23:45 +00:00
|
|
|
|
$wgInterwikiScopes = 3;
|
|
|
|
|
|
$wgInterwikiFallbackSite = 'wiki';
|
|
|
|
|
|
|
2005-03-15 03:32:30 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If local interwikis are set up which allow redirects,
|
|
|
|
|
|
* set this regexp to restrict URLs which will be displayed
|
|
|
|
|
|
* as 'redirected from' links.
|
|
|
|
|
|
*
|
|
|
|
|
|
* It might look something like this:
|
|
|
|
|
|
* $wgRedirectSources = '!^https?://[a-z-]+\.wikipedia\.org/!';
|
|
|
|
|
|
*
|
|
|
|
|
|
* Leave at false to avoid displaying any incoming redirect markers.
|
|
|
|
|
|
* This does not affect intra-wiki redirects, which don't change
|
|
|
|
|
|
* the URL.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRedirectSources = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-08-15 23:25:52 +00:00
|
|
|
|
$wgShowIPinHeader = true; # For non-logged in users
|
2005-07-04 18:52:29 +00:00
|
|
|
|
$wgMaxNameChars = 255; # Maximum number of bytes in username
|
2006-02-22 00:55:25 +00:00
|
|
|
|
$wgMaxArticleSize = 2048; # Maximum article size in kilobytes
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
|
|
|
|
|
$wgExtraSubtitle = '';
|
|
|
|
|
|
$wgSiteSupportPage = ''; # A page where you users can receive donations
|
|
|
|
|
|
|
2003-09-01 13:13:56 +00:00
|
|
|
|
$wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
|
2004-09-24 14:49:22 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* The debug log file should be not be publicly accessible if it is used, as it
|
|
|
|
|
|
* may contain private data. */
|
2005-03-18 20:53:38 +00:00
|
|
|
|
$wgDebugLogFile = '';
|
2004-09-04 00:02:45 +00:00
|
|
|
|
|
|
|
|
|
|
/**#@+
|
|
|
|
|
|
* @global bool
|
|
|
|
|
|
*/
|
2004-03-05 03:18:31 +00:00
|
|
|
|
$wgDebugRedirects = false;
|
2004-07-24 07:24:04 +00:00
|
|
|
|
$wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
|
2003-11-25 06:04:38 +00:00
|
|
|
|
|
2003-09-01 13:13:56 +00:00
|
|
|
|
$wgDebugComments = false;
|
2006-01-26 07:02:53 +00:00
|
|
|
|
$wgReadOnly = null;
|
2003-09-01 13:13:56 +00:00
|
|
|
|
$wgLogQueries = false;
|
2006-01-21 21:57:02 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Write SQL queries to the debug log
|
|
|
|
|
|
*/
|
2004-03-23 10:15:26 +00:00
|
|
|
|
$wgDebugDumpSql = false;
|
|
|
|
|
|
|
2005-08-17 20:07:33 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set to an array of log group keys to filenames.
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* If set, wfDebugLog() output for that group will go to that file instead
|
2005-08-17 20:07:33 +00:00
|
|
|
|
* of the regular $wgDebugLogFile. Useful for enabling selective logging
|
|
|
|
|
|
* in production.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDebugLogGroups = array();
|
|
|
|
|
|
|
2005-02-06 05:51:36 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Whether to show "we're sorry, but there has been a database error" pages.
|
|
|
|
|
|
* Displaying errors aids in debugging, but may display information useful
|
|
|
|
|
|
* to an attacker.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgShowSQLErrors = false;
|
2004-04-15 13:08:22 +00:00
|
|
|
|
|
2006-04-04 05:53:21 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If true, some error messages will be colorized when running scripts on the
|
|
|
|
|
|
* command line; this can aid picking important things out when debugging.
|
|
|
|
|
|
* Ignored when running on Windows or when output is redirected to a file.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgColorErrors = true;
|
|
|
|
|
|
|
2006-10-11 18:57:49 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If set to true, uncaught exceptions will print a complete stack trace
|
|
|
|
|
|
* to output. This should only be used for debugging, as it may reveal
|
|
|
|
|
|
* private information in function parameters due to PHP's backtrace
|
|
|
|
|
|
* formatting.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgShowExceptionDetails = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* disable experimental dmoz-like category browsing. Output things like:
|
|
|
|
|
|
* Encyclopedia > Music > Style of Music > Jazz
|
|
|
|
|
|
*/
|
2004-06-06 04:15:03 +00:00
|
|
|
|
$wgUseCategoryBrowser = false;
|
|
|
|
|
|
|
2004-11-22 06:49:58 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Keep parsed pages in a cache (objectcache table, turck, or memcached)
|
|
|
|
|
|
* to speed up output of the same page viewed by another user with the
|
|
|
|
|
|
* same options.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This can provide a significant speedup for medium to large pages,
|
|
|
|
|
|
* so you probably want to keep it on.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEnableParserCache = true;
|
|
|
|
|
|
|
2006-04-14 08:26:35 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If on, the sidebar navigation links are cached for users with the
|
|
|
|
|
|
* current language set. This can save a touch of load on a busy site
|
|
|
|
|
|
* by shaving off extra message lookups.
|
|
|
|
|
|
*
|
|
|
|
|
|
* However it is also fragile: changing the site configuration, or
|
|
|
|
|
|
* having a variable $wgArticlePath, can produce broken links that
|
|
|
|
|
|
* don't update as expected.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEnableSidebarCache = false;
|
|
|
|
|
|
|
2005-03-18 20:43:07 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Under which condition should a page in the main namespace be counted
|
|
|
|
|
|
* as a valid article? If $wgUseCommaCount is set to true, it will be
|
|
|
|
|
|
* counted if it contains at least one comma. If it is set to false
|
|
|
|
|
|
* (default), it will only be counted if it contains at least one [[wiki
|
|
|
|
|
|
* link]]. See http://meta.wikimedia.org/wiki/Help:Article_count
|
|
|
|
|
|
*
|
|
|
|
|
|
* Retroactively changing this variable will not affect
|
|
|
|
|
|
* the existing count (cf. maintenance/recount.sql).
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgUseCommaCount = false;
|
|
|
|
|
|
|
2004-09-04 00:02:45 +00:00
|
|
|
|
/**#@-*/
|
2004-01-07 02:51:47 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* wgHitcounterUpdateFreq sets how often page counters should be updated, higher
|
|
|
|
|
|
* values are easier on the database. A value of 1 causes the counters to be
|
|
|
|
|
|
* updated on every hit, any higher value n cause them to update *on average*
|
|
|
|
|
|
* every n hits. Should be set to either 1 or something largish, eg 1000, for
|
|
|
|
|
|
* maximum efficiency.
|
|
|
|
|
|
*/
|
2004-01-17 19:59:42 +00:00
|
|
|
|
$wgHitcounterUpdateFreq = 1;
|
|
|
|
|
|
|
2005-10-16 04:09:14 +00:00
|
|
|
|
# Basic user rights and block settings
|
2005-04-07 11:54:27 +00:00
|
|
|
|
$wgSysopUserBans = true; # Allow sysops to ban logged-in users
|
|
|
|
|
|
$wgSysopRangeBans = true; # Allow sysops to ban IP ranges
|
2004-02-14 12:37:25 +00:00
|
|
|
|
$wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
|
2005-07-07 21:40:25 +00:00
|
|
|
|
$wgBlockAllowsUTEdit = false; # Blocks allow users to edit their own user talk page
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2005-10-16 04:09:14 +00:00
|
|
|
|
# Pages anonymous user may see as an array, e.g.:
|
|
|
|
|
|
# array ( "Main Page", "Special:Userlogin", "Wikipedia:Help");
|
2006-01-07 13:09:30 +00:00
|
|
|
|
# NOTE: This will only work if $wgGroupPermissions['*']['read']
|
2005-10-16 04:09:14 +00:00
|
|
|
|
# is false -- see below. Otherwise, ALL pages are accessible,
|
|
|
|
|
|
# regardless of this setting.
|
2005-11-28 21:38:09 +00:00
|
|
|
|
# Also note that this will only protect _pages in the wiki_.
|
2006-01-07 13:09:30 +00:00
|
|
|
|
# Uploaded files will remain readable. Make your upload
|
2005-11-28 21:38:09 +00:00
|
|
|
|
# directory name unguessable, or use .htaccess to protect it.
|
2006-01-07 13:31:29 +00:00
|
|
|
|
$wgWhitelistRead = false;
|
2005-10-16 04:09:14 +00:00
|
|
|
|
|
2006-02-10 09:34:31 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Should editors be required to have a validated e-mail
|
|
|
|
|
|
* address before being allowed to edit?
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEmailConfirmToEdit=false;
|
|
|
|
|
|
|
2005-05-01 18:24:20 +00:00
|
|
|
|
/**
|
2005-06-09 09:49:10 +00:00
|
|
|
|
* Permission keys given to users in each group.
|
|
|
|
|
|
* All users are implicitly in the '*' group including anonymous visitors;
|
|
|
|
|
|
* logged-in users are all implicitly in the 'user' group. These will be
|
|
|
|
|
|
* combined with the permissions of all groups that a given user is listed
|
|
|
|
|
|
* in in the user_groups table.
|
2005-06-25 06:24:46 +00:00
|
|
|
|
*
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* Functionality to make pages inaccessible has not been extensively tested
|
2005-10-16 04:09:14 +00:00
|
|
|
|
* for security. Use at your own risk!
|
2006-01-07 13:09:30 +00:00
|
|
|
|
*
|
2005-06-25 06:24:46 +00:00
|
|
|
|
* This replaces wgWhitelistAccount and wgWhitelistEdit
|
2005-06-09 09:49:10 +00:00
|
|
|
|
*/
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions = array();
|
|
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Implicit group for all visitors
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['*' ]['createaccount'] = true;
|
|
|
|
|
|
$wgGroupPermissions['*' ]['read'] = true;
|
2005-06-25 06:24:46 +00:00
|
|
|
|
$wgGroupPermissions['*' ]['edit'] = true;
|
2005-12-05 05:37:10 +00:00
|
|
|
|
$wgGroupPermissions['*' ]['createpage'] = true;
|
|
|
|
|
|
$wgGroupPermissions['*' ]['createtalk'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Implicit group for all logged-in accounts
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['move'] = true;
|
|
|
|
|
|
$wgGroupPermissions['user' ]['read'] = true;
|
2005-06-25 06:24:46 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['edit'] = true;
|
2005-12-05 05:37:10 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['createpage'] = true;
|
|
|
|
|
|
$wgGroupPermissions['user' ]['createtalk'] = true;
|
2005-06-19 08:03:40 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['upload'] = true;
|
2005-09-05 06:16:48 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['reupload'] = true;
|
|
|
|
|
|
$wgGroupPermissions['user' ]['reupload-shared'] = true;
|
2006-01-02 17:11:04 +00:00
|
|
|
|
$wgGroupPermissions['user' ]['minoredit'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Implicit group for accounts that pass $wgAutoConfirmAge
|
|
|
|
|
|
$wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
|
|
|
|
|
|
|
2006-07-06 17:33:33 +00:00
|
|
|
|
// Implicit group for accounts with confirmed email addresses
|
|
|
|
|
|
// This has little use when email address confirmation is off
|
|
|
|
|
|
$wgGroupPermissions['emailconfirmed']['emailconfirmed'] = true;
|
|
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Users with bot privilege can have their edits hidden
|
|
|
|
|
|
// from various log pages by default
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['bot' ]['bot'] = true;
|
2005-12-22 05:41:06 +00:00
|
|
|
|
$wgGroupPermissions['bot' ]['autoconfirmed'] = true;
|
2006-10-29 12:11:58 +00:00
|
|
|
|
$wgGroupPermissions['bot' ]['nominornewtalk'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Most extra permission abilities go to this group
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['block'] = true;
|
|
|
|
|
|
$wgGroupPermissions['sysop']['createaccount'] = true;
|
|
|
|
|
|
$wgGroupPermissions['sysop']['delete'] = true;
|
2006-08-22 12:37:16 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['deletedhistory'] = true; // can view deleted history entries, but not see or restore the text
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['editinterface'] = true;
|
|
|
|
|
|
$wgGroupPermissions['sysop']['import'] = true;
|
2005-06-19 08:03:40 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['importupload'] = true;
|
2005-06-23 20:40:37 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['move'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['patrol'] = true;
|
|
|
|
|
|
$wgGroupPermissions['sysop']['protect'] = true;
|
2006-05-10 20:09:30 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['proxyunbannable'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['rollback'] = true;
|
2006-05-10 20:09:30 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['trackback'] = true;
|
2005-06-23 20:40:37 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['upload'] = true;
|
2005-09-05 06:16:48 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['reupload'] = true;
|
|
|
|
|
|
$wgGroupPermissions['sysop']['reupload-shared'] = true;
|
2006-08-22 12:37:16 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['unwatchedpages'] = true;
|
2005-12-22 05:41:06 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['autoconfirmed'] = true;
|
2006-08-22 12:37:16 +00:00
|
|
|
|
$wgGroupPermissions['sysop']['upload_by_url'] = true;
|
2005-06-19 07:03:55 +00:00
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
// Permission to change users' group assignments
|
2005-06-19 07:03:55 +00:00
|
|
|
|
$wgGroupPermissions['bureaucrat']['userrights'] = true;
|
|
|
|
|
|
|
2006-03-16 19:04:25 +00:00
|
|
|
|
// Experimental permissions, not ready for production use
|
|
|
|
|
|
//$wgGroupPermissions['sysop']['deleterevision'] = true;
|
|
|
|
|
|
//$wgGroupPermissions['bureaucrat']['hiderevision'] = true;
|
|
|
|
|
|
|
2005-06-19 07:03:55 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* The developer group is deprecated, but can be activated if need be
|
|
|
|
|
|
* to use the 'lockdb' and 'unlockdb' special pages. Those require
|
|
|
|
|
|
* that a lock file be defined and creatable/removable by the web
|
|
|
|
|
|
* server.
|
|
|
|
|
|
*/
|
|
|
|
|
|
# $wgGroupPermissions['developer']['siteadmin'] = true;
|
2005-06-09 09:49:10 +00:00
|
|
|
|
|
2005-12-22 05:41:06 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set of available actions that can be restricted via Special:Protect
|
|
|
|
|
|
* You probably shouldn't change this.
|
2006-02-18 15:07:02 +00:00
|
|
|
|
* Translated trough restriction-* messages.
|
2005-12-22 05:41:06 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgRestrictionTypes = array( 'edit', 'move' );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Set of permission keys that can be selected via Special:Protect.
|
|
|
|
|
|
* 'autoconfirm' allows all registerd users if $wgAutoConfirmAge is 0.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Number of seconds an account is required to age before
|
|
|
|
|
|
* it's given the implicit 'autoconfirm' group membership.
|
|
|
|
|
|
* This can be used to limit privileges of new accounts.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Accounts created by earlier versions of the software
|
|
|
|
|
|
* may not have a recorded creation date, and will always
|
|
|
|
|
|
* be considered to pass the age test.
|
|
|
|
|
|
*
|
|
|
|
|
|
* When left at 0, all registered accounts will pass.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAutoConfirmAge = 0;
|
|
|
|
|
|
//$wgAutoConfirmAge = 600; // ten minutes
|
|
|
|
|
|
//$wgAutoConfirmAge = 3600*24; // one day
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-01 18:24:20 +00:00
|
|
|
|
|
2004-08-15 23:25:52 +00:00
|
|
|
|
# Proxy scanner settings
|
2005-01-27 05:01:28 +00:00
|
|
|
|
#
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* If you enable this, every editor's IP address will be scanned for open HTTP
|
|
|
|
|
|
* proxies.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* Don't enable this. Many sysops will report "hostile TCP port scans" to your
|
|
|
|
|
|
* ISP and ask for your server to be shut down.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* You have been warned.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgBlockOpenProxies = false;
|
|
|
|
|
|
/** Port we want to scan for a proxy */
|
2004-03-20 15:03:26 +00:00
|
|
|
|
$wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Script used to scan */
|
2004-03-10 14:24:40 +00:00
|
|
|
|
$wgProxyScriptPath = "$IP/proxy_check.php";
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** */
|
2004-03-10 14:24:40 +00:00
|
|
|
|
$wgProxyMemcExpiry = 86400;
|
2005-03-16 07:36:02 +00:00
|
|
|
|
/** This should always be customised in LocalSettings.php */
|
2005-03-16 07:41:58 +00:00
|
|
|
|
$wgSecretKey = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** big list of banned IP addresses, in the keys not the values */
|
|
|
|
|
|
$wgProxyList = array();
|
2005-03-16 07:55:31 +00:00
|
|
|
|
/** deprecated */
|
|
|
|
|
|
$wgProxyKey = false;
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Number of accounts each IP address may create, 0 to disable.
|
|
|
|
|
|
* Requires memcached */
|
2004-08-15 23:25:52 +00:00
|
|
|
|
$wgAccountCreationThrottle = 0;
|
|
|
|
|
|
|
2003-05-16 13:39:22 +00:00
|
|
|
|
# Client-side caching:
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Allow client-side caching of pages */
|
|
|
|
|
|
$wgCachePages = true;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Set this to current time to invalidate all prior cached pages. Affects both
|
|
|
|
|
|
* client- and server-side caching.
|
2006-01-10 23:17:32 +00:00
|
|
|
|
* You can get the current date on your server by using the command:
|
|
|
|
|
|
* date +%Y%m%d%H%M%S
|
2005-01-28 00:01:44 +00:00
|
|
|
|
*/
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgCacheEpoch = '20030516000000';
|
2003-05-16 13:39:22 +00:00
|
|
|
|
|
2006-10-13 21:48:19 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Bump this number when changing the global style sheets and JavaScript.
|
|
|
|
|
|
* It should be appended in the query string of static CSS and JS includes,
|
|
|
|
|
|
* to ensure that client-side caches don't keep obsolete copies of global
|
|
|
|
|
|
* styles.
|
|
|
|
|
|
*/
|
2006-11-02 06:47:01 +00:00
|
|
|
|
$wgStyleVersion = '24';
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2003-05-16 13:39:22 +00:00
|
|
|
|
# Server-side caching:
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* This will cache static pages for non-logged-in users to reduce
|
|
|
|
|
|
* database traffic on public sites.
|
|
|
|
|
|
* Must set $wgShowIPinHeader = false
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*/
|
2003-05-16 13:39:22 +00:00
|
|
|
|
$wgUseFileCache = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Directory where the cached page will be saved */
|
2003-05-16 13:39:22 +00:00
|
|
|
|
$wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* When using the file cache, we can store the cached HTML gzipped to save disk
|
|
|
|
|
|
* space. Pages will then also be served compressed to clients that support it.
|
|
|
|
|
|
* THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
|
|
|
|
|
|
* the default LocalSettings.php! If you enable this, remove that setting first.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* Requires zlib support enabled in PHP.
|
|
|
|
|
|
*/
|
2004-08-14 22:51:28 +00:00
|
|
|
|
$wgUseGzip = false;
|
2006-08-24 15:14:38 +00:00
|
|
|
|
|
|
|
|
|
|
/** Whether MediaWiki should send an ETag header */
|
|
|
|
|
|
$wgUseETag = false;
|
2004-08-14 22:51:28 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
# Email notification settings
|
2004-12-18 03:47:11 +00:00
|
|
|
|
#
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** For email notification on page changes */
|
2005-01-27 05:01:28 +00:00
|
|
|
|
$wgPasswordSender = $wgEmergencyContact;
|
|
|
|
|
|
|
2005-05-14 17:55:04 +00:00
|
|
|
|
# true: from page editor if s/he opted-in
|
2005-01-27 05:01:28 +00:00
|
|
|
|
# false: Enotif mails appear to come from $wgEmergencyContact
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgEnotifFromEditor = false;
|
2004-12-18 03:47:11 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
// TODO move UPO to preferences probably ?
|
2004-12-18 03:47:11 +00:00
|
|
|
|
# If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
|
|
|
|
|
|
# If set to false, the corresponding input form on the user preference page is suppressed
|
|
|
|
|
|
# It call this to be a "user-preferences-option (UPO)"
|
|
|
|
|
|
$wgEmailAuthentication = true; # UPO (if this is set to false, texts referring to authentication are suppressed)
|
2005-05-14 17:55:04 +00:00
|
|
|
|
$wgEnotifWatchlist = false; # UPO
|
|
|
|
|
|
$wgEnotifUserTalk = false; # UPO
|
|
|
|
|
|
$wgEnotifRevealEditorAddress = false; # UPO; reply-to address may be filled with page editor's address (if user allowed this in the preferences)
|
|
|
|
|
|
$wgEnotifMinorEdits = true; # UPO; false: "minor edits" on pages do not trigger notification mails.
|
2004-12-18 03:47:11 +00:00
|
|
|
|
# # Attention: _every_ change on a user_talk page trigger a notification mail (if the user is not yet notified)
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Show watching users in recent changes, watchlist and page history views */
|
2004-12-18 03:59:06 +00:00
|
|
|
|
$wgRCShowWatchingUsers = false; # UPO
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Show watching users in Page views */
|
2004-12-18 03:59:06 +00:00
|
|
|
|
$wgPageShowWatchingUsers = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Show "Updated (since my last visit)" marker in RC view, watchlist and history
|
|
|
|
|
|
* view for watched pages with new changes */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgShowUpdatedMarker = true;
|
2004-12-18 03:47:11 +00:00
|
|
|
|
|
|
|
|
|
|
$wgCookieExpiration = 2592000;
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/** Clock skew or the one-second resolution of time() can occasionally cause cache
|
2005-06-12 17:05:07 +00:00
|
|
|
|
* problems when the user requests two pages within a short period of time. This
|
|
|
|
|
|
* variable adds a given number of seconds to vulnerable timestamps, thereby giving
|
|
|
|
|
|
* a grace period.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgClockSkewFudge = 5;
|
|
|
|
|
|
|
2004-01-30 17:07:50 +00:00
|
|
|
|
# Squid-related settings
|
|
|
|
|
|
#
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Enable/disable Squid */
|
|
|
|
|
|
$wgUseSquid = false;
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** If you run Squid3 with ESI support, enable this (default:false): */
|
|
|
|
|
|
$wgUseESI = false;
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Internal server name as known to Squid, if different */
|
2004-01-30 18:02:50 +00:00
|
|
|
|
# $wgInternalServer = 'http://yourinternal.tld:8000';
|
2005-01-28 00:01:44 +00:00
|
|
|
|
$wgInternalServer = $wgServer;
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Cache timeout for the squid, will be sent as s-maxage (without ESI) or
|
|
|
|
|
|
* Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in
|
|
|
|
|
|
* the Squid config. 18000 seconds = 5 hours, more cache hits with 2678400 = 31
|
|
|
|
|
|
* days
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSquidMaxage = 18000;
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* A list of proxy servers (ips if possible) to purge on changes don't specify
|
|
|
|
|
|
* ports here (80 is default)
|
|
|
|
|
|
*/
|
2004-01-30 17:07:50 +00:00
|
|
|
|
# $wgSquidServers = array('127.0.0.1');
|
2005-02-06 03:29:39 +00:00
|
|
|
|
$wgSquidServers = array();
|
2005-01-12 22:45:39 +00:00
|
|
|
|
$wgSquidServersNoPurge = array();
|
2004-01-30 17:07:50 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Maximum number of titles to purge in any one client operation */
|
2004-06-30 03:39:48 +00:00
|
|
|
|
$wgMaxSquidPurgeTitles = 400;
|
|
|
|
|
|
|
2005-04-06 17:14:43 +00:00
|
|
|
|
/** HTCP multicast purging */
|
|
|
|
|
|
$wgHTCPPort = 4827;
|
|
|
|
|
|
$wgHTCPMulticastTTL = 1;
|
|
|
|
|
|
# $wgHTCPMulticastAddress = "224.0.0.85";
|
2006-10-16 18:37:50 +00:00
|
|
|
|
$wgHTCPMulticastAddress = false;
|
2004-06-30 03:39:48 +00:00
|
|
|
|
|
2004-08-15 23:25:52 +00:00
|
|
|
|
# Cookie settings:
|
2005-01-28 00:01:44 +00:00
|
|
|
|
#
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Set to set an explicit domain on the login cookies eg, "justthis.domain. org"
|
|
|
|
|
|
* or ".any.subdomain.net"
|
|
|
|
|
|
*/
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgCookieDomain = '';
|
|
|
|
|
|
$wgCookiePath = '/';
|
2005-12-26 10:29:22 +00:00
|
|
|
|
$wgCookieSecure = ($wgProto == 'https');
|
2003-11-22 12:30:13 +00:00
|
|
|
|
$wgDisableCookieCheck = false;
|
2003-11-12 10:21:28 +00:00
|
|
|
|
|
2006-07-04 04:20:14 +00:00
|
|
|
|
/** Override to customise the session name */
|
|
|
|
|
|
$wgSessionName = false;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Whether to allow inline image pointing to other websites */
|
2006-06-13 05:11:23 +00:00
|
|
|
|
$wgAllowExternalImages = false;
|
2004-08-15 23:25:52 +00:00
|
|
|
|
|
2006-01-07 13:09:30 +00:00
|
|
|
|
/** If the above is false, you can specify an exception here. Image URLs
|
2005-10-26 22:13:02 +00:00
|
|
|
|
* that start with this string are then rendered, while all others are not.
|
|
|
|
|
|
* You can use this to set up a trusted, simple repository of images.
|
|
|
|
|
|
*
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* Example:
|
|
|
|
|
|
* $wgAllowExternalImagesFrom = 'http://127.0.0.1/';
|
2005-10-26 22:13:02 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowExternalImagesFrom = '';
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Disable database-intensive features */
|
|
|
|
|
|
$wgMiserMode = false;
|
|
|
|
|
|
/** Disable all query pages if miser mode is on, not just some */
|
|
|
|
|
|
$wgDisableQueryPages = false;
|
|
|
|
|
|
/** Generate a watchlist once every hour or so */
|
|
|
|
|
|
$wgUseWatchlistCache = false;
|
|
|
|
|
|
/** The hour or so mentioned above */
|
|
|
|
|
|
$wgWLCacheTimeout = 3600;
|
2006-02-18 04:39:20 +00:00
|
|
|
|
/** Number of links to a page required before it is deemed "wanted" */
|
|
|
|
|
|
$wgWantedPagesThreshold = 1;
|
2006-07-03 11:07:00 +00:00
|
|
|
|
/** Enable slow parser functions */
|
|
|
|
|
|
$wgAllowSlowParserFunctions = false;
|
2004-01-11 23:14:20 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of
|
|
|
|
|
|
* the MediaWiki package and have latex, dvips, gs (ghostscript), andconvert
|
|
|
|
|
|
* (ImageMagick) installed and available in the PATH.
|
|
|
|
|
|
* Please see math/README for more information.
|
|
|
|
|
|
*/
|
2003-04-14 23:10:40 +00:00
|
|
|
|
$wgUseTeX = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Location of the texvc binary */
|
|
|
|
|
|
$wgTexvc = './math/texvc';
|
2003-11-09 11:45:12 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
#
|
2003-11-09 11:45:12 +00:00
|
|
|
|
# Profiling / debugging
|
2005-01-28 00:01:44 +00:00
|
|
|
|
#
|
2006-04-28 17:50:44 +00:00
|
|
|
|
# You have to create a 'profiling' table in your database before using
|
|
|
|
|
|
# profiling see maintenance/archives/patch-profiling.sql .
|
2006-07-14 05:35:31 +00:00
|
|
|
|
#
|
|
|
|
|
|
# To enable profiling, edit StartProfiler.php
|
2005-01-18 12:30:42 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Only record profiling info for pages that took longer than this */
|
|
|
|
|
|
$wgProfileLimit = 0.0;
|
|
|
|
|
|
/** Don't put non-profiling info into log file */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgProfileOnly = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Log sums from profiling into "profiling" table in db. */
|
|
|
|
|
|
$wgProfileToDatabase = false;
|
|
|
|
|
|
/** If true, print a raw call tree instead of per-function report */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgProfileCallTree = false;
|
2006-05-28 17:05:22 +00:00
|
|
|
|
/** Should application server host be put into profiling table */
|
|
|
|
|
|
$wgProfilePerHost = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
2005-12-26 10:13:21 +00:00
|
|
|
|
/** Settings for UDP profiler */
|
|
|
|
|
|
$wgUDPProfilerHost = '127.0.0.1';
|
|
|
|
|
|
$wgUDPProfilerPort = '3811';
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Detects non-matching wfProfileIn/wfProfileOut calls */
|
|
|
|
|
|
$wgDebugProfiling = false;
|
|
|
|
|
|
/** Output debug message on every wfProfileIn/wfProfileOut */
|
|
|
|
|
|
$wgDebugFunctionEntry = 0;
|
|
|
|
|
|
/** Lots of debugging output from SquidUpdate.php */
|
|
|
|
|
|
$wgDebugSquid = false;
|
2003-11-09 11:45:12 +00:00
|
|
|
|
|
|
|
|
|
|
$wgDisableCounters = false;
|
|
|
|
|
|
$wgDisableTextSearch = false;
|
2005-10-22 20:52:30 +00:00
|
|
|
|
$wgDisableSearchContext = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If you've disabled search semi-permanently, this also disables updates to the
|
|
|
|
|
|
* table. If you ever re-enable, be sure to rebuild the search table.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDisableSearchUpdate = false;
|
|
|
|
|
|
/** Uploads have to be specially set up to be secure */
|
2005-04-01 19:55:45 +00:00
|
|
|
|
$wgEnableUploads = false;
|
2005-04-22 01:59:36 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Show EXIF data, on by default if available.
|
|
|
|
|
|
* Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgShowEXIF = function_exists( 'exif_read_data' );
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set to true to enable the upload _link_ while local uploads are disabled.
|
|
|
|
|
|
* Assumes that the special page link will be bounced to another server where
|
|
|
|
|
|
* uploads do work.
|
|
|
|
|
|
*/
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgRemoteUploads = false;
|
2003-11-09 11:45:12 +00:00
|
|
|
|
$wgDisableAnonTalk = false;
|
2005-05-29 05:31:29 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Do DELETE/INSERT for link updates instead of incremental
|
|
|
|
|
|
*/
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgUseDumbLinkUpdate = false;
|
2003-04-14 23:10:40 +00:00
|
|
|
|
|
2005-05-29 05:54:04 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Anti-lock flags - bitfield
|
|
|
|
|
|
* ALF_PRELOAD_LINKS
|
|
|
|
|
|
* Preload links during link update for save
|
|
|
|
|
|
* ALF_PRELOAD_EXISTENCE
|
|
|
|
|
|
* Preload cur_id during replaceLinkHolders
|
2005-07-25 06:57:12 +00:00
|
|
|
|
* ALF_NO_LINK_LOCK
|
2006-01-07 13:09:30 +00:00
|
|
|
|
* Don't use locking reads when updating the link table. This is
|
|
|
|
|
|
* necessary for wikis with a high edit rate for performance
|
2005-07-25 06:57:12 +00:00
|
|
|
|
* reasons, but may cause link table inconsistency
|
|
|
|
|
|
* ALF_NO_BLOCK_LOCK
|
|
|
|
|
|
* As for ALF_LINK_LOCK, this flag is a necessity for high-traffic
|
|
|
|
|
|
* wikis.
|
2005-05-29 05:54:04 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgAntiLockFlags = 0;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Path to the GNU diff3 utility. If the file doesn't exist, edit conflicts will
|
|
|
|
|
|
* fall back to the old behaviour (no merging).
|
|
|
|
|
|
*/
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDiff3 = '/usr/bin/diff3';
|
2004-03-14 15:05:52 +00:00
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/**
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* We can also compress text in the old revisions table. If this is set on, old
|
|
|
|
|
|
* revisions will be compressed on page save if zlib support is available. Any
|
|
|
|
|
|
* compressed revisions will be decompressed on load regardless of this setting
|
|
|
|
|
|
* *but will not be readable at all* if zlib support is not available.
|
|
|
|
|
|
*/
|
2004-01-04 03:35:00 +00:00
|
|
|
|
$wgCompressRevisions = false;
|
2003-05-20 09:30:40 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* This is the list of preferred extensions for uploading files. Uploading files
|
|
|
|
|
|
* with extensions not in this list will trigger a warning.
|
|
|
|
|
|
*/
|
2005-02-04 06:19:37 +00:00
|
|
|
|
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
|
2003-12-09 18:20:32 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Files with these extensions will never be allowed as uploads. */
|
2004-01-20 04:12:21 +00:00
|
|
|
|
$wgFileBlacklist = array(
|
|
|
|
|
|
# HTML may contain cookie-stealing JavaScript and web bugs
|
2005-05-21 07:46:17 +00:00
|
|
|
|
'html', 'htm', 'js', 'jsb',
|
2004-01-20 04:12:21 +00:00
|
|
|
|
# PHP scripts may execute arbitrary code on the server
|
2006-10-09 20:02:36 +00:00
|
|
|
|
'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
|
2004-01-20 04:12:21 +00:00
|
|
|
|
# Other types that may be interpreted by some servers
|
2004-11-13 15:05:01 +00:00
|
|
|
|
'shtml', 'jhtml', 'pl', 'py', 'cgi',
|
2004-01-20 04:12:21 +00:00
|
|
|
|
# May contain harmful executables for Windows victims
|
2004-06-09 00:03:26 +00:00
|
|
|
|
'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
/** Files with these mime types will never be allowed as uploads
|
|
|
|
|
|
* if $wgVerifyMimeType is enabled.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMimeTypeBlacklist= array(
|
|
|
|
|
|
# HTML may contain cookie-stealing JavaScript and web bugs
|
|
|
|
|
|
'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
|
|
|
|
|
|
# PHP scripts may execute arbitrary code on the server
|
2005-07-03 04:40:07 +00:00
|
|
|
|
'application/x-php', 'text/x-php',
|
2005-05-21 07:46:17 +00:00
|
|
|
|
# Other types that may be interpreted by some servers
|
2006-01-03 02:14:55 +00:00
|
|
|
|
'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
|
|
|
|
|
|
# Windows metafile, client-side vulnerability on some systems
|
|
|
|
|
|
'application/x-msmetafile'
|
2005-05-21 07:46:17 +00:00
|
|
|
|
);
|
2004-01-20 04:12:21 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** This is a flag to determine whether or not to check file extensions on upload. */
|
2003-12-09 18:20:32 +00:00
|
|
|
|
$wgCheckFileExtensions = true;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If this is turned off, users may override the warning for files not covered
|
|
|
|
|
|
* by $wgFileExtensions.
|
|
|
|
|
|
*/
|
2004-01-20 04:12:21 +00:00
|
|
|
|
$wgStrictFileExtensions = true;
|
|
|
|
|
|
|
2006-07-11 14:30:03 +00:00
|
|
|
|
/** Warn if uploaded files are larger than this (in bytes)*/
|
2005-03-31 12:23:23 +00:00
|
|
|
|
$wgUploadSizeWarning = 150 * 1024;
|
2004-06-09 12:15:42 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** For compatibility with old installations set to false */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgPasswordSalt = true;
|
2003-08-08 03:10:55 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Which namespaces should support subpages?
|
|
|
|
|
|
* See Language.php for a list of namespaces.
|
|
|
|
|
|
*/
|
2005-03-26 09:12:41 +00:00
|
|
|
|
$wgNamespacesWithSubpages = array(
|
2005-06-16 08:21:30 +00:00
|
|
|
|
NS_TALK => true,
|
2006-05-25 14:12:32 +00:00
|
|
|
|
NS_USER => true,
|
|
|
|
|
|
NS_USER_TALK => true,
|
|
|
|
|
|
NS_PROJECT_TALK => true,
|
|
|
|
|
|
NS_IMAGE_TALK => true,
|
|
|
|
|
|
NS_MEDIAWIKI_TALK => true,
|
|
|
|
|
|
NS_TEMPLATE_TALK => true,
|
|
|
|
|
|
NS_HELP_TALK => true,
|
|
|
|
|
|
NS_CATEGORY_TALK => true
|
|
|
|
|
|
);
|
2005-03-26 09:12:41 +00:00
|
|
|
|
|
2005-04-13 08:16:53 +00:00
|
|
|
|
$wgNamespacesToBeSearchedDefault = array(
|
2005-06-16 08:21:30 +00:00
|
|
|
|
NS_MAIN => true,
|
2005-04-13 08:16:53 +00:00
|
|
|
|
);
|
2003-07-01 08:27:32 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** If set, a bold ugly notice will show up at the top of every page. */
|
|
|
|
|
|
$wgSiteNotice = '';
|
2004-01-28 22:57:07 +00:00
|
|
|
|
|
2004-04-08 09:14:20 +00:00
|
|
|
|
|
|
|
|
|
|
#
|
2005-01-28 00:01:44 +00:00
|
|
|
|
# Images settings
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
/** dynamic server side image resizing ("Thumbnails") */
|
|
|
|
|
|
$wgUseImageResize = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Resizing can be done using PHP's internal image libraries or using
|
2006-03-19 03:16:17 +00:00
|
|
|
|
* ImageMagick or another third-party converter, e.g. GraphicMagick.
|
|
|
|
|
|
* These support more file formats than PHP, which only supports PNG,
|
|
|
|
|
|
* GIF, JPG, XBM and WBMP.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* Use Image Magick instead of PHP builtin functions.
|
|
|
|
|
|
*/
|
2004-04-08 09:14:20 +00:00
|
|
|
|
$wgUseImageMagick = false;
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** The convert command shipped with ImageMagick */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgImageMagickConvertCommand = '/usr/bin/convert';
|
2004-04-08 09:14:20 +00:00
|
|
|
|
|
2006-03-19 03:16:17 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Use another resizing converter, e.g. GraphicMagick
|
|
|
|
|
|
* %s will be replaced with the source path, %d with the destination
|
|
|
|
|
|
* %w and %h will be replaced with the width and height
|
|
|
|
|
|
*
|
|
|
|
|
|
* An example is provided for GraphicMagick
|
|
|
|
|
|
* Leave as false to skip this
|
|
|
|
|
|
*/
|
|
|
|
|
|
#$wgCustomConvertCommand = "gm convert %s -resize %wx%h %d"
|
|
|
|
|
|
$wgCustomConvertCommand = false;
|
|
|
|
|
|
|
2004-10-06 10:33:22 +00:00
|
|
|
|
# Scalable Vector Graphics (SVG) may be uploaded as images.
|
|
|
|
|
|
# Since SVG support is not yet standard in browsers, it is
|
|
|
|
|
|
# necessary to rasterize SVGs to PNG as a fallback format.
|
|
|
|
|
|
#
|
|
|
|
|
|
# An external program is required to perform this conversion:
|
|
|
|
|
|
$wgSVGConverters = array(
|
|
|
|
|
|
'ImageMagick' => '$path/convert -background white -geometry $width $input $output',
|
|
|
|
|
|
'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
|
|
|
|
|
|
'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
|
|
|
|
|
|
'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
|
2005-09-10 01:02:41 +00:00
|
|
|
|
'rsvg' => '$path/rsvg -w$width -h$height $input $output',
|
2004-10-06 10:33:22 +00:00
|
|
|
|
);
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/** Pick one of the above */
|
|
|
|
|
|
$wgSVGConverter = 'ImageMagick';
|
|
|
|
|
|
/** If not in the executable PATH, specify */
|
|
|
|
|
|
$wgSVGConverterPath = '';
|
2006-01-10 14:13:40 +00:00
|
|
|
|
/** Don't scale a SVG larger than this */
|
2005-09-10 01:02:41 +00:00
|
|
|
|
$wgSVGMaxSize = 1024;
|
2006-01-07 13:09:30 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Don't thumbnail an image if it will use too much working memory
|
|
|
|
|
|
* Default is 50 MB if decompressed to RGBA form, which corresponds to
|
2005-10-19 12:12:14 +00:00
|
|
|
|
* 12.5 million pixels or 3500x3500
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMaxImageArea = 1.25e7;
|
2005-12-04 09:04:40 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If rendered thumbnail files are older than this timestamp, they
|
|
|
|
|
|
* will be rerendered on demand as if the file didn't already exist.
|
|
|
|
|
|
* Update if there is some need to force thumbs and SVG rasterizations
|
|
|
|
|
|
* to rerender, such as fixes to rendering bugs.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgThumbnailEpoch = '20030516000000';
|
|
|
|
|
|
|
2006-05-26 21:33:38 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If set, inline scaled images will still produce <img> tags ready for
|
|
|
|
|
|
* output instead of showing an error message.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This may be useful if errors are transitory, especially if the site
|
|
|
|
|
|
* is configured to automatically render thumbnails on request.
|
|
|
|
|
|
*
|
|
|
|
|
|
* On the other hand, it may obscure error conditions from debugging.
|
|
|
|
|
|
* Enable the debug log or the 'thumbnail' log group to make sure errors
|
|
|
|
|
|
* are logged to a file for review.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgIgnoreImageErrors = false;
|
2005-12-04 09:04:40 +00:00
|
|
|
|
|
2006-07-05 05:04:06 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allow thumbnail rendering on page view. If this is false, a valid
|
|
|
|
|
|
* thumbnail URL is still output, but no file will be created at
|
|
|
|
|
|
* the target location. This may save some time if you have a
|
|
|
|
|
|
* thumb.php or 404 handler set up which is faster than the regular
|
|
|
|
|
|
* webserver(s).
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgGenerateThumbnailOnParse = true;
|
2004-10-06 10:33:22 +00:00
|
|
|
|
|
2005-05-29 06:18:10 +00:00
|
|
|
|
/** Set $wgCommandLineMode if it's not set already, to avoid notices */
|
2004-03-08 01:51:32 +00:00
|
|
|
|
if( !isset( $wgCommandLineMode ) ) {
|
|
|
|
|
|
$wgCommandLineMode = false;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
# Recent changes settings
|
|
|
|
|
|
#
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Log IP addresses in the recentchanges table */
|
2006-01-07 14:41:46 +00:00
|
|
|
|
$wgPutIPinRC = true;
|
2004-06-14 10:40:24 +00:00
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Recentchanges items are periodically purged; entries older than this many
|
|
|
|
|
|
* seconds will go.
|
|
|
|
|
|
* For one week : 7 * 24 * 3600
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRCMaxAge = 7 * 24 * 3600;
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-29 07:01:24 +00:00
|
|
|
|
# Send RC updates via UDP
|
|
|
|
|
|
$wgRC2UDPAddress = false;
|
|
|
|
|
|
$wgRC2UDPPort = false;
|
|
|
|
|
|
$wgRC2UDPPrefix = '';
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
#
|
|
|
|
|
|
# Copyright and credits settings
|
|
|
|
|
|
#
|
2005-01-19 03:54:43 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** RDF metadata toggles */
|
2004-04-04 21:58:05 +00:00
|
|
|
|
$wgEnableDublinCoreRdf = false;
|
|
|
|
|
|
$wgEnableCreativeCommonsRdf = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Override for copyright metadata.
|
|
|
|
|
|
* TODO: these options need documentation
|
|
|
|
|
|
*/
|
2004-04-04 21:58:05 +00:00
|
|
|
|
$wgRightsPage = NULL;
|
|
|
|
|
|
$wgRightsUrl = NULL;
|
|
|
|
|
|
$wgRightsText = NULL;
|
2004-04-11 07:06:26 +00:00
|
|
|
|
$wgRightsIcon = NULL;
|
2004-04-05 04:02:04 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Set this to some HTML to override the rights icon with an arbitrary logo */
|
2004-12-28 22:02:19 +00:00
|
|
|
|
$wgCopyrightIcon = NULL;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Set this to true if you want detailed copyright information forms on Upload. */
|
2004-06-24 13:26:08 +00:00
|
|
|
|
$wgUseCopyrightUpload = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Set this to false if you want to disable checking that detailed copyright
|
|
|
|
|
|
* information values are not empty. */
|
2004-06-24 13:26:08 +00:00
|
|
|
|
$wgCheckCopyrightUpload = true;
|
|
|
|
|
|
|
2005-01-28 00:01:44 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set this to the number of authors that you want to be credited below an
|
|
|
|
|
|
* article text. Set it to zero to hide the attribution block, and a negative
|
2005-06-24 05:14:24 +00:00
|
|
|
|
* number (like -1) to show all authors. Note that this will require 2-3 extra
|
2005-01-28 00:01:44 +00:00
|
|
|
|
* database hits, which can have a not insignificant impact on performance for
|
|
|
|
|
|
* large wikis.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMaxCredits = 0;
|
|
|
|
|
|
|
|
|
|
|
|
/** If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
|
|
|
|
|
|
* Otherwise, link to a separate credits page. */
|
|
|
|
|
|
$wgShowCreditsIfMax = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-06-24 13:26:08 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set this to false to avoid forcing the first letter of links to capitals.
|
|
|
|
|
|
* WARNING: may break links! This makes links COMPLETELY case-sensitive. Links
|
|
|
|
|
|
* appearing with a capital at the beginning of a sentence will *not* go to the
|
|
|
|
|
|
* same place as links in the middle of a sentence using a lowercase initial.
|
|
|
|
|
|
*/
|
2004-04-05 04:02:04 +00:00
|
|
|
|
$wgCapitalLinks = true;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* List of interwiki prefixes for wikis we'll accept as sources for
|
2005-06-19 08:03:40 +00:00
|
|
|
|
* Special:Import (for sysops). Since complete page history can be imported,
|
2005-01-27 05:01:28 +00:00
|
|
|
|
* these should be 'trusted'.
|
2005-06-19 08:03:40 +00:00
|
|
|
|
*
|
|
|
|
|
|
* If a user has the 'import' permission but not the 'importupload' permission,
|
|
|
|
|
|
* they will only be able to run imports through this transwiki interface.
|
2005-01-27 05:01:28 +00:00
|
|
|
|
*/
|
2004-04-11 07:06:26 +00:00
|
|
|
|
$wgImportSources = array();
|
|
|
|
|
|
|
2006-07-01 07:00:49 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Optional default target namespace for interwiki imports.
|
|
|
|
|
|
* Can use this to create an incoming "transwiki"-style queue.
|
|
|
|
|
|
* Set to numeric key, not the name.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Users may override this in the Special:Import dialog.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgImportTargetNamespace = null;
|
|
|
|
|
|
|
2006-01-03 23:32:39 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If set to false, disables the full-history option on Special:Export.
|
|
|
|
|
|
* This is currently poorly optimized for long edit histories, so is
|
|
|
|
|
|
* disabled on Wikimedia's sites.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgExportAllowHistory = true;
|
2006-06-27 21:48:43 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* If set nonzero, Special:Export requests for history of pages with
|
|
|
|
|
|
* more revisions than this will be rejected. On some big sites things
|
|
|
|
|
|
* could get bogged down by very very long pages.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgExportMaxHistory = 0;
|
|
|
|
|
|
|
2006-03-23 08:50:31 +00:00
|
|
|
|
$wgExportAllowListContributors = false ;
|
2004-04-26 05:14:42 +00:00
|
|
|
|
|
2004-06-28 20:24:23 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Text matching this regular expression will be recognised as spam
|
|
|
|
|
|
* See http://en.wikipedia.org/wiki/Regular_expression */
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgSpamRegex = false;
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Similarly if this function returns true */
|
2004-06-21 07:41:53 +00:00
|
|
|
|
$wgFilterCallback = false;
|
2004-05-04 14:36:42 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Go button goes straight to the edit screen if the article doesn't exist. */
|
2004-05-04 14:36:42 +00:00
|
|
|
|
$wgGoToEdit = false;
|
2004-05-06 12:41:31 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Allow limited user-specified HTML in wiki pages?
|
|
|
|
|
|
* It will be run through a whitelist for security. Set this to false if you
|
|
|
|
|
|
* want wiki pages to consist only of wiki markup. Note that replacements do not
|
|
|
|
|
|
* yet exist for all HTML constructs.*/
|
2004-05-09 12:04:59 +00:00
|
|
|
|
$wgUserHtml = true;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Allow raw, unchecked HTML in <html>...</html> sections.
|
2005-06-25 06:24:46 +00:00
|
|
|
|
* THIS IS VERY DANGEROUS on a publically editable site, so USE wgGroupPermissions
|
|
|
|
|
|
* TO RESTRICT EDITING to only those that you trust
|
2005-01-27 05:01:28 +00:00
|
|
|
|
*/
|
2004-07-24 22:59:44 +00:00
|
|
|
|
$wgRawHtml = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* $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.
|
|
|
|
|
|
* See http://www.w3.org/People/Raggett/tidy/
|
|
|
|
|
|
* $wgTidyBin should be set to the path of the binary and
|
|
|
|
|
|
* $wgTidyConf to the path of the configuration file.
|
|
|
|
|
|
* $wgTidyOpts can include any number of parameters.
|
2005-04-20 21:58:57 +00:00
|
|
|
|
*
|
|
|
|
|
|
* $wgTidyInternal controls the use of the PECL extension to use an in-
|
|
|
|
|
|
* process tidy library instead of spawning a separate program.
|
|
|
|
|
|
* Normally you shouldn't need to override the setting except for
|
|
|
|
|
|
* debugging. To install, use 'pear install tidy' and add a line
|
|
|
|
|
|
* 'extension=tidy.so' to php.ini.
|
2005-01-27 05:01:28 +00:00
|
|
|
|
*/
|
2004-05-06 12:41:31 +00:00
|
|
|
|
$wgUseTidy = false;
|
2006-01-23 20:57:57 +00:00
|
|
|
|
$wgAlwaysUseTidy = false;
|
2004-05-06 12:41:31 +00:00
|
|
|
|
$wgTidyBin = 'tidy';
|
2005-07-03 04:40:07 +00:00
|
|
|
|
$wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
|
2004-05-06 12:41:31 +00:00
|
|
|
|
$wgTidyOpts = '';
|
2005-04-20 21:58:57 +00:00
|
|
|
|
$wgTidyInternal = function_exists( 'tidy_load_config' );
|
2004-05-08 02:15:50 +00:00
|
|
|
|
|
2005-04-25 10:13:19 +00:00
|
|
|
|
/** See list of skins and their symbolic names in languages/Language.php */
|
2004-06-09 00:03:26 +00:00
|
|
|
|
$wgDefaultSkin = 'monobook';
|
2004-05-08 02:15:50 +00:00
|
|
|
|
|
2006-10-09 08:13:48 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Settings added to this array will override the default globals for the user
|
|
|
|
|
|
* preferences used by anonymous visitors and newly created accounts.
|
|
|
|
|
|
* For instance, to disable section editing links:
|
|
|
|
|
|
* $wgDefaultUserOptions ['editsection'] = 0;
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDefaultUserOptions = array(
|
|
|
|
|
|
'quickbar' => 1,
|
|
|
|
|
|
'underline' => 2,
|
|
|
|
|
|
'cols' => 80,
|
|
|
|
|
|
'rows' => 25,
|
|
|
|
|
|
'searchlimit' => 20,
|
|
|
|
|
|
'contextlines' => 5,
|
|
|
|
|
|
'contextchars' => 50,
|
|
|
|
|
|
'skin' => false,
|
|
|
|
|
|
'math' => 1,
|
|
|
|
|
|
'rcdays' => 7,
|
|
|
|
|
|
'rclimit' => 50,
|
|
|
|
|
|
'wllimit' => 250,
|
|
|
|
|
|
'highlightbroken' => 1,
|
|
|
|
|
|
'stubthreshold' => 0,
|
|
|
|
|
|
'previewontop' => 1,
|
|
|
|
|
|
'editsection' => 1,
|
|
|
|
|
|
'editsectiononrightclick'=> 0,
|
|
|
|
|
|
'showtoc' => 1,
|
|
|
|
|
|
'showtoolbar' => 1,
|
|
|
|
|
|
'date' => 'default',
|
|
|
|
|
|
'imagesize' => 2,
|
|
|
|
|
|
'thumbsize' => 2,
|
|
|
|
|
|
'rememberpassword' => 0,
|
|
|
|
|
|
'enotifwatchlistpages' => 0,
|
|
|
|
|
|
'enotifusertalkpages' => 1,
|
|
|
|
|
|
'enotifminoredits' => 0,
|
|
|
|
|
|
'enotifrevealaddr' => 0,
|
|
|
|
|
|
'shownumberswatching' => 1,
|
|
|
|
|
|
'fancysig' => 0,
|
|
|
|
|
|
'externaleditor' => 0,
|
|
|
|
|
|
'externaldiff' => 0,
|
|
|
|
|
|
'showjumplinks' => 1,
|
|
|
|
|
|
'numberheadings' => 0,
|
|
|
|
|
|
'uselivepreview' => 0,
|
|
|
|
|
|
'watchlistdays' => 3.0,
|
|
|
|
|
|
);
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Whether or not to allow and use real name fields. Defaults to true. */
|
2004-05-29 17:32:49 +00:00
|
|
|
|
$wgAllowRealName = true;
|
|
|
|
|
|
|
2006-06-25 08:38:17 +00:00
|
|
|
|
/*****************************************************************************
|
|
|
|
|
|
* Extensions
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* A list of callback functions which are called once MediaWiki is fully initialised
|
|
|
|
|
|
*/
|
2004-05-15 03:36:39 +00:00
|
|
|
|
$wgExtensionFunctions = array();
|
2006-06-25 08:38:17 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Extension functions for initialisation of skins. This is called somewhat earlier
|
|
|
|
|
|
* than $wgExtensionFunctions.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSkinExtensionFunctions = array();
|
|
|
|
|
|
|
2006-07-02 15:57:59 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* List of valid skin names.
|
|
|
|
|
|
* The key should be the name in all lower case, the value should be a display name.
|
|
|
|
|
|
* The default skins will be added later, by Skin::getSkinNames(). Use
|
|
|
|
|
|
* Skin::getSkinNames() as an accessor if you wish to have access to the full list.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgValidSkinNames = array();
|
2006-06-25 08:38:17 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Special page list.
|
|
|
|
|
|
* See the top of SpecialPage.php for documentation.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSpecialPages = array();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Array mapping class names to filenames, for autoloading.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAutoloadClasses = array();
|
|
|
|
|
|
|
2005-07-12 23:42:11 +00:00
|
|
|
|
/**
|
2005-07-14 00:37:01 +00:00
|
|
|
|
* An array of extension types and inside that their names, versions, authors
|
|
|
|
|
|
* and urls, note that the version and url key can be omitted.
|
2005-07-12 23:42:11 +00:00
|
|
|
|
*
|
|
|
|
|
|
* <code>
|
|
|
|
|
|
* $wgExtensionCredits[$type][] = array(
|
|
|
|
|
|
* 'name' => 'Example extension',
|
2005-07-14 00:37:01 +00:00
|
|
|
|
* 'version' => 1.9,
|
2005-07-12 23:42:11 +00:00
|
|
|
|
* 'author' => 'Foo Barstein',
|
|
|
|
|
|
* 'url' => 'http://wwww.example.com/Example%20Extension/',
|
|
|
|
|
|
* );
|
|
|
|
|
|
* </code>
|
2005-07-14 00:37:01 +00:00
|
|
|
|
*
|
2005-07-12 23:42:11 +00:00
|
|
|
|
* Where $type is 'specialpage', 'parserhook', or 'other'.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgExtensionCredits = array();
|
2006-06-25 08:38:17 +00:00
|
|
|
|
/*
|
|
|
|
|
|
* end extensions
|
|
|
|
|
|
******************************************************************************/
|
2004-06-11 02:47:41 +00:00
|
|
|
|
|
2005-02-04 06:19:37 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allow user Javascript page?
|
|
|
|
|
|
* This enables a lot of neat customizations, but may
|
|
|
|
|
|
* increase security risk to users and server load.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowUserJs = false;
|
2004-06-28 21:51:52 +00:00
|
|
|
|
|
2005-02-04 06:19:37 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allow user Cascading Style Sheets (CSS)?
|
|
|
|
|
|
* This enables a lot of neat customizations, but may
|
|
|
|
|
|
* increase security risk to users and server load.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowUserCss = false;
|
2004-06-28 21:51:52 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Use the site's Javascript page? */
|
2004-11-13 00:07:35 +00:00
|
|
|
|
$wgUseSiteJs = true;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Use the site's Cascading Style Sheets (CSS)? */
|
2004-11-13 00:07:35 +00:00
|
|
|
|
$wgUseSiteCss = true;
|
2005-07-03 04:40:07 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Filter for Special:Randompage. Part of a WHERE clause */
|
2004-07-10 01:25:42 +00:00
|
|
|
|
$wgExtraRandompageSQL = false;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Allow the "info" action, very inefficient at the moment */
|
2004-07-09 11:42:24 +00:00
|
|
|
|
$wgAllowPageInfo = false;
|
2004-07-19 05:15:50 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Maximum indent level of toc. */
|
2004-07-19 05:15:50 +00:00
|
|
|
|
$wgMaxTocLevel = 999;
|
2004-07-24 07:24:04 +00:00
|
|
|
|
|
2006-02-09 13:04:20 +00:00
|
|
|
|
/** Name of the external diff engine to use */
|
|
|
|
|
|
$wgExternalDiffEngine = false;
|
2004-08-08 02:20:00 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Use RC Patrolling to check for vandalism */
|
2004-08-09 18:58:43 +00:00
|
|
|
|
$wgUseRCPatrol = true;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** Set maximum number of results to return in syndication feeds (RSS, Atom) for
|
|
|
|
|
|
* eg Recentchanges, Newpages. */
|
2004-12-12 04:13:19 +00:00
|
|
|
|
$wgFeedLimit = 50;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** _Minimum_ timeout for cached Recentchanges feed, in seconds.
|
|
|
|
|
|
* A cached version will continue to be served out even if changes
|
2005-11-05 10:38:46 +00:00
|
|
|
|
* are made, until this many seconds runs out since the last render.
|
|
|
|
|
|
*
|
|
|
|
|
|
* If set to 0, feed caching is disabled. Use this for debugging only;
|
|
|
|
|
|
* feed generation can be pretty slow with diffs.
|
|
|
|
|
|
*/
|
2004-12-12 04:13:19 +00:00
|
|
|
|
$wgFeedCacheTimeout = 60;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/** When generating Recentchanges RSS/Atom feed, diffs will not be generated for
|
|
|
|
|
|
* pages larger than this size. */
|
2004-12-12 04:13:19 +00:00
|
|
|
|
$wgFeedDiffCutoff = 32768;
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Additional namespaces. If the namespaces defined in Language.php and
|
2005-06-24 05:31:46 +00:00
|
|
|
|
* Namespace.php are insufficient, you can create new ones here, for example,
|
2005-01-27 05:01:28 +00:00
|
|
|
|
* to import Help files in other languages.
|
|
|
|
|
|
* PLEASE NOTE: Once you delete a namespace, the pages in that namespace will
|
|
|
|
|
|
* no longer be accessible. If you rename it, then you can access them through
|
|
|
|
|
|
* the new namespace name.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-05-02 10:15:02 +00:00
|
|
|
|
* Custom namespaces should start at 100 to avoid conflicting with standard
|
|
|
|
|
|
* namespaces, and should always follow the even/odd main/talk pattern.
|
2005-01-27 05:01:28 +00:00
|
|
|
|
*/
|
2004-09-09 06:12:04 +00:00
|
|
|
|
#$wgExtraNamespaces =
|
|
|
|
|
|
# array(100 => "Hilfe",
|
2004-08-31 10:23:55 +00:00
|
|
|
|
# 101 => "Hilfe_Diskussion",
|
2004-09-09 06:12:04 +00:00
|
|
|
|
# 102 => "Aide",
|
|
|
|
|
|
# 103 => "Discussion_Aide"
|
2004-08-31 10:23:55 +00:00
|
|
|
|
# );
|
2004-09-09 06:12:04 +00:00
|
|
|
|
$wgExtraNamespaces = NULL;
|
2004-08-31 10:23:55 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Limit images on image description pages to a user-selectable limit. In order
|
|
|
|
|
|
* to reduce disk usage, limits can only be selected from a list. This is the
|
|
|
|
|
|
* list of settings the user can choose from:
|
|
|
|
|
|
*/
|
2004-09-10 00:53:31 +00:00
|
|
|
|
$wgImageLimits = array (
|
|
|
|
|
|
array(320,240),
|
|
|
|
|
|
array(640,480),
|
|
|
|
|
|
array(800,600),
|
|
|
|
|
|
array(1024,768),
|
|
|
|
|
|
array(1280,1024),
|
|
|
|
|
|
array(10000,10000) );
|
|
|
|
|
|
|
2005-04-12 00:37:45 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Adjust thumbnails on image pages according to a user setting. In order to
|
|
|
|
|
|
* reduce disk usage, the values can only be selected from a list. This is the
|
|
|
|
|
|
* list of settings the user can choose from:
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgThumbLimits = array(
|
|
|
|
|
|
120,
|
|
|
|
|
|
150,
|
|
|
|
|
|
180,
|
|
|
|
|
|
200,
|
|
|
|
|
|
250,
|
|
|
|
|
|
300
|
|
|
|
|
|
);
|
2004-09-26 09:45:35 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* On category pages, show thumbnail gallery for images belonging to that
|
|
|
|
|
|
* category instead of listing them as articles.
|
|
|
|
|
|
*/
|
2004-09-30 21:36:12 +00:00
|
|
|
|
$wgCategoryMagicGallery = true;
|
|
|
|
|
|
|
2006-02-23 00:39:52 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Paging limit for categories
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgCategoryPagingLimit = 200;
|
|
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Browser Blacklist for unicode non compliant browsers
|
|
|
|
|
|
* Contains a list of regexps : "/regexp/" matching problematic browsers
|
|
|
|
|
|
*/
|
2004-10-11 21:23:39 +00:00
|
|
|
|
$wgBrowserBlackList = array(
|
2005-04-15 21:54:45 +00:00
|
|
|
|
/**
|
2006-04-19 04:04:38 +00:00
|
|
|
|
* Netscape 2-4 detection
|
|
|
|
|
|
* The minor version may contain strings such as "Gold" or "SGoldC-SGI"
|
|
|
|
|
|
* Lots of non-netscape user agents have "compatible", so it's useful to check for that
|
|
|
|
|
|
* with a negative assertion. The [UIN] identifier specifies the level of security
|
|
|
|
|
|
* in a Netscape/Mozilla browser, checking for it rules out a number of fakers.
|
|
|
|
|
|
* The language string is unreliable, it is missing on NS4 Mac.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Reference: http://www.psychedelix.com/agents/index.shtml
|
|
|
|
|
|
*/
|
|
|
|
|
|
'/^Mozilla\/2\.[^ ]+ .*?\((?!compatible).*; [UIN]/',
|
|
|
|
|
|
'/^Mozilla\/3\.[^ ]+ .*?\((?!compatible).*; [UIN]/',
|
|
|
|
|
|
'/^Mozilla\/4\.[^ ]+ .*?\((?!compatible).*; [UIN]/',
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2006-04-21 22:26:19 +00:00
|
|
|
|
* MSIE on Mac OS 9 is teh sux0r, converts þ to <thorn>, ð to <eth>, Þ to <THORN> and Ð to <ETH>
|
2005-04-15 21:54:45 +00:00
|
|
|
|
*
|
|
|
|
|
|
* Known useragents:
|
|
|
|
|
|
* - Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)
|
|
|
|
|
|
* - Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)
|
|
|
|
|
|
* - Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
|
|
|
|
|
|
* - [...]
|
|
|
|
|
|
*
|
|
|
|
|
|
* @link http://en.wikipedia.org/w/index.php?title=User%3A%C6var_Arnfj%F6r%F0_Bjarmason%2Ftestme&diff=12356041&oldid=12355864
|
|
|
|
|
|
* @link http://en.wikipedia.org/wiki/Template%3AOS9
|
|
|
|
|
|
*/
|
2006-04-19 04:04:38 +00:00
|
|
|
|
'/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/'
|
2005-04-15 20:42:34 +00:00
|
|
|
|
);
|
2004-09-26 09:45:35 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Fake out the timezone that the server thinks it's in. This will be used for
|
|
|
|
|
|
* date display and not for what's stored in the DB. Leave to null to retain
|
|
|
|
|
|
* your server's OS-based timezone value. This is the same as the timezone.
|
2005-09-02 05:44:07 +00:00
|
|
|
|
*
|
|
|
|
|
|
* This variable is currently used ONLY for signature formatting, not for
|
|
|
|
|
|
* anything else.
|
2005-01-27 05:01:28 +00:00
|
|
|
|
*/
|
2004-10-11 22:59:29 +00:00
|
|
|
|
# $wgLocaltimezone = 'GMT';
|
|
|
|
|
|
# $wgLocaltimezone = 'PST8PDT';
|
|
|
|
|
|
# $wgLocaltimezone = 'Europe/Sweden';
|
|
|
|
|
|
# $wgLocaltimezone = 'CET';
|
2004-12-10 03:56:04 +00:00
|
|
|
|
$wgLocaltimezone = null;
|
2004-10-11 22:59:29 +00:00
|
|
|
|
|
2005-09-02 05:44:07 +00:00
|
|
|
|
/**
|
2006-04-30 12:20:20 +00:00
|
|
|
|
* Set an offset from UTC in minutes to use for the default timezone setting
|
2005-09-02 05:44:07 +00:00
|
|
|
|
* for anonymous users and new user accounts.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This setting is used for most date/time displays in the software, and is
|
|
|
|
|
|
* overrideable in user preferences. It is *not* used for signature timestamps.
|
|
|
|
|
|
*
|
|
|
|
|
|
* You can set it to match the configured server timezone like this:
|
2006-04-30 12:20:20 +00:00
|
|
|
|
* $wgLocalTZoffset = date("Z") / 60;
|
2005-09-02 05:44:07 +00:00
|
|
|
|
*
|
|
|
|
|
|
* If your server is not configured for the timezone you want, you can set
|
|
|
|
|
|
* this in conjunction with the signature timezone and override the TZ
|
|
|
|
|
|
* environment variable like so:
|
|
|
|
|
|
* $wgLocaltimezone="Europe/Berlin";
|
|
|
|
|
|
* putenv("TZ=$wgLocaltimezone");
|
2006-04-30 12:20:20 +00:00
|
|
|
|
* $wgLocalTZoffset = date("Z") / 60;
|
2005-09-02 05:44:07 +00:00
|
|
|
|
*
|
|
|
|
|
|
* Leave at NULL to show times in universal time (UTC/GMT).
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLocalTZoffset = null;
|
|
|
|
|
|
|
2004-10-24 19:14:48 +00:00
|
|
|
|
|
2005-01-27 05:01:28 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* When translating messages with wfMsg(), it is not always clear what should be
|
|
|
|
|
|
* considered UI messages and what shoud be content messages.
|
|
|
|
|
|
*
|
|
|
|
|
|
* For example, for regular wikipedia site like en, there should be only one
|
|
|
|
|
|
* 'mainpage', therefore when getting the link of 'mainpage', we should treate
|
|
|
|
|
|
* it as content of the site and call wfMsgForContent(), while for rendering the
|
|
|
|
|
|
* text of the link, we call wfMsg(). The code in default behaves this way.
|
|
|
|
|
|
* However, sites like common do offer different versions of 'mainpage' and the
|
|
|
|
|
|
* like for different languages. This array provides a way to override the
|
|
|
|
|
|
* default behavior. For example, to allow language specific mainpage and
|
|
|
|
|
|
* community portal, set
|
|
|
|
|
|
*
|
|
|
|
|
|
* $wgForceUIMsgAsContentMsg = array( 'mainpage', 'portal-url' );
|
|
|
|
|
|
*/
|
2004-12-09 03:00:49 +00:00
|
|
|
|
$wgForceUIMsgAsContentMsg = array();
|
|
|
|
|
|
|
2004-12-24 02:47:38 +00:00
|
|
|
|
|
2004-11-16 05:28:47 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Authentication plugin.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAuth = null;
|
|
|
|
|
|
|
2004-11-27 21:43:06 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Global list of hooks.
|
|
|
|
|
|
* Add a hook by doing:
|
|
|
|
|
|
* $wgHooks['event_name'][] = $function;
|
|
|
|
|
|
* or:
|
|
|
|
|
|
* $wgHooks['event_name'][] = array($function, $data);
|
|
|
|
|
|
* or:
|
|
|
|
|
|
* $wgHooks['event_name'][] = array($object, 'method');
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*/
|
2004-11-27 21:43:06 +00:00
|
|
|
|
$wgHooks = array();
|
2004-12-19 02:36:04 +00:00
|
|
|
|
|
2006-05-25 07:37:20 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* The logging system has two levels: an event type, which describes the
|
|
|
|
|
|
* general category and can be viewed as a named subset of all logs; and
|
|
|
|
|
|
* an action, which is a specific kind of event that can exist in that
|
|
|
|
|
|
* log type.
|
|
|
|
|
|
*/
|
2006-06-27 20:12:18 +00:00
|
|
|
|
$wgLogTypes = array( '',
|
|
|
|
|
|
'block',
|
|
|
|
|
|
'protect',
|
|
|
|
|
|
'rights',
|
|
|
|
|
|
'delete',
|
|
|
|
|
|
'upload',
|
|
|
|
|
|
'move',
|
|
|
|
|
|
'import' );
|
2006-05-25 07:37:20 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Lists the message key string for each log type. The localized messages
|
|
|
|
|
|
* will be listed in the user interface.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Extensions with custom log types may add to this array.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLogNames = array(
|
|
|
|
|
|
'' => 'log',
|
|
|
|
|
|
'block' => 'blocklogpage',
|
|
|
|
|
|
'protect' => 'protectlogpage',
|
|
|
|
|
|
'rights' => 'rightslog',
|
|
|
|
|
|
'delete' => 'dellogpage',
|
|
|
|
|
|
'upload' => 'uploadlogpage',
|
2006-06-27 20:12:18 +00:00
|
|
|
|
'move' => 'movelogpage',
|
|
|
|
|
|
'import' => 'importlogpage' );
|
2006-05-25 07:37:20 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Lists the message key string for descriptive text to be shown at the
|
|
|
|
|
|
* top of each log type.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Extensions with custom log types may add to this array.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLogHeaders = array(
|
|
|
|
|
|
'' => 'alllogstext',
|
|
|
|
|
|
'block' => 'blocklogtext',
|
|
|
|
|
|
'protect' => 'protectlogtext',
|
|
|
|
|
|
'rights' => 'rightslogtext',
|
|
|
|
|
|
'delete' => 'dellogpagetext',
|
|
|
|
|
|
'upload' => 'uploadlogpagetext',
|
2006-06-27 20:12:18 +00:00
|
|
|
|
'move' => 'movelogpagetext',
|
|
|
|
|
|
'import' => 'importlogpagetext', );
|
2006-05-25 07:37:20 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Lists the message key string for formatting individual events of each
|
|
|
|
|
|
* type and action when listed in the logs.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Extensions with custom log types may add to this array.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLogActions = array(
|
|
|
|
|
|
'block/block' => 'blocklogentry',
|
|
|
|
|
|
'block/unblock' => 'unblocklogentry',
|
|
|
|
|
|
'protect/protect' => 'protectedarticle',
|
|
|
|
|
|
'protect/unprotect' => 'unprotectedarticle',
|
|
|
|
|
|
'rights/rights' => 'rightslogentry',
|
|
|
|
|
|
'delete/delete' => 'deletedarticle',
|
|
|
|
|
|
'delete/restore' => 'undeletedarticle',
|
|
|
|
|
|
'delete/revision' => 'revdelete-logentry',
|
|
|
|
|
|
'upload/upload' => 'uploadedimage',
|
|
|
|
|
|
'upload/revert' => 'uploadedimage',
|
|
|
|
|
|
'move/move' => '1movedto2',
|
2006-06-27 20:12:18 +00:00
|
|
|
|
'move/move_redir' => '1movedto2_redir',
|
|
|
|
|
|
'import/upload' => 'import-logentry-upload',
|
|
|
|
|
|
'import/interwiki' => 'import-logentry-interwiki' );
|
2006-05-25 07:37:20 +00:00
|
|
|
|
|
2004-12-19 02:36:04 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Experimental preview feature to fetch rendered text
|
|
|
|
|
|
* over an XMLHttpRequest from JavaScript instead of
|
|
|
|
|
|
* forcing a submit and reload of the whole page.
|
|
|
|
|
|
* Leave disabled unless you're testing it.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgLivePreview = false;
|
2004-12-21 09:28:57 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Disable the internal MySQL-based search, to allow it to be
|
|
|
|
|
|
* implemented by an extension instead.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDisableInternalSearch = false;
|
|
|
|
|
|
|
2005-01-07 03:25:49 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Set this to a URL to forward search requests to some external location.
|
|
|
|
|
|
* If the URL includes '$1', this will be replaced with the URL-encoded
|
|
|
|
|
|
* search term.
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-01-07 03:25:49 +00:00
|
|
|
|
* For example, to forward to Google you'd have something like:
|
|
|
|
|
|
* $wgSearchForwardUrl = 'http://www.google.com/search?q=$1' .
|
|
|
|
|
|
* '&domains=http://example.com' .
|
|
|
|
|
|
* '&sitesearch=http://example.com' .
|
|
|
|
|
|
* '&ie=utf-8&oe=utf-8';
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSearchForwardUrl = null;
|
|
|
|
|
|
|
2005-01-19 09:33:19 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* If true, external URL links in wiki text will be given the
|
|
|
|
|
|
* rel="nofollow" attribute as a hint to search engines that
|
|
|
|
|
|
* they should not be followed for ranking purposes as they
|
|
|
|
|
|
* are user-supplied and thus subject to spamming.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgNoFollowLinks = true;
|
|
|
|
|
|
|
2006-05-22 21:17:38 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Namespaces in which $wgNoFollowLinks doesn't apply.
|
|
|
|
|
|
* See Language.php for a list of namespaces.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgNoFollowNsExceptions = array();
|
|
|
|
|
|
|
2006-06-04 00:25:53 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Robot policies for namespaces
|
|
|
|
|
|
* e.g. $wgNamespaceRobotPolicies = array( NS_TALK => 'noindex' );
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgNamespaceRobotPolicies = array();
|
|
|
|
|
|
|
2005-01-30 19:39:11 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Specifies the minimal length of a user password. If set to
|
|
|
|
|
|
* 0, empty passwords are allowed.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMinimalPasswordLength = 0;
|
|
|
|
|
|
|
2005-03-24 13:30:09 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Activate external editor interface for files and pages
|
|
|
|
|
|
* See http://meta.wikimedia.org/wiki/Help:External_editors
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgUseExternalEditor = true;
|
|
|
|
|
|
|
2005-03-20 02:53:23 +00:00
|
|
|
|
/** Whether or not to sort special pages in Special:Specialpages */
|
|
|
|
|
|
|
|
|
|
|
|
$wgSortSpecialPages = true;
|
|
|
|
|
|
|
2005-05-29 06:18:10 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Specify the name of a skin that should not be presented in the
|
|
|
|
|
|
* list of available skins.
|
|
|
|
|
|
* Use for blacklisting a skin which you do not want to remove
|
|
|
|
|
|
* from the .../skins/ directory
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgSkipSkin = '';
|
2005-05-29 06:25:48 +00:00
|
|
|
|
$wgSkipSkins = array(); # More of the same
|
|
|
|
|
|
|
2005-03-28 08:55:35 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDisabledActions = array();
|
|
|
|
|
|
|
2005-05-29 06:22:43 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDisableHardRedirects = false;
|
|
|
|
|
|
|
2005-03-28 15:19:24 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Use http.dnsbl.sorbs.net to check for open proxies
|
|
|
|
|
|
*/
|
2005-04-25 10:13:19 +00:00
|
|
|
|
$wgEnableSorbs = false;
|
2005-03-28 15:19:24 +00:00
|
|
|
|
|
2005-05-29 04:44:13 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other
|
|
|
|
|
|
* methods might say
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgProxyWhitelist = array();
|
|
|
|
|
|
|
2005-05-27 11:03:37 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Simple rate limiter options to brake edit floods.
|
|
|
|
|
|
* Maximum number actions allowed in the given number of seconds;
|
|
|
|
|
|
* after that the violating client receives HTTP 500 error pages
|
|
|
|
|
|
* until the period elapses.
|
|
|
|
|
|
*
|
|
|
|
|
|
* array( 4, 60 ) for a maximum of 4 hits in 60 seconds.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This option set is experimental and likely to change.
|
|
|
|
|
|
* Requires memcached.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRateLimits = array(
|
|
|
|
|
|
'edit' => array(
|
|
|
|
|
|
'anon' => null, // for any and all anonymous edits (aggregate)
|
|
|
|
|
|
'user' => null, // for each logged-in user
|
|
|
|
|
|
'newbie' => null, // for each recent account; overrides 'user'
|
|
|
|
|
|
'ip' => null, // for each anon and recent account
|
|
|
|
|
|
'subnet' => null, // ... with final octet removed
|
|
|
|
|
|
),
|
|
|
|
|
|
'move' => array(
|
|
|
|
|
|
'user' => null,
|
|
|
|
|
|
'newbie' => null,
|
|
|
|
|
|
'ip' => null,
|
|
|
|
|
|
'subnet' => null,
|
|
|
|
|
|
),
|
2006-05-13 17:32:32 +00:00
|
|
|
|
'mailpassword' => array(
|
|
|
|
|
|
'anon' => NULL,
|
|
|
|
|
|
),
|
2005-05-27 11:03:37 +00:00
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Set to a filename to log rate limiter hits.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRateLimitLog = null;
|
|
|
|
|
|
|
2006-05-12 17:47:53 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Array of groups which should never trigger the rate limiter
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' );
|
|
|
|
|
|
|
2005-04-10 21:27:42 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* On Special:Unusedimages, consider images "used", if they are put
|
|
|
|
|
|
* into a category. Default (false) is not to count those as used.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgCountCategorizedImagesAsUsed = false;
|
|
|
|
|
|
|
2005-07-03 04:40:07 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* External stores allow including content
|
2005-04-18 17:21:27 +00:00
|
|
|
|
* from non database sources following URL links
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-04-18 17:21:27 +00:00
|
|
|
|
* Short names of ExternalStore classes may be specified in an array here:
|
|
|
|
|
|
* $wgExternalStores = array("http","file","custom")...
|
2005-07-03 04:40:07 +00:00
|
|
|
|
*
|
2005-04-18 17:21:27 +00:00
|
|
|
|
* CAUTION: Access to database might lead to code execution
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgExternalStores = false;
|
2005-05-21 07:46:17 +00:00
|
|
|
|
|
2005-08-14 07:14:10 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* An array of external mysql servers, e.g.
|
|
|
|
|
|
* $wgExternalServers = array( 'cluster1' => array( 'srv28', 'srv29', 'srv30' ) );
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgExternalServers = array();
|
|
|
|
|
|
|
2006-01-09 03:16:56 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* The place to put new revisions, false to put them in the local text table.
|
|
|
|
|
|
* Part of a URL, e.g. DB://cluster1
|
2006-03-27 03:56:53 +00:00
|
|
|
|
*
|
|
|
|
|
|
* Can be an array instead of a single string, to enable data distribution. Keys
|
|
|
|
|
|
* must be consecutive integers, starting at zero. Example:
|
|
|
|
|
|
*
|
|
|
|
|
|
* $wgDefaultExternalStore = array( 'DB://cluster1', 'DB://cluster2' );
|
|
|
|
|
|
*
|
2006-01-09 03:16:56 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgDefaultExternalStore = false;
|
|
|
|
|
|
|
2006-09-18 18:10:20 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Revision text may be cached in $wgMemc to reduce load on external storage
|
|
|
|
|
|
* servers and object extraction overhead for frequently-loaded revisions.
|
|
|
|
|
|
*
|
|
|
|
|
|
* Set to 0 to disable, or number of seconds before cache expiry.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgRevisionCacheExpiry = 0;
|
|
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
|
/**
|
2005-07-03 04:40:07 +00:00
|
|
|
|
* list of trusted media-types and mime types.
|
2005-05-21 07:46:17 +00:00
|
|
|
|
* Use the MEDIATYPE_xxx constants to represent media types.
|
|
|
|
|
|
* This list is used by Image::isSafeFile
|
|
|
|
|
|
*
|
|
|
|
|
|
* Types not listed here will have a warning about unsafe content
|
|
|
|
|
|
* displayed on the images description page. It would also be possible
|
2005-07-03 04:40:07 +00:00
|
|
|
|
* to use this for further restrictions, like disabling direct
|
2005-05-21 07:46:17 +00:00
|
|
|
|
* [[media:...]] links for non-trusted formats.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgTrustedMediaFormats= array(
|
|
|
|
|
|
MEDIATYPE_BITMAP, //all bitmap formats
|
|
|
|
|
|
MEDIATYPE_AUDIO, //all audio formats
|
|
|
|
|
|
MEDIATYPE_VIDEO, //all plain video formats
|
|
|
|
|
|
"image/svg", //svg (only needed if inline rendering of svg is not supported)
|
|
|
|
|
|
"application/pdf", //PDF files
|
2005-07-03 04:40:07 +00:00
|
|
|
|
#"application/x-shockwafe-flash", //flash/shockwave movie
|
2005-05-21 07:46:17 +00:00
|
|
|
|
);
|
|
|
|
|
|
|
2005-05-28 11:09:22 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allow special page inclusions such as {{Special:Allpages}}
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowSpecialInclusion = true;
|
|
|
|
|
|
|
2005-06-26 06:34:13 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Timeout for HTTP requests done via CURL
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgHTTPTimeout = 3;
|
2005-05-28 11:09:22 +00:00
|
|
|
|
|
2005-07-03 07:15:53 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Proxy to use for CURL requests.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgHTTPProxy = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Enable interwiki transcluding. Only when iw_trans=1.
|
|
|
|
|
|
*/
|
2005-07-03 07:17:42 +00:00
|
|
|
|
$wgEnableScaryTranscluding = false;
|
2006-01-31 03:44:08 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Expiry time for interwiki transclusion
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgTranscludeCacheExpiry = 3600;
|
2005-07-03 07:15:53 +00:00
|
|
|
|
|
2005-07-23 05:47:25 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Support blog-style "trackbacks" for articles. See
|
|
|
|
|
|
* http://www.sixapart.com/pronet/docs/trackback_spec for details.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgUseTrackbacks = false;
|
|
|
|
|
|
|
2006-01-09 14:20:26 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Enable filtering of categories in Recentchanges
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowCategorizedRecentChanges = false ;
|
|
|
|
|
|
|
2006-02-24 01:56:31 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Number of jobs to perform per request. May be less than one in which case
|
|
|
|
|
|
* jobs are performed probabalistically. If this is zero, jobs will not be done
|
2006-06-24 00:02:37 +00:00
|
|
|
|
* during ordinary apache requests. In this case, maintenance/runJobs.php should
|
2006-02-24 01:56:31 +00:00
|
|
|
|
* be run periodically.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgJobRunRate = 1;
|
|
|
|
|
|
|
2006-06-18 12:42:16 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Number of rows to update per job
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgUpdateRowsPerJob = 500;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Number of rows to update per query
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgUpdateRowsPerQuery = 10;
|
|
|
|
|
|
|
2006-03-26 19:03:14 +00:00
|
|
|
|
/**
|
2006-07-30 10:53:22 +00:00
|
|
|
|
* Enable AJAX framework
|
2006-03-26 19:03:14 +00:00
|
|
|
|
*/
|
|
|
|
|
|
$wgUseAjax = false;
|
|
|
|
|
|
|
2006-03-27 18:53:15 +00:00
|
|
|
|
/**
|
2006-07-30 10:53:22 +00:00
|
|
|
|
* Enable auto suggestion for the search bar
|
|
|
|
|
|
* Requires $wgUseAjax to be true too.
|
|
|
|
|
|
* Causes wfSajaxSearch to be added to $wgAjaxExportList
|
2006-03-27 18:53:15 +00:00
|
|
|
|
*/
|
2006-07-30 10:53:22 +00:00
|
|
|
|
$wgAjaxSearch = false;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* List of Ajax-callable functions.
|
|
|
|
|
|
* Extensions acting as Ajax callbacks must register here
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAjaxExportList = array( );
|
2006-03-27 18:53:15 +00:00
|
|
|
|
|
2006-04-11 10:16:27 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Allow DISPLAYTITLE to change title display
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowDisplayTitle = false ;
|
2006-02-24 01:56:31 +00:00
|
|
|
|
|
2006-04-14 21:56:11 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Array of usernames which may not be registered or logged in from
|
|
|
|
|
|
* Maintenance scripts can still use these
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgReservedUsernames = array( 'MediaWiki default', 'Conversion script' );
|
|
|
|
|
|
|
2006-05-05 06:48:29 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* MediaWiki will reject HTMLesque tags in uploaded files due to idiotic browsers which can't
|
|
|
|
|
|
* perform basic stuff like MIME detection and which are vulnerable to further idiots uploading
|
|
|
|
|
|
* crap files as images. When this directive is on, <title> will be allowed in files with
|
|
|
|
|
|
* an "image/svg" MIME type. You should leave this disabled if your web server is misconfigured
|
|
|
|
|
|
* and doesn't send appropriate MIME types for SVG images.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgAllowTitlesInSVG = false;
|
|
|
|
|
|
|
2006-06-12 11:59:12 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Array of namespaces which can be deemed to contain valid "content", as far
|
|
|
|
|
|
* as the site statistics are concerned. Useful if additional namespaces also
|
|
|
|
|
|
* contain "content" which should be considered when generating a count of the
|
|
|
|
|
|
* number of articles in the wiki.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgContentNamespaces = array( NS_MAIN );
|
|
|
|
|
|
|
2006-06-17 10:21:55 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Maximum amount of virtual memory available to shell processes under linux, in KB.
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMaxShellMemory = 102400;
|
|
|
|
|
|
|
2006-09-27 00:43:37 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Maximum file size created by shell processes under linux, in KB
|
|
|
|
|
|
* ImageMagick convert for example can be fairly hungry for scratch space
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgMaxShellFileSize = 102400;
|
|
|
|
|
|
|
2006-08-13 17:34:48 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* DJVU settings
|
|
|
|
|
|
* Path of the djvutoxml executable
|
|
|
|
|
|
* Enable this and $wgDjvuRenderer to enable djvu rendering
|
|
|
|
|
|
*/
|
|
|
|
|
|
# $wgDjvuToXML = 'djvutoxml';
|
2006-09-06 08:53:02 +00:00
|
|
|
|
$wgDjvuToXML = null;
|
2006-08-13 17:34:48 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Path of the ddjvu DJVU renderer
|
|
|
|
|
|
* Enable this and $wgDjvuToXML to enable djvu rendering
|
|
|
|
|
|
*/
|
|
|
|
|
|
# $wgDjvuRenderer = 'ddjvu';
|
2006-09-06 08:53:02 +00:00
|
|
|
|
$wgDjvuRenderer = null;
|
2006-08-13 17:34:48 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Path of the DJVU post processor
|
|
|
|
|
|
* May include command line options
|
|
|
|
|
|
* Default: ppmtojpeg, since ddjvu generates ppm output
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgDjvuPostProcessor = 'ppmtojpeg';
|
|
|
|
|
|
|
2006-10-11 03:24:58 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Enable direct access to the data API
|
|
|
|
|
|
* through api.php
|
|
|
|
|
|
*/
|
|
|
|
|
|
$wgEnableAPI = true;
|
2006-10-11 03:27:47 +00:00
|
|
|
|
$wgEnableWriteAPI = false;
|
2006-10-11 03:24:58 +00:00
|
|
|
|
|
2005-02-22 18:20:12 +00:00
|
|
|
|
?>
|