MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/55387
Change subject: Alphasort devices
......................................................................
Alphasort devices
Change-Id: I4c4c6b8c730efa458d63d95c792525a5d7c6102f
---
M includes/DeviceDetection.php
1 file changed, 133 insertions(+), 133 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/87/55387/1
diff --git a/includes/DeviceDetection.php b/includes/DeviceDetection.php
index 434fe7a..6469a73 100644
--- a/includes/DeviceDetection.php
+++ b/includes/DeviceDetection.php
@@ -211,139 +211,139 @@
class DeviceDetection implements IDeviceDetector {
private static $formats = array (
- 'html' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'capable' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => true,
- 'disable_zoom' => true,
- ),
- 'webkit' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => true,
- 'disable_zoom' => false,
- ),
- 'ie' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'ie',
- 'supports_jquery' => true,
- 'disable_zoom' => false,
- ),
- 'android' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => true,
- 'disable_zoom' => false,
- ),
- 'iphone' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'iphone',
- 'supports_jquery' => true,
- 'disable_zoom' => false,
- ),
- 'iphone2' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => true,
- 'disable_zoom' => true,
- ),
- 'native_iphone' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => true,
- 'disable_zoom' => false,
- ),
- 'palm_pre' => array (
- 'view_format' => 'html',
- 'css_file_name' => '',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'kindle' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'kindle',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'kindle2' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'kindle',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'blackberry' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'blackberry',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'blackberry-lt5' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'blackberry',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'netfront' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'simple',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'wap2' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'simple',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'psp' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'psp',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'ps3' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'simple',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'wii' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'wii',
- 'supports_jquery' => true,
- 'disable_zoom' => true,
- ),
- 'operamini' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'operamini',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'operamobile' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'operamobile',
- 'supports_jquery' => true,
- 'disable_zoom' => true,
- ),
- 'nokia' => array (
- 'view_format' => 'html',
- 'css_file_name' => 'nokia',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- 'wml' => array (
- 'view_format' => 'wml',
- 'css_file_name' => '',
- 'supports_jquery' => false,
- 'disable_zoom' => true,
- ),
- );
+ 'android' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => true,
+ 'disable_zoom' => false,
+ ),
+ 'blackberry' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'blackberry',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'blackberry-lt5' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'blackberry',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'capable' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => true,
+ 'disable_zoom' => true,
+ ),
+ 'html' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'ie' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'ie',
+ 'supports_jquery' => true,
+ 'disable_zoom' => false,
+ ),
+ 'iphone' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'iphone',
+ 'supports_jquery' => true,
+ 'disable_zoom' => false,
+ ),
+ 'iphone2' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => true,
+ 'disable_zoom' => true,
+ ),
+ 'kindle' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'kindle',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'kindle2' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'kindle',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'native_iphone' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => true,
+ 'disable_zoom' => false,
+ ),
+ 'netfront' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'simple',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'nokia' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'nokia',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'operamini' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'operamini',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'operamobile' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'operamobile',
+ 'supports_jquery' => true,
+ 'disable_zoom' => true,
+ ),
+ 'palm_pre' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'ps3' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'simple',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'psp' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'psp',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'wap2' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'simple',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ 'webkit' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => '',
+ 'supports_jquery' => true,
+ 'disable_zoom' => false,
+ ),
+ 'wii' => array (
+ 'view_format' => 'html',
+ 'css_file_name' => 'wii',
+ 'supports_jquery' => true,
+ 'disable_zoom' => true,
+ ),
+ 'wml' => array (
+ 'view_format' => 'wml',
+ 'css_file_name' => '',
+ 'supports_jquery' => false,
+ 'disable_zoom' => true,
+ ),
+ );
/**
* Returns an instance of detection class, overridable by extensions
--
To view, visit https://gerrit.wikimedia.org/r/55387
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c4c6b8c730efa458d63d95c792525a5d7c6102f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits