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

Revision: 113489
Author:   awjrichards
Date:     2012-03-09 17:39:21 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
MFT r113488

Modified Paths:
--------------
    
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php

Property Changed:
----------------
    
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php

Modified: 
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php
===================================================================
--- 
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php
   2012-03-09 17:30:07 UTC (rev 113488)
+++ 
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php
   2012-03-09 17:39:21 UTC (rev 113489)
@@ -40,8 +40,8 @@
                $startLinkTag = "<link 
href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/";
                $endLinkTag = "' media='all' rel='Stylesheet' type='text/css' 
/>";
                $filePageStyle = ( $this->data['isFilePage'] ) ? $startLinkTag 
. 'filepage.css' . $endLinkTag : '';
-               $buttonHideText = htmlentities( $this->data['hideText'], 
ENT_QUOTES );
-               $buttonShowText = htmlentities( $this->data['showText'], 
ENT_QUOTES );
+               $buttonHideText = Xml::escapeJsString( $this->data['hideText'] 
);
+               $buttonShowText = Xml::escapeJsString( $this->data['showText'] 
);
 
 
                $applicationHtml = <<<HTML


Property changes on: 
branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php
___________________________________________________________________
Modified: svn:mergeinfo
   - 
/trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php:99727,113428,113442,113444,113447
   + 
/trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php:99727,113428,113442,113444,113447,113488


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

Reply via email to