Merge "Set threshold for is a tablet in LESS variable"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 27 Jan 2016 01:13:44 +0000 (01:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 27 Jan 2016 01:13:44 +0000 (01:13 +0000)
includes/DefaultSettings.php

index a22a29d..00a5709 100644 (file)
@@ -3688,7 +3688,15 @@ $wgResourceLoaderValidateStaticJS = false;
  * @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