Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' ); |
51 | 51 | |
52 | 52 | class ExtMobileFrontend { |
53 | | - const VERSION = '0.5.19'; |
| 53 | + const VERSION = '0.5.20'; |
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @var DOMDocument |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | self::$format = $wgRequest->getText( 'format' ); |
227 | 227 | self::$requestedSegment = $wgRequest->getText( 'seg', 0 ); |
228 | 228 | self::$search = $wgRequest->getText( 'search' ); |
229 | | - self::$callback = $wgRequest->getText( 'callback' ); |
| 229 | + self::$callback = $wgRequest->getText( 'callback' ); |
230 | 230 | |
231 | 231 | $acceptHeader = $_SERVER["HTTP_ACCEPT"]; |
232 | 232 | $device = new DeviceDetection(); |
— | — | @@ -356,17 +356,17 @@ |
357 | 357 | $this->getMsg(); |
358 | 358 | $dir = self::$dir; |
359 | 359 | $code = self::$code; |
360 | | - $regularSite = self::$messages['mobile-frontend-regular-site']; |
361 | | - $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
362 | | - $copyright = self::$messages['mobile-frontend-copyright']; |
363 | | - $homeButton = self::$messages['mobile-frontend-home-button']; |
364 | | - $randomButton = self::$messages['mobile-frontend-random-button']; |
365 | | - $yesButton = self::$messages['mobile-frontend-opt-in-yes-button']; |
366 | | - $noButton = self::$messages['mobile-frontend-opt-in-no-button']; |
367 | | - $htmlTitle = self::$messages['mobile-frontend-opt-in-title']; |
368 | | - $explainOptIn = self::$messages['mobile-frontend-opt-in-explain']; |
369 | | - $disableImages = self::$messages['mobile-frontend-disable-images']; |
370 | | - $optInMessage = self::$messages['mobile-frontend-opt-in-message']; |
| 360 | + $regularSite = self::$messages['mobile-frontend-regular-site']; |
| 361 | + $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
| 362 | + $copyright = self::$messages['mobile-frontend-copyright']; |
| 363 | + $homeButton = self::$messages['mobile-frontend-home-button']; |
| 364 | + $randomButton = self::$messages['mobile-frontend-random-button']; |
| 365 | + $yesButton = self::$messages['mobile-frontend-opt-in-yes-button']; |
| 366 | + $noButton = self::$messages['mobile-frontend-opt-in-no-button']; |
| 367 | + $htmlTitle = self::$messages['mobile-frontend-opt-in-title']; |
| 368 | + $explainOptIn = self::$messages['mobile-frontend-opt-in-explain']; |
| 369 | + $disableImages = self::$messages['mobile-frontend-disable-images']; |
| 370 | + $optInMessage = self::$messages['mobile-frontend-opt-in-message']; |
371 | 371 | $cssFileName = ( isset( self::$device['css_file_name'] ) ) ? self::$device['css_file_name'] : 'default'; |
372 | 372 | require( 'views/layout/_search_webkit.html.php' ); |
373 | 373 | require( 'views/layout/_footmenu_default.html.php' ); |
— | — | @@ -383,17 +383,17 @@ |
384 | 384 | $this->getMsg(); |
385 | 385 | $dir = self::$dir; |
386 | 386 | $code = self::$code; |
387 | | - $regularSite = self::$messages['mobile-frontend-regular-site']; |
388 | | - $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
389 | | - $copyright = self::$messages['mobile-frontend-copyright']; |
390 | | - $homeButton = self::$messages['mobile-frontend-home-button']; |
391 | | - $randomButton = self::$messages['mobile-frontend-random-button']; |
392 | | - $yesButton = self::$messages['mobile-frontend-opt-out-yes-button']; |
393 | | - $noButton = self::$messages['mobile-frontend-opt-out-no-button']; |
394 | | - $htmlTitle = self::$messages['mobile-frontend-opt-out-title']; |
395 | | - $explainOptOut = self::$messages['mobile-frontend-opt-out-explain']; |
396 | | - $optOutMessage = self::$messages['mobile-frontend-opt-out-message']; |
397 | | - $disableImages = self::$messages['mobile-frontend-disable-images']; |
| 387 | + $regularSite = self::$messages['mobile-frontend-regular-site']; |
| 388 | + $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
| 389 | + $copyright = self::$messages['mobile-frontend-copyright']; |
| 390 | + $homeButton = self::$messages['mobile-frontend-home-button']; |
| 391 | + $randomButton = self::$messages['mobile-frontend-random-button']; |
| 392 | + $yesButton = self::$messages['mobile-frontend-opt-out-yes-button']; |
| 393 | + $noButton = self::$messages['mobile-frontend-opt-out-no-button']; |
| 394 | + $htmlTitle = self::$messages['mobile-frontend-opt-out-title']; |
| 395 | + $explainOptOut = self::$messages['mobile-frontend-opt-out-explain']; |
| 396 | + $optOutMessage = self::$messages['mobile-frontend-opt-out-message']; |
| 397 | + $disableImages = self::$messages['mobile-frontend-disable-images']; |
398 | 398 | $cssFileName = ( isset( self::$device['css_file_name'] ) ) ? self::$device['css_file_name'] : 'default'; |
399 | 399 | require( 'views/layout/_search_webkit.html.php' ); |
400 | 400 | require( 'views/layout/_footmenu_default.html.php' ); |
— | — | @@ -410,16 +410,16 @@ |
411 | 411 | $this->getMsg(); |
412 | 412 | $dir = self::$dir; |
413 | 413 | $code = self::$code; |
414 | | - $regularSite = self::$messages['mobile-frontend-regular-site']; |
415 | | - $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
416 | | - $copyright = self::$messages['mobile-frontend-copyright']; |
417 | | - $homeButton = self::$messages['mobile-frontend-home-button']; |
418 | | - $randomButton = self::$messages['mobile-frontend-random-button']; |
419 | | - $areYouSure = self::$messages['mobile-frontend-are-you-sure']; |
420 | | - $explainDisable = self::$messages['mobile-frontend-explain-disable']; |
421 | | - $disableButton = self::$messages['mobile-frontend-disable-button']; |
422 | | - $backButton = self::$messages['mobile-frontend-back-button']; |
423 | | - $disableImages = self::$messages['mobile-frontend-disable-images']; |
| 414 | + $regularSite = self::$messages['mobile-frontend-regular-site']; |
| 415 | + $permStopRedirect = self::$messages['mobile-frontend-perm-stop-redirect']; |
| 416 | + $copyright = self::$messages['mobile-frontend-copyright']; |
| 417 | + $homeButton = self::$messages['mobile-frontend-home-button']; |
| 418 | + $randomButton = self::$messages['mobile-frontend-random-button']; |
| 419 | + $areYouSure = self::$messages['mobile-frontend-are-you-sure']; |
| 420 | + $explainDisable = self::$messages['mobile-frontend-explain-disable']; |
| 421 | + $disableButton = self::$messages['mobile-frontend-disable-button']; |
| 422 | + $backButton = self::$messages['mobile-frontend-back-button']; |
| 423 | + $disableImages = self::$messages['mobile-frontend-disable-images']; |
424 | 424 | $htmlTitle = $areYouSure; |
425 | 425 | $title = $areYouSure; |
426 | 426 | $cssFileName = ( isset( self::$device['css_file_name'] ) ) ? self::$device['css_file_name'] : 'default'; |