r105686 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105685‎ | r105686 | r105687 >
Date:18:38, 9 December 2011
Author:preilly
Status:ok
Tags:
Comment:
add "supports_jquery" key
Modified paths:
  • /trunk/extensions/MobileFrontend/DeviceDetection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/DeviceDetection.php
@@ -26,6 +26,7 @@
2727 'with_layout' => 'application',
2828 'css_file_name' => 'default',
2929 'supports_javascript' => false,
 30+ 'supports_jquery' => false,
3031 'disable_zoom' => true,
3132 'parser' => 'html',
3233 'disable_links' => true,
@@ -37,6 +38,7 @@
3839 'with_layout' => 'application',
3940 'css_file_name' => 'default',
4041 'supports_javascript' => true,
 42+ 'supports_jquery' => false,
4143 'disable_zoom' => true,
4244 'parser' => 'html',
4345 'disable_links' => true,
@@ -48,6 +50,7 @@
4951 'with_layout' => 'application',
5052 'css_file_name' => 'simple',
5153 'supports_javascript' => false,
 54+ 'supports_jquery' => false,
5255 'disable_zoom' => true,
5356 'parser' => 'html',
5457 'disable_links' => true,
@@ -59,6 +62,7 @@
6063 'with_layout' => 'application',
6164 'css_file_name' => 'webkit',
6265 'supports_javascript' => true,
 66+ 'supports_jquery' => false,
6367 'disable_zoom' => true,
6468 'parser' => 'html',
6569 'disable_links' => true,
@@ -70,6 +74,7 @@
7175 'with_layout' => 'application',
7276 'css_file_name' => 'webkit_old',
7377 'supports_javascript' => true,
 78+ 'supports_jquery' => false,
7479 'disable_zoom' => true,
7580 'parser' => 'html',
7681 'disable_links' => true,
@@ -81,6 +86,7 @@
8287 'with_layout' => 'application',
8388 'css_file_name' => 'android',
8489 'supports_javascript' => true,
 90+ 'supports_jquery' => true,
8591 'disable_zoom' => false,
8692 'parser' => 'html',
8793 'disable_links' => true,
@@ -92,6 +98,7 @@
9399 'with_layout' => 'application',
94100 'css_file_name' => 'iphone',
95101 'supports_javascript' => true,
 102+ 'supports_jquery' => true,
96103 'disable_zoom' => true,
97104 'parser' => 'html',
98105 'disable_links' => true,
@@ -103,6 +110,7 @@
104111 'with_layout' => 'application',
105112 'css_file_name' => 'iphone2',
106113 'supports_javascript' => true,
 114+ 'supports_jquery' => true,
107115 'disable_zoom' => true,
108116 'parser' => 'html',
109117 'disable_links' => true,
@@ -114,6 +122,7 @@
115123 'with_layout' => 'application',
116124 'css_file_name' => 'default',
117125 'supports_javascript' => true,
 126+ 'supports_jquery' => true,
118127 'disable_zoom' => true,
119128 'parser' => 'html',
120129 'disable_links' => false,
@@ -125,6 +134,7 @@
126135 'with_layout' => 'application',
127136 'css_file_name' => 'palm_pre',
128137 'supports_javascript' => true,
 138+ 'supports_jquery' => false,
129139 'disable_zoom' => true,
130140 'parser' => 'html',
131141 'disable_links' => true,
@@ -136,6 +146,7 @@
137147 'with_layout' => 'application',
138148 'css_file_name' => 'kindle',
139149 'supports_javascript' => false,
 150+ 'supports_jquery' => false,
140151 'disable_zoom' => true,
141152 'parser' => 'html',
142153 'disable_links' => true,
@@ -147,6 +158,7 @@
148159 'with_layout' => 'application',
149160 'css_file_name' => 'kindle',
150161 'supports_javascript' => false,
 162+ 'supports_jquery' => false,
151163 'disable_zoom' => true,
152164 'parser' => 'html',
153165 'disable_links' => true,
@@ -158,6 +170,7 @@
159171 'with_layout' => 'application',
160172 'css_file_name' => 'blackberry',
161173 'supports_javascript' => false,
 174+ 'supports_jquery' => false,
162175 'disable_zoom' => true,
163176 'parser' => 'html',
164177 'disable_links' => true,
@@ -169,6 +182,7 @@
170183 'with_layout' => 'application',
171184 'css_file_name' => 'simple',
172185 'supports_javascript' => false,
 186+ 'supports_jquery' => false,
173187 'disable_zoom' => true,
174188 'parser' => 'html',
175189 'disable_links' => true,
@@ -180,6 +194,7 @@
181195 'with_layout' => 'application',
182196 'css_file_name' => 'simple',
183197 'supports_javascript' => false,
 198+ 'supports_jquery' => false,
184199 'disable_zoom' => true,
185200 'parser' => 'html',
186201 'disable_links' => true,
@@ -191,6 +206,7 @@
192207 'with_layout' => 'application',
193208 'css_file_name' => 'psp',
194209 'supports_javascript' => false,
 210+ 'supports_jquery' => false,
195211 'disable_zoom' => true,
196212 'parser' => 'html',
197213 'disable_links' => true,
@@ -202,6 +218,7 @@
203219 'with_layout' => 'application',
204220 'css_file_name' => 'simple',
205221 'supports_javascript' => false,
 222+ 'supports_jquery' => false,
206223 'disable_zoom' => true,
207224 'parser' => 'html',
208225 'disable_links' => true,
@@ -213,6 +230,7 @@
214231 'with_layout' => 'application',
215232 'css_file_name' => 'wii',
216233 'supports_javascript' => true,
 234+ 'supports_jquery' => false,
217235 'disable_zoom' => true,
218236 'parser' => 'html',
219237 'disable_links' => true,
@@ -224,6 +242,7 @@
225243 'with_layout' => 'application',
226244 'css_file_name' => 'operamini',
227245 'supports_javascript' => false,
 246+ 'supports_jquery' => false,
228247 'disable_zoom' => true,
229248 'parser' => 'html',
230249 'disable_links' => true,
@@ -235,6 +254,7 @@
236255 'with_layout' => 'application',
237256 'css_file_name' => 'nokia',
238257 'supports_javascript' => true,
 258+ 'supports_jquery' => false,
239259 'disable_zoom' => true,
240260 'parser' => 'html',
241261 'disable_links' => true,
@@ -243,6 +263,7 @@
244264 'view_format' => 'wml',
245265 'search_bar' => 'wml',
246266 'supports_javascript' => false,
 267+ 'supports_jquery' => false,
247268 'parser' => 'wml',
248269 ),
249270 );

Status & tagging log