https://www.mediawiki.org/wiki/Special:Code/MediaWiki/106301

Revision: 106301
Author:   preilly
Date:     2011-12-15 01:55:51 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
1.18wmf1: MFT r106300

Modified Paths:
--------------
    branches/wmf/1.18wmf1/extensions/MobileFrontend/ApplicationTemplate.php
    
branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/beta_opensearch.js

Modified: 
branches/wmf/1.18wmf1/extensions/MobileFrontend/ApplicationTemplate.php
===================================================================
--- branches/wmf/1.18wmf1/extensions/MobileFrontend/ApplicationTemplate.php     
2011-12-15 01:55:12 UTC (rev 106300)
+++ branches/wmf/1.18wmf1/extensions/MobileFrontend/ApplicationTemplate.php     
2011-12-15 01:55:51 UTC (rev 106301)
@@ -24,7 +24,7 @@
                $endScriptTag = '"></script>';
                $javaScriptPath =  $this->data['wgExtensionAssetsPath'] . 
'/MobileFrontend/javascripts/';
 
-               $openSearchScript = $startScriptTag . $javaScriptPath . 
$betaPrefix . 'opensearch.js?version=12012011126437' . $endScriptTag;
+               $openSearchScript = $startScriptTag . $javaScriptPath . 
$betaPrefix . 'opensearch.js?version=12142011126437' . $endScriptTag;
                $jQueryScript = ( $this->data['device']['supports_jquery'] ) ? 
$startScriptTag . $javaScriptPath . 'jquery-1.7.1.min.js' . $endScriptTag : '';
                $filePageScript = ( $this->data['isFilePage'] ) ? 
$startScriptTag . $javaScriptPath . 'filepage.js' . $endScriptTag : '';
 

Modified: 
branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/beta_opensearch.js
===================================================================
--- 
branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/beta_opensearch.js  
    2011-12-15 01:55:12 UTC (rev 106300)
+++ 
branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/beta_opensearch.js  
    2011-12-15 01:55:51 UTC (rev 106301)
@@ -110,6 +110,12 @@
        if ( footer ) {
                footer.style.display = 'block';
        }
+       
+       var pE = document.getElementById( 'placeholder' );
+       if ( pE ) {
+               pE.style.display = 'none';
+       }
+       
        if ( ol ) {
                if ( sq ) {
                        logo.style.visibility = 'visible';


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

Reply via email to