Html escape the timestamp in Special:Undelete
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 3ca8d8c..040f1ce 100644 (file)
@@ -290,6 +290,17 @@ $wgLogo = false;
  * ];
  * @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;
@@ -2980,46 +2991,9 @@ $wgAllUnicodeFixes = false;
 $wgLegacyEncoding = false;
 
 /**
- * Browser Blacklist for unicode non compliant browsers. Contains a list of
- * regexps : "/regexp/"  matching problematic browsers. These browsers will
- * be served encoded unicode in the edit box instead of real unicode.
+ * @deprecated since 1.30, does nothing
  */
-$wgBrowserBlackList = [
-       /**
-        * Netscape 2-4 detection
-        * The minor version may contain strings such as "Gold" or "SGoldC-SGI"
-        * Lots of non-netscape user agents have "compatible", so it's useful to check for that
-        * with a negative assertion. The [UIN] identifier specifies the level of security
-        * in a Netscape/Mozilla browser, checking for it rules out a number of fakers.
-        * The language string is unreliable, it is missing on NS4 Mac.
-        *
-        * Reference: http://www.psychedelix.com/agents/index.shtml
-        */
-       '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
-       '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
-       '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
-
-       /**
-        * MSIE on Mac OS 9 is teh sux0r, converts þ to <thorn>, ð to <eth>,
-        * Þ to <THORN> and Ð to <ETH>
-        *
-        * Known useragents:
-        * - Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)
-        * - Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)
-        * - Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
-        * - [...]
-        *
-        * @link https://en.wikipedia.org/w/index.php?diff=12356041&oldid=12355864
-        * @link https://en.wikipedia.org/wiki/Template%3AOS9
-        */
-       '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
-
-       /**
-        * Google wireless transcoder, seems to eat a lot of chars alive
-        * https://it.wikipedia.org/w/index.php?title=Luciano_Ligabue&diff=prev&oldid=8857361
-        */
-       '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
-];
+$wgBrowserBlackList = [];
 
 /**
  * If set to true, the MediaWiki 1.4 to 1.5 schema conversion will
@@ -3733,16 +3707,6 @@ $wgResourceLoaderMinifierMaxLineLength = 1000;
  */
 $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.
  *
@@ -6183,8 +6147,8 @@ $wgTrxProfilerLimits = [
                'writes' => 0,
                'readQueryTime' => 5
        ],
-       // Deferred updates that run after HTTP response is sent
-       'PostSend' => [
+       // Deferred updates that run after HTTP response is sent for GET requests
+       'PostSend-GET' => [
                'readQueryTime' => 5,
                'writeQueryTime' => 1,
                'maxAffected' => 1000,
@@ -6192,6 +6156,12 @@ $wgTrxProfilerLimits = [
                'masterConns' => 0,
                'writes' => 0,
        ],
+       // Deferred updates that run after HTTP response is sent for POST requests
+       'PostSend-POST' => [
+               'readQueryTime' => 5,
+               'writeQueryTime' => 1,
+               'maxAffected' => 1000
+       ],
        // Background job runner
        'JobRunner' => [
                'readQueryTime' => 30,
@@ -6849,14 +6819,6 @@ $wgUseRCPatrol = true;
  */
 $wgStructuredChangeFiltersShowPreference = false;
 
-/**
- * Whether to show the new experimental views (like namespaces, tags, and users) in
- * RecentChanges filters
- *
- * Temporary variable during development and will be removed.
- */
-$wgStructuredChangeFiltersEnableExperimentalViews = false;
-
 /**
  * Whether to enable RCFilters app on Special:Watchlist
  *
@@ -7992,6 +7954,8 @@ $wgExemptFromUserRobotsControl = null;
  * machine-readable data via api.php
  *
  * See https://www.mediawiki.org/wiki/API
+ *
+ * @deprecated since 1.31
  */
 $wgEnableAPI = true;
 
@@ -7999,6 +7963,8 @@ $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;