dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove math from $wgDefaultUserOptions as Math isn't in core
[lhc/web/wiklou.git]
/
includes
/
DefaultSettings.php
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
c1a518a
..
02be473
100644
(file)
--- a/
includes/DefaultSettings.php
+++ b/
includes/DefaultSettings.php
@@
-290,6
+290,17
@@
$wgLogo = false;
* ];
* @endcode
*
* ];
* @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;
* @since 1.25
*/
$wgLogoHD = false;
@@
-4870,7
+4881,6
@@
$wgDefaultUserOptions = [
'hidepatrolled' => 0,
'hidecategorization' => 1,
'imagesize' => 2,
'hidepatrolled' => 0,
'hidecategorization' => 1,
'imagesize' => 2,
- 'math' => 1,
'minordefault' => 0,
'newpageshidepatrolled' => 0,
'nickname' => '',
'minordefault' => 0,
'newpageshidepatrolled' => 0,
'nickname' => '',
@@
-5774,7
+5784,7
@@
$wgPasswordAttemptThrottle = [
];
/**
];
/**
- * @var
A
rray Map of (grant => right => boolean)
+ * @var
a
rray 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
* 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
@@
-5876,7
+5886,7
@@
$wgGrantPermissions['createaccount']['createaccount'] = true;
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
- * @var
A
rray Map of grants to their UI grouping
+ * @var
a
rray Map of grants to their UI grouping
* @since 1.27
*/
$wgGrantPermissionGroups = [
* @since 1.27
*/
$wgGrantPermissionGroups = [
@@
-6340,7
+6350,9
@@
$wgStatsdMetricPrefix = 'MediaWiki';
* Rates are sampling probabilities (e.g. 0.1 means 1 in 10 events are sampled).
* @since 1.28
*/
* 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).
/**
* InfoAction retrieves a list of transclusion links (both to and from).
@@
-6793,6
+6805,10
@@
$wgRCWatchCategoryMembership = false;
/**
* Use RC Patrolling to check for vandalism (from recent changes and watchlists)
* New pages and new files are included.
/**
* 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;
*/
$wgUseRCPatrol = true;
@@
-6824,12
+6840,20
@@
$wgStructuredChangeFiltersLiveUpdatePollingRate = 3;
/**
* Use new page patrolling to check new pages on Special:Newpages
/**
* 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
*
*/
$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;
* @since 1.27
*/
$wgUseFilePatrol = true;