* MediaWiki version number
* @since 1.2
*/
-$wgVersion = '1.27alpha';
+$wgVersion = '1.27.0-alpha';
/**
* Name of the site. It must be changed in LocalSettings.php
*/
$wgForeignUploadTargets = array();
-/**
- * Cross-wiki upload A/B test configuration.
- */
-$wgForeignUploadTestEnabled = false;
-$wgForeignUploadTestDefault = 1;
-
/**
* File backend structure configuration.
*
/**
* Plugins for page content model handling.
- * Each entry in the array maps a model id to a class name.
+ * Each entry in the array maps a model id to a class name or callback
+ * that creates an instance of the appropriate ContentHandler subclass.
*
* @since 1.21
*/
*/
$wgImageMagickConvertCommand = '/usr/bin/convert';
+/**
+ * Array of max pixel areas for interlacing per MIME type
+ * @since 1.27
+ */
+$wgMaxInterlacingAreas = array();
+
/**
* Sharpening parameter to ImageMagick
*/
*/
$wgEnotifMaxRecips = 500;
-/**
- * Send mails via the job queue. This can be useful to reduce the time it
- * takes to save a page that a lot of people are watching.
- */
-$wgEnotifUseJobQ = false;
-
/**
* Use real name instead of username in e-mail "from" field.
*/
*/
$wgLBFactoryConf = array( 'class' => 'LBFactorySimple' );
-/**
- * The ID of the current data center
- * @since 1.27
- */
-$wgDataCenterId = 'default';
-
-/**
- * Map of data center IDs to their role ("master" or "slave")
- *
- * Multiple data centers can be setup to handle MediaWiki, with HTTP
- * POSTs routed to the master data center and GET/HEAD/OPTION routed to
- * any data center (usually the closest to the end user). In such setups,
- * this setting should be set to the appropriate value in the site
- * config for each data center.
- * @since 1.27
- */
-$wgDataCenterRoles = array( 'default' => 'master' );
-
/**
* After a state-changing request is done by a client, this determines
* how many seconds that client should keep using the master datacenter.
/**
* Whether to use PHP session handling ($_SESSION and session_*() functions)
- * @var string 'enable', 'warn', or 'disable'
+ * @since 1.27
+ * @var string
+ * - 'enable': Integrate with PHP's session handling as much as possible.
+ * - 'warn': Integrate but log warnings if anything changes $_SESSION.
+ * - 'disable': Throw exceptions if PHP session handling is used.
*/
$wgPHPSessionHandling = 'enable';
*/
/**
- * Site language code. See languages/Names.php for languages supported by
+ * Site language code. See languages/data/Names.php for languages supported by
* MediaWiki out of the box. Not all languages listed there have translations,
* see languages/messages/ for the list of languages with some localisation.
*
* @endcode
* @since 1.22
*/
-$wgResourceLoaderLESSVars = array();
+$wgResourceLoaderLESSVars = array(
+ /**
+ * Minimum available screen width at which a device can be considered a tablet/desktop
+ * The number is currently based on the device width of a Samsung Galaxy S5 mini and is low
+ * enough to cover iPad (768px). Number is prone to change with new information.
+ * @since 1.27
+ */
+ 'deviceWidthTablet' => '720px',
+);
/**
* Default import paths for LESS modules. LESS files referenced in @import
*/
$wgSecureLogin = false;
+/**
+ * Versioning for authentication tokens.
+ *
+ * If non-null, this is combined with the user's secret (the user_token field
+ * in the DB) to generate the token cookie. Changing this will invalidate all
+ * active sessions (i.e. it will log everyone out).
+ *
+ * @since 1.27
+ * @var string|null
+ */
+$wgAuthenticationTokenVersion = null;
+
/**
* MediaWiki\Session\SessionProvider configuration.
*
*/
$wgExportAllowAll = false;
+/**
+ * Maximum number of pages returned by the GetPagesFromCategory and
+ * GetPagesFromNamespace functions.
+ *
+ * @since 1.27
+ */
+$wgExportPagelistLimit = 5000;
+
/** @} */ # end of import/export }
/*************************************************************************//**
/************************************************************************//**
* @name Job queue
- * See also $wgEnotifUseJobQ.
* @{
*/
*/
$wgMaxUserDBWriteDuration = false;
+/**
+ * Mapping of event channels to EventRelayer configuration.
+ *
+ * By setting up a PubSub system (like Kafka) and enabling a corresponding EventRelayer class
+ * that uses it, MediaWiki can broadcast events to all subscribers. Certain features like WAN
+ * cache purging and CDN cache purging will emit events to this system. Appropriate listers can
+ * subscribe to the channel and take actions based on the events. For example, a local daemon
+ * can run on each CDN cache node and perfom local purges based on the URL purge channel events.
+ *
+ * The 'default' channel is for all channels without an explicit entry here.
+ *
+ * @since 1.27
+ */
+$wgEventRelayerConfig = array(
+ 'default' => array(
+ 'class' => 'EventRelayerNull',
+ )
+);
+
/**
* For really cool vim folding this needs to be at the end:
* vim: foldmarker=@{,@} foldmethod=marker