r98462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98461‎ | r98462 | r98463 >
Date:21:31, 29 September 2011
Author:preilly
Status:ok (Comments)
Tags:
Comment:
view_normal_site mobile action is no longer needed
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -84,7 +84,7 @@
8585 }
8686
8787 class ExtMobileFrontend {
88 - const VERSION = '0.5.74';
 88+ const VERSION = '0.5.75';
8989
9090 /**
9191 * @var DOMDocument
@@ -484,8 +484,7 @@
485485 if ( self::$useFormat === 'mobile' ||
486486 self::$useFormat === 'mobile-wap' ||
487487 !empty( $xDevice ) ) {
488 - if ( $action !== 'edit' &&
489 - $mobileAction !== 'view_normal_site' ) {
 488+ if ( $action !== 'edit' ) {
490489 $this->getMsg();
491490 $this->disableCaching();
492491 $this->sendXDeviceVaryHeader();

Follow-up revisions

RevisionCommit summaryAuthorDate
r98549mft r98462 r98547preilly18:55, 30 September 2011
r98550mft r98462 r98547preilly18:55, 30 September 2011

Comments

#Comment by G.Hagedorn (talk | contribs)   23:20, 30 September 2011

may need 1.18 tag?

#Comment by Preilly (talk | contribs)   23:21, 30 September 2011

Done.

Status & tagging log