Merge " (bug 42004) Enable subpages per default on Project and Help namespaces."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 24 Jan 2013 14:32:26 +0000 (14:32 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 24 Jan 2013 14:32:26 +0000 (14:32 +0000)
1  2 
includes/DefaultSettings.php

@@@ -3217,11 -3217,13 +3217,13 @@@ $wgNamespacesWithSubpages = array
        NS_TALK           => true,
        NS_USER           => true,
        NS_USER_TALK      => true,
+       NS_PROJECT        => true,
        NS_PROJECT_TALK   => true,
        NS_FILE_TALK      => true,
        NS_MEDIAWIKI      => true,
        NS_MEDIAWIKI_TALK => true,
        NS_TEMPLATE_TALK  => true,
+       NS_HELP           => true,
        NS_HELP_TALK      => true,
        NS_CATEGORY_TALK  => true
  );
@@@ -5992,22 -5994,6 +5994,22 @@@ $wgEnableAPI = true
   */
  $wgEnableWriteAPI = true;
  
 +/**
 + *
 + *     WARNING: SECURITY THREAT - debug use only
 + *
 + * Disables many security checks in the API for debugging purposes.
 + * This flag should never be used on the production servers, as it introduces
 + * a number of potential security holes. Even when enabled, the validation
 + * will still be performed, but instead of failing, API will return a warning.
 + * Also, there will always be a warning notifying that this flag is set.
 + * At this point, the flag allows GET requests to go through for modules
 + * requiring POST.
 + *
 + * @since 1.21
 + */
 +$wgDebugAPI = false;
 +
  /**
   * API module extensions.
   * Associative array mapping module name to class name.