Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/66162


Change subject: Bug 48514: Always redirect to desktop when hitting history url
......................................................................

Bug 48514: Always redirect to desktop when hitting history url

Add FIXME suggestion - this should probably in future redirect to
the latest diff

Change-Id: Ibc3328b30433348d012d5089cb1eda144a7d04bb
---
M includes/MobileContext.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/62/66162/1

diff --git a/includes/MobileContext.php b/includes/MobileContext.php
index c46aa6f..49e67f0 100644
--- a/includes/MobileContext.php
+++ b/includes/MobileContext.php
@@ -262,7 +262,8 @@
 
                // FIXME: remove when editor moves to stable
                if ( ( $action === 'edit' && $stableMode ) ||
-                        ( $action === 'history' && $stableMode ) ) {
+                       // FIXME: redirect to last diff ?
+                        ( $action === 'history' ) ) {
                        return false;
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/66162
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc3328b30433348d012d5089cb1eda144a7d04bb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to