r112329 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112328‎ | r112329 | r112330 >
Date:16:10, 24 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
fix for bug 31148

when user tries to view history on mobile site
revert to normal site
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php
@@ -394,7 +394,7 @@
395395 wfProfileOut( __METHOD__ );
396396 return true;
397397 }
398 - if ( $action === 'edit' ||
 398+ if ( $action === 'edit' || $action === 'history' ||
399399 $mobileAction === 'view_normal_site' ) {
400400 wfProfileOut( __METHOD__ );
401401 return true;

Status & tagging log