r94173 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94172‎ | r94173 | r94174 >
Date:17:42, 10 August 2011
Author:preilly
Status:ok
Tags:
Comment:
fix disable mobile site view
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -49,7 +49,7 @@
5050 $wgHooks['SkinTemplateOutputPageBeforeExec'][] = array( &$wgExtMobileFrontend, 'addMobileFooter' );
5151
5252 class ExtMobileFrontend {
53 - const VERSION = '0.5.10';
 53+ const VERSION = '0.5.11';
5454
5555 /**
5656 * @var DOMDocument
@@ -309,6 +309,7 @@
310310
311311 private function renderDisableMobileSiteXHTML() {
312312 if ( $this->contentFormat == 'XHTML' ) {
 313+ $this->getMsg();
313314 $dir = self::$dir;
314315 $code = self::$code;
315316 $regularSite = self::$messages['mobile-frontend-regular-site'];

Status & tagging log