https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112329
Revision: 112329
Author: jdlrobson
Date: 2012-02-24 16:10:24 +0000 (Fri, 24 Feb 2012)
Log Message:
-----------
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: trunk/extensions/MobileFrontend/MobileFrontend.body.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.body.php 2012-02-24
15:54:33 UTC (rev 112328)
+++ trunk/extensions/MobileFrontend/MobileFrontend.body.php 2012-02-24
16:10:24 UTC (rev 112329)
@@ -394,7 +394,7 @@
wfProfileOut( __METHOD__ );
return true;
}
- if ( $action === 'edit' ||
+ if ( $action === 'edit' || $action === 'history' ||
$mobileAction === 'view_normal_site' ) {
wfProfileOut( __METHOD__ );
return true;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs