* (bug 15196) Free external links should be numbered in a localised manner
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 81d5a10..3521bf1 100644 (file)
@@ -678,14 +678,6 @@ $wgDBClusterTimeout = 10;
  */
 $wgDBAvgStatusPoll = 2000;
 
-/**
- * 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
- */
-$wgDBminWordLen     = 4;
 /** Set to true if using InnoDB tables */
 $wgDBtransactions      = false;
 /** Set to true for compatibility with extensions that might be checking.
@@ -751,12 +743,6 @@ $wgLocalMessageCache = false;
  */
 $wgLocalMessageCacheSerialized = true;
 
-/**
- * Directory for compiled constant message array databases
- * WARNING: turning anything on will just break things, aaaaaah!!!!
- */
-$wgCachedMessageArrays = false;
-
 # Language settings
 #
 /** Site language code, should be one of ./languages/Language(.*).php */
@@ -1036,6 +1022,12 @@ $wgUseCategoryBrowser   = false;
  */
 $wgEnableParserCache = true;
 
+/**
+ * Append a configured value to the parser cache and the sitenotice key so
+ * that they can be kept separate for some class of activity.
+ */
+$wgRenderHashAppend = '';
+
 /**
  * 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
@@ -1077,7 +1069,7 @@ $wgHitcounterUpdateFreq = 1;
 $wgSysopUserBans        = true; # Allow sysops to ban logged-in users
 $wgSysopRangeBans       = true; # Allow sysops to ban IP ranges
 $wgAutoblockExpiry      = 86400; # Number of seconds before autoblock entries expire
-$wgBlockAllowsUTEdit    = false; # Blocks allow users to edit their own user talk page
+$wgBlockAllowsUTEdit    = false; # Default setting for option on block form to allow self talkpage editing whilst blocked
 $wgSysopEmailBans       = true; # Allow sysops to ban users from accessing Emailuser
 
 # Pages anonymous user may see as an array, e.g.:
@@ -1383,7 +1375,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '176';
+$wgStyleVersion = '179';
 
 
 # Server-side caching:
@@ -2027,11 +2019,23 @@ $wgRC2UDPPort = false;
 $wgRC2UDPPrefix = '';
 $wgRC2UDPOmitBots = false;
 
-# Enable user search in Special:Newpages
-# This is really a temporary hack around an index install bug on some Wikipedias.
-# Kill it once fixed.
+/**
+ * Enable user search in Special:Newpages
+ * This is really a temporary hack around an index install bug on some Wikipedias.
+ * Kill it once fixed.
+ */
 $wgEnableNewpagesUserFilter = true;
 
+/**
+ * Whether to use metadata edition
+ * This will put categories, language links and allowed templates in a separate text box
+ * while editing pages
+ * EXPERIMENTAL
+ */
+$wgUseMetadataEdit = false;
+/** Full name (including namespace) of the page containing templates names that will be allowed as metadata */
+$wgMetadataWhitelist = '';
+
 #
 # Copyright and credits settings
 #
@@ -2808,6 +2812,7 @@ $wgSpecialPageGroups = array(
        'Blockip'                   => 'users',
        'Preferences'               => 'users',
        'Resetpass'                 => 'users',
+       'DeletedContributions'      => 'users',
 
        'Mostlinked'                => 'highuse',
        'Mostlinkedcategories'      => 'highuse',
@@ -2828,6 +2833,7 @@ $wgSpecialPageGroups = array(
        'Mytalk'                    => 'redirects',
        'Mycontributions'           => 'redirects',
        'Search'                    => 'redirects',
+       'LinkSearch'                => 'redirects',
 
        'Movepage'                  => 'pagetools',
        'MergeHistory'              => 'pagetools',
@@ -2876,6 +2882,11 @@ $wgDisableInternalSearch = false;
  */
 $wgSearchForwardUrl = null;
 
+/**
+ * Set a default target for external links, e.g. _blank to pop up a new window
+ */
+$wgExternalLinkTarget = false;
+
 /**
  * If true, external URL links in wiki text will be given the
  * rel="nofollow" attribute as a hint to search engines that
@@ -3428,3 +3439,10 @@ $wgUseAutomaticEditSummaries = true;
  * Requires memcached.
  */
 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 );
+
+/**
+ * Allow using articlepath for links where the only querystring is a curid (e.g. use /wiki/Main_Page?curid=1)
+ * WARNING: This will not work for all hosts or configuration setup, so BE CAREFUL.
+ * Only use this setting if you have to, as it is not recommended.
+ */
+$wgArticlePathForCurid = false;