http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83584

Revision: 83584
Author:   catrope
Date:     2011-03-09 12:42:56 +0000 (Wed, 09 Mar 2011)
Log Message:
-----------
Fix syntax error in r83579

Modified Paths:
--------------
    branches/wmf/1.17wmf1/extensions/WikimediaMobile/MobileRedirect.js
    branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.php

Modified: branches/wmf/1.17wmf1/extensions/WikimediaMobile/MobileRedirect.js
===================================================================
--- branches/wmf/1.17wmf1/extensions/WikimediaMobile/MobileRedirect.js  
2011-03-09 12:30:08 UTC (rev 83583)
+++ branches/wmf/1.17wmf1/extensions/WikimediaMobile/MobileRedirect.js  
2011-03-09 12:42:56 UTC (rev 83584)
@@ -14,7 +14,7 @@
        && (wgAction == "view"))                    // Don't redirect URLs that 
aren't simple page views 
        */
        && (!document.getElementsByClassName || 
document.getElementsByClassName( 'ns--1' ).length == 0)
-       && (document.location.href.indexOf( 'action=' ) == -1 || 
document.location.href.indexOf( 'action=view' ) != -1 )
+       && (document.location.href.indexOf( 'action=' ) == -1 || 
document.location.href.indexOf( 'action=view' ) != -1  ))
   {
   
     // If we've made it here, then we are going ahead with the redirect

Modified: branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.php
===================================================================
--- branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.php        
2011-03-09 12:30:08 UTC (rev 83583)
+++ branches/wmf/1.17wmf1/extensions/WikimediaMobile/WikimediaMobile.php        
2011-03-09 12:42:56 UTC (rev 83584)
@@ -19,7 +19,7 @@
 /**
  * Increment this when the JS file changes
  */
-$wgWikimediaMobileVersion = '5';
+$wgWikimediaMobileVersion = '6';
 
 /**
  * The base URL of the mobile gateway


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to