Modified Special:Categories to subclass SpecialPage
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 1df64f1..7898429 100644 (file)
@@ -1508,6 +1508,13 @@ $wgUseLocalMessageCache = false;
  */
 $wgLocalMessageCacheSerialized = true;
 
+/**
+ * Instead of caching everything, keep track which messages are requested and
+ * load only most used messages. This only makes sense if there is lots of
+ * interface messages customised in the wiki (like hundreds in many languages).
+ */
+$wgAdaptiveMessageCache = false;
+
 /**
  * Localisation cache configuration. Associative array with keys:
  *     class:       The class to use. May be overridden by extensions.
@@ -1943,15 +1950,6 @@ $wgVariantArticlePath = false;
  */
 $wgLoginLanguageSelector = false;
 
-/**
- * Whether to use zhdaemon to perform Chinese text processing
- * zhdaemon is under developement, so normally you don't want to
- * use it unless for testing.
- */
-$wgUseZhdaemon = false;
-$wgZhdaemonHost="localhost";
-$wgZhdaemonPort=2004;
-
 /**
  * When translating messages with wfMsg(), it is not always clear what should
  * be considered UI messages and what should be content messages.
@@ -2304,7 +2302,10 @@ $wgMetaNamespaceTalk = false;
 /**
  * Additional namespaces. If the namespaces defined in Language.php and
  * Namespace.php are insufficient, you can create new ones here, for example,
- * to import Help files in other languages.
+ * to import Help files in other languages. You can also override the namespace
+ * names of existing namespaces. Extensions developers should use
+ * $wgCanonicalNamespaceNames.
+ *
  * 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.
@@ -2318,7 +2319,7 @@ $wgMetaNamespaceTalk = false;
 #            102 => "Aide",
 #            103 => "Discussion_Aide"
 #            );
-$wgExtraNamespaces = null;
+$wgExtraNamespaces = array();
 
 /**
  * Namespace aliases
@@ -4404,7 +4405,8 @@ $wgExceptionHooks = array();
 /**
  * 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.
+ * page props to search for. The help message is only seen from 
+ * the API help page.
  */
 $wgPageProps = array( 
        'hiddencat' => 'Whether or not the page has a category with the __HIDDENCAT__ magic word',
@@ -5095,7 +5097,38 @@ $wgUploadMaintenance = false;
 /**
  * Enabes or disables JavaScript-based suggestions of password strength
  */
-$wgLivePasswordStrengthChecks = true;
+$wgLivePasswordStrengthChecks = false;
+
+/**
+ * The location of the MediaWiki package repository to use.
+ * 
+ * @since 1.17
+ * @var string
+ */
+$wgRepositoryApiLocation = 'http://www.mediawiki.org/w/api.php';
+
+/**
+ * The location of the remote web interface for the selected repository. 
+ * 
+ * @since 1.17
+ * @var string
+ */
+$wgRepositoryLocation = 'http://www.mediawiki.org/wiki/Special:Repository';
+
+/**
+ * List of package states to filter update detection and extension listing on. 
+ * 
+ * @since 1.17
+ * @var array
+ */
+$wgRepositoryPackageStates = array(
+       //'dev',
+       //'alpha',
+       'beta',
+       //'rc',
+       'stable',
+       //'deprecated',
+);
  
 /**
  * For really cool vim folding this needs to be at the end: