r112890 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112889‎ | r112890 | r112891 >
Date:13:29, 2 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/DeviceDetection.php
@@ -43,18 +43,6 @@
4444 'parser' => 'html',
4545 'disable_links' => true,
4646 ),
47 - 'simplehtml' => array (
48 - 'view_format' => 'html',
49 - 'search_bar' => 'simple',
50 - 'footmenu' => 'simple',
51 - 'with_layout' => 'application',
52 - 'css_file_name' => 'simple',
53 - 'supports_javascript' => false,
54 - 'supports_jquery' => false,
55 - 'disable_zoom' => true,
56 - 'parser' => 'html',
57 - 'disable_links' => true,
58 - ),
5947 'webkit' => array (
6048 'view_format' => 'html',
6149 'search_bar' => 'webkit',
@@ -67,18 +55,6 @@
6856 'parser' => 'html',
6957 'disable_links' => true,
7058 ),
71 - 'webkit_old' => array (
72 - 'view_format' => 'html',
73 - 'search_bar' => 'default',
74 - 'footmenu' => 'default',
75 - 'with_layout' => 'application',
76 - 'css_file_name' => 'webkit_old',
77 - 'supports_javascript' => true,
78 - 'supports_jquery' => false,
79 - 'disable_zoom' => true,
80 - 'parser' => 'html',
81 - 'disable_links' => true,
82 - ),
8359 'android' => array (
8460 'view_format' => 'html',
8561 'search_bar' => 'default',

Status & tagging log