* ];
* @endcode
*
+ * SVG is also supported but when enabled, it
+ * disables 1.5x and 2x as svg will already
+ * be optimised for screen resolution.
+ *
+ * @par Example:
+ * @code
+ * $wgLogoHD = [
+ * "svg" => "path/to/svg_version.svg",
+ * ];
+ * @endcode
+ *
* @since 1.25
*/
$wgLogoHD = false;
*/
$wgIncludeLegacyJavaScript = false;
-/**
- * Use jQuery 3 (with jQuery Migrate) instead of jQuery 1.
- *
- * This is a temporary feature flag for the MediaWiki 1.29 development cycle while
- * instabilities with jQuery 3 are being addressed. See T124742.
- *
- * @deprecated since 1.29
- */
-$wgUsejQueryThree = true;
-
/**
* Whether or not to assign configuration variables to the global window object.
*
];
/**
- * @var Array Map of (grant => right => boolean)
+ * @var array Map of (grant => right => boolean)
* Users authorize consumers (like Apps) to act on their behalf but only with
* a subset of the user's normal account rights (signed off on by the user).
* The possible rights to grant to a consumer are bundled into groups called
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
- * @var Array Map of grants to their UI grouping
+ * @var array Map of grants to their UI grouping
* @since 1.27
*/
$wgGrantPermissionGroups = [
* Rates are sampling probabilities (e.g. 0.1 means 1 in 10 events are sampled).
* @since 1.28
*/
-$wgStatsdSamplingRates = [];
+$wgStatsdSamplingRates = [
+ 'wanobjectcache:*' => 0.001
+];
/**
* InfoAction retrieves a list of transclusion links (both to and from).
/**
* Use RC Patrolling to check for vandalism (from recent changes and watchlists)
* New pages and new files are included.
+ *
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
*/
$wgUseRCPatrol = true;
/**
* Use new page patrolling to check new pages on Special:Newpages
+ *
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
*/
$wgUseNPPatrol = true;
/**
* Use file patrolling to check new files on Special:Newfiles
*
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
+ *
* @since 1.27
*/
$wgUseFilePatrol = true;
* machine-readable data via api.php
*
* See https://www.mediawiki.org/wiki/API
+ *
+ * @deprecated since 1.31
*/
$wgEnableAPI = true;
* Allow the API to be used to perform write operations
* (page edits, rollback, etc.) when an authorised user
* accesses it
+ *
+ * @deprecated since 1.31
*/
$wgEnableWriteAPI = true;