Merge "Move core message dirs from $wgMessagesDirs to LocalisationCache::getMessagesD...
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 3 Dec 2014 23:46:58 +0000 (23:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 3 Dec 2014 23:46:58 +0000 (23:46 +0000)
1  2 
includes/DefaultSettings.php

@@@ -5024,13 -5024,6 +5024,13 @@@ $wgRateLimits = array
                'ip' => null,
                'subnet' => null,
        ),
 +      'stashedit' => array( // stashing edits into cache before save
 +              'anon' => null,
 +              'user' => null,
 +              'newbie' => null,
 +              'ip' => null,
 +              'subnet' => null,
 +      )
  );
  
  /**
@@@ -6236,6 -6229,8 +6236,8 @@@ $wgExtensionMessagesFiles = array()
   * en.json, de.json, etc. Extensions with messages in multiple places may specify an array of
   * message directories.
   *
+  * Message directories in core should be added to LocalisationCache::getMessagesDirs()
+  *
   * @par Simple example:
   * @code
   *    $wgMessagesDirs['Example'] = __DIR__ . '/i18n';
   * @endcode
   * @since 1.23
   */
- $wgMessagesDirs = array(
-       'core' => "$IP/languages/i18n",
-       'api' => "$IP/includes/api/i18n",
-       'oojs-ui' => "$IP/resources/lib/oojs-ui/i18n",
- );
+ $wgMessagesDirs = array();
  
  /**
   * Array of files with list(s) of extension entry points to be used in
@@@ -7044,12 -7035,6 +7042,12 @@@ $wgAjaxUploadDestCheck = true
   */
  $wgAjaxLicensePreview = true;
  
 +/**
 + * Have clients send edits to be prepared when filling in edit summaries.
 + * This gives the server a head start on the expensive parsing operation.
 + */
 +$wgAjaxEditStash = true;
 +
  /**
   * Settings for incoming cross-site AJAX requests:
   * Newer browsers support cross-site AJAX when the target resource allows requests