https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112890

Revision: 112890
Author:   jdlrobson
Date:     2012-03-02 13:29:17 +0000 (Fri, 02 Mar 2012)
Log Message:
-----------
remove unused formats

the formatName function never returns formats
by these names so removing this redundant code

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/DeviceDetection.php

Modified: trunk/extensions/MobileFrontend/DeviceDetection.php
===================================================================
--- trunk/extensions/MobileFrontend/DeviceDetection.php 2012-03-02 13:28:09 UTC 
(rev 112889)
+++ trunk/extensions/MobileFrontend/DeviceDetection.php 2012-03-02 13:29:17 UTC 
(rev 112890)
@@ -43,18 +43,6 @@
                                'parser' => 'html',
                                'disable_links' => true,
                        ),
-                       'simplehtml' => array (
-                               'view_format' => 'html',
-                               'search_bar' => 'simple',
-                               'footmenu' => 'simple',
-                               'with_layout' => 'application',
-                               'css_file_name' => 'simple',
-                               'supports_javascript' => false,
-                               'supports_jquery' => false,
-                               'disable_zoom' => true,
-                               'parser' => 'html',
-                               'disable_links' => true,
-                       ),
                        'webkit' => array (
                                'view_format' => 'html',
                                'search_bar' => 'webkit',
@@ -67,18 +55,6 @@
                                'parser' => 'html',
                                'disable_links' => true,
                        ),
-                       'webkit_old' => array (
-                               'view_format' => 'html',
-                               'search_bar' => 'default',
-                               'footmenu' => 'default',
-                               'with_layout' => 'application',
-                               'css_file_name' => 'webkit_old',
-                               'supports_javascript' => true,
-                               'supports_jquery' => false,
-                               'disable_zoom' => true,
-                               'parser' => 'html',
-                               'disable_links' => true,
-                       ),
                        'android' => array (
                                'view_format' => 'html',
                                'search_bar' => 'default',


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to