Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -285,6 +285,7 @@ |
286 | 286 | $disableButton = self::$messages['mobile-frontend-disable-button']; |
287 | 287 | $backButton = self::$messages['mobile-frontend-back-button']; |
288 | 288 | $htmlTitle = $areYouSure; |
| 289 | + $title = $areYouSure; |
289 | 290 | $cssFileName = ( isset( self::$device['css_file_name'] ) ) ? self::$device['css_file_name'] : 'default'; |
290 | 291 | require( 'views/notices/_donate.html.php' ); |
291 | 292 | require( 'views/layout/_search_webkit.html.php' ); |
— | — | @@ -505,10 +506,6 @@ |
506 | 507 | |
507 | 508 | $contentHtml = $this->doc->saveXML( $content, LIBXML_NOEMPTYTAG ); |
508 | 509 | |
509 | | - if ( empty( $title ) ) { |
510 | | - $title = $wgSitename; |
511 | | - } |
512 | | - |
513 | 510 | $dir = self::$dir; |
514 | 511 | $code = self::$code; |
515 | 512 | $regularSite = self::$messages['mobile-frontend-regular-site']; |