- * This is usually detected correctly by MediaWiki. If MediaWiki detects the
- * wrong server, it will redirect incorrectly after you save a page. In that
+ * This is usually detected correctly by MediaWiki. If MediaWiki detects the
+ * wrong server, it will redirect incorrectly after you save a page. In that
* These will relatively rarely need to be set manually, unless you are
* splitting style sheets or images outside the main document root.
*
* These will relatively rarely need to be set manually, unless you are
* splitting style sheets or images outside the main document root.
*
- * In this section, a "path" is usually a host-relative URL, i.e. a URL without
- * the host part, that starts with a slash. In most cases a full URL is also
+ * In this section, a "path" is usually a host-relative URL, i.e. a URL without
+ * the host part, that starts with a slash. In most cases a full URL is also
* acceptable. A "directory" is a local file path.
*
* In both paths and directories, trailing slashes should not be included.
* acceptable. A "directory" is a local file path.
*
* In both paths and directories, trailing slashes should not be included.
- * The URL path for primary article page views. This path should contain $1,
- * which is replaced by the article title.
+ * The URL path for primary article page views. This path should contain $1,
+ * which is replaced by the article title.
- * If this is enabled, img_auth.php will not allow image access unless the wiki
- * is private. This improves security when image uploads are hosted on a
+ * If this is enabled, img_auth.php will not allow image access unless the wiki
+ * is private. This improves security when image uploads are hosted on a
* - descBaseUrl URL of image description pages, e.g. http://en.wikipedia.org/wiki/File:
* - scriptDirUrl URL of the MediaWiki installation, equivalent to $wgScriptPath, e.g.
* http://en.wikipedia.org/w
* - descBaseUrl URL of image description pages, e.g. http://en.wikipedia.org/wiki/File:
* - scriptDirUrl URL of the MediaWiki installation, equivalent to $wgScriptPath, e.g.
* http://en.wikipedia.org/w
* $wgScriptExtension, e.g. .php5 defaults to .php
*
* - articleUrl Equivalent to $wgArticlePath, e.g. http://en.wikipedia.org/wiki/$1
* $wgScriptExtension, e.g. .php5 defaults to .php
*
* - articleUrl Equivalent to $wgArticlePath, e.g. http://en.wikipedia.org/wiki/$1
- * It's almost always good to leave this enabled. In previous versions of
- * MediaWiki, some users set this to false to allow images to be added to the
- * wiki by simply copying them into $wgUploadDirectory and then running
- * maintenance/rebuildImages.php to register them in the database. This is no
+ * It's almost always good to leave this enabled. In previous versions of
+ * MediaWiki, some users set this to false to allow images to be added to the
+ * wiki by simply copying them into $wgUploadDirectory and then running
+ * maintenance/rebuildImages.php to register them in the database. This is no
* longer recommended, use maintenance/importImages.php instead.
*
* Note that this variable may be ignored if $wgLocalFileRepo is set.
* longer recommended, use maintenance/importImages.php instead.
*
* Note that this variable may be ignored if $wgLocalFileRepo is set.
# May contain harmful executables for Windows victims
'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
# May contain harmful executables for Windows victims
'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
-/**
- * Internal name of virus scanner. This servers as a key to the
- * $wgAntivirusSetup array. Set this to NULL to disable virus scanning. If not
+/**
+ * Internal name of virus scanner. This servers as a key to the
+ * $wgAntivirusSetup array. Set this to NULL to disable virus scanning. If not
-/**
- * Configuration for different virus scanners. This an associative array of
- * associative arrays. It contains one setup array per known scanner type.
+/**
+ * Configuration for different virus scanners. This an associative array of
+ * associative arrays. It contains one 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 entry is selected by $wgAntivirus, i.e.
* valid values for $wgAntivirus are the keys defined in this array.
*
- * "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 overwritten if the
+ * "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 overwritten if the
- * - 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
+ * - 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
- * - 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
+ * - 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
* Switch for loading the FileInfo extension by PECL at runtime.
* This should be used only if fileinfo is installed as a shared object
* or a dynamic library.
* Switch for loading the FileInfo extension by PECL at runtime.
* This should be used only if fileinfo is installed as a shared object
* or a dynamic library.
* Switch for trivial mime detection. Used by thumb.php to disable all fancy
* things, because only a few types of images are needed and file extensions
* can be trusted.
* Switch for trivial mime detection. Used by thumb.php to disable all fancy
* things, because only a few types of images are needed and file extensions
* can be trusted.
/** Separate password for maintenance tasks. Leave as null to use the default. */
$wgDBadminpassword = null;
/** Separate password for maintenance tasks. Leave as null to use the default. */
$wgDBadminpassword = null;
* Search type.
* Leave as null to select the default search engine for the
* selected database type (eg SearchMySQL), or set to a class
* Search type.
* Leave as null to select the default search engine for the
* selected database type (eg SearchMySQL), or set to a class
- * Main cache type. This should be a cache with fast access, but it may have
- * limited space. By default, it is disabled, since the database is not fast
+ * Main cache type. This should be a cache with fast access, but it may have
+ * limited space. By default, it is disabled, since the database is not fast
* - CACHE_DB: Store cache objects in the DB
* - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCacheServers
* - CACHE_ACCEL: eAccelerator, APC, XCache or WinCache
* - CACHE_DB: Store cache objects in the DB
* - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCacheServers
* - CACHE_ACCEL: eAccelerator, APC, XCache or WinCache
- * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style
- * database. This is slow, and is not recommended for
+ * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style
+ * database. This is slow, and is not recommended for
* anything other than debugging.
*
* @see $wgMessageCacheType, $wgParserCacheType
* anything other than debugging.
*
* @see $wgMessageCacheType, $wgParserCacheType
* cache is used for a small amount of data which is expensive to regenerate.
*
* For available types see $wgMainCacheType.
* cache is used for a small amount of data which is expensive to regenerate.
*
* For available types see $wgMainCacheType.
* is expensive to regenerate, and benefits from having plenty of storage space.
*
* For available types see $wgMainCacheType.
* is expensive to regenerate, and benefits from having plenty of storage space.
*
* For available types see $wgMainCacheType.
* seconds, otherwise known as a day.
*/
$wgParserCacheExpireTime = 86400;
* seconds, otherwise known as a day.
*/
$wgParserCacheExpireTime = 86400;
- * Store sessions in MemCached. This can be useful to improve performance, or to
- * avoid the locking behaviour of PHP's default session handler, which tends to
+ * Store sessions in MemCached. This can be useful to improve performance, or to
+ * avoid the locking behaviour of PHP's default session handler, which tends to
* prevent multiple requests for the same user from acting concurrently.
*/
$wgSessionsInMemcached = false;
* prevent multiple requests for the same user from acting concurrently.
*/
$wgSessionsInMemcached = false;
* This is used for setting php's session.save_handler. In practice, you will
* almost never need to change this ever. Other options might be 'user' or
* 'session_mysql.' Setting to null skips setting this entirely (which might be
* This is used for setting php's session.save_handler. In practice, you will
* almost never need to change this ever. Other options might be 'user' or
* 'session_mysql.' Setting to null skips setting this entirely (which might be
/** The list of MemCached servers and port numbers */
$wgMemCachedServers = array( '127.0.0.1:11000' );
/** The list of MemCached servers and port numbers */
$wgMemCachedServers = array( '127.0.0.1:11000' );
/************************************************************************//**
* @name HTTP proxy (Squid) settings
*
/************************************************************************//**
* @name HTTP proxy (Squid) settings
*
- * Achieving a high hit ratio with an HTTP proxy requires special
- * configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for
+ * Achieving a high hit ratio with an HTTP proxy requires special
+ * configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for
* Internal server name as known to Squid, if different. Example:
* <code>
* $wgInternalServer = 'http://yourinternal.tld:8000';
* Internal server name as known to Squid, if different. Example:
* <code>
* $wgInternalServer = 'http://yourinternal.tld:8000';
* inaccessible, run maintenance/cleanupTitles.php to fix this.
*/
$wgFixArabicUnicode = true;
/**
* Set this to true to replace ZWJ-based chillu sequences in Malayalam text
* inaccessible, run maintenance/cleanupTitles.php to fix this.
*/
$wgFixArabicUnicode = true;
/**
* Set this to true to replace ZWJ-based chillu sequences in Malayalam text
- * with their Unicode 5.1 equivalents. This only works if $wgLanguageCode is
- * set to "ml". Note that some clients (even new clients as of 2010) do not
- * support these characters.
+ * with their Unicode 5.1 equivalents. This only works if $wgLanguageCode is
+ * set to "ml". Note that some clients (even new clients as of 2010) do not
+ * support these characters.
*
* If you enable this on an existing wiki, run maintenance/cleanupTitles.php to
* fix any ZWJ sequences in existing page titles.
*
* If you enable this on an existing wiki, run maintenance/cleanupTitles.php to
* fix any ZWJ sequences in existing page titles.
- * 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 a wiki from MediaWiki 1.4 or earlier to UTF-8 without the
+ * 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 a wiki from MediaWiki 1.4 or earlier to UTF-8 without the
- * 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
+ * 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
- * Browser Blacklist for unicode non compliant browsers. Contains a list of
- * regexps : "/regexp/" matching problematic browsers. These browsers will
+ * Browser Blacklist for unicode non compliant browsers. Contains a list of
+ * regexps : "/regexp/" matching problematic browsers. These browsers will
* Enable to allow rewriting dates in page text.
* DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES.
*/
$wgUseDynamicDates = false;
* Enable to allow rewriting dates in page text.
* DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES.
*/
$wgUseDynamicDates = false;
* Enable dates like 'May 12' instead of '12 May', this only takes effect if
* the interface is set to English.
*/
* Enable dates like 'May 12' instead of '12 May', this only takes effect if
* the interface is set to English.
*/
/** Default variant code, if false, the default will be the language code */
$wgDefaultLanguageVariant = false;
/** Default variant code, if false, the default will be the language code */
$wgDefaultLanguageVariant = false;
* Disabled variants array of language variant conversion. Example:
* <code>
* $wgDisabledVariants[] = 'zh-mo';
* Disabled variants array of language variant conversion. Example:
* <code>
* $wgDisabledVariants[] = 'zh-mo';
- * 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
+ * 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
* If the above is false, you can specify an exception here. Image URLs
* 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.
* If the above is false, you can specify an exception here. Image URLs
* 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.
* Number of seconds before autoblock entries expire. Default 86400 = 1 day.
*/
$wgAutoblockExpiry = 86400;
* Number of seconds before autoblock entries expire. Default 86400 = 1 day.
*/
$wgAutoblockExpiry = 86400;
* Set this to true to allow blocked users to edit their own user talk page.
*/
$wgBlockAllowsUTEdit = false;
* Set this to true to allow blocked users to edit their own user talk page.
*/
$wgBlockAllowsUTEdit = false;
- * CIDR notation is hard to understand, it's easy to mistakenly assume that a
- * /1 is a small range and a /31 is a large range. Setting this to half the
+ * CIDR notation is hard to understand, it's easy to mistakenly assume that a
+ * /1 is a small range and a /31 is a large range. Setting this to half the
- * Also note that this will only protect _pages in the wiki_. Uploaded files
- * will remain readable. You can use img_auth.php to protect uploaded files,
+ * Also note that this will only protect _pages in the wiki_. Uploaded files
+ * will remain readable. You can use img_auth.php to protect uploaded files,
- * Number of seconds an account is required to age before it's given the
- * implicit 'autoconfirm' group membership. This can be used to limit
+ * Number of seconds an account is required to age before it's given the
+ * implicit 'autoconfirm' group membership. This can be used to limit
* recorded creation date, and will always be considered to pass the age test.
*
* When left at 0, all registered accounts will pass.
* recorded creation date, and will always be considered to pass the age test.
*
* When left at 0, all registered accounts will pass.
* Similarly you can get a function to do the job. The function will be given
* the following args:
* - a Title object for the article the edit is made on
* Similarly you can get a function to do the job. The function will be given
* the following args:
* - a Title object for the article the edit is made on
-/**
- * Log IP addresses in the recentchanges table; can be accessed only by
- * extensions (e.g. CheckUser) or a DB admin
+/**
+ * Log IP addresses in the recentchanges table; can be accessed only by
+ * extensions (e.g. CheckUser) or a DB admin
* Log sums from profiling into "profiling" table in db.
*
* You have to create a 'profiling' table in your database before using
* Log sums from profiling into "profiling" table in db.
*
* You have to create a 'profiling' table in your database before using
* Subversion at: http://svn.wikimedia.org/svnroot/mediawiki/trunk/udpprofile
*/
$wgUDPProfilerHost = '127.0.0.1';
* Subversion at: http://svn.wikimedia.org/svnroot/mediawiki/trunk/udpprofile
*/
$wgUDPProfilerHost = '127.0.0.1';
- * Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers
- * higher than what will be stored. Note that this is disabled by default
- * because we sometimes do have RC data which is beyond the limit for some
- * reason, and some users may use the high numbers to display that data which
+ * Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers
+ * higher than what will be stored. Note that this is disabled by default
+ * because we sometimes do have RC data which is beyond the limit for some
+ * reason, and some users may use the high numbers to display that data which
* Special:Recentchangeslinked pages.
*/
$wgRCLinkLimits = array( 50, 100, 250, 500 );
* Special:Recentchangeslinked pages.
*/
$wgRCLinkLimits = array( 50, 100, 250, 500 );
- * List of page property names and descriptions of what they are.
- * This is used for the API prop=pageprops module to know which
- * page props to search for. The help message is only seen from
+ * List of page property names and descriptions of what they are.
+ * This is used for the API prop=pageprops module to know which
+ * page props to search for. The help message is only seen from
/**
* For really cool vim folding this needs to be at the end:
* vim: foldmarker=@{,@} foldmethod=marker
/**
* For really cool vim folding this needs to be at the end:
* vim: foldmarker=@{,@} foldmethod=marker