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

Revision: 88110
Author:   ialex
Date:     2011-05-14 17:02:37 +0000 (Sat, 14 May 2011)
Log Message:
-----------
Follow-up r87589: let's simplify this a bit :P

Modified Paths:
--------------
    trunk/phase3/includes/OutputPage.php

Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php        2011-05-14 16:54:22 UTC (rev 
88109)
+++ trunk/phase3/includes/OutputPage.php        2011-05-14 17:02:37 UTC (rev 
88110)
@@ -1912,22 +1912,12 @@
        }
 
        /**
-        * Actually output something with print(). Performs an iconv to the
-        * output encoding, if needed.
+        * Actually output something with print().
         *
         * @param $ins String: the string to output
         */
        public function out( $ins ) {
-               global $wgContLang;
-               if ( 0 == strcmp( 'UTF-8', 'UTF-8' ) ) {
-                       $outs = $ins;
-               } else {
-                       $outs = $wgContLang->iconv( 'UTF-8', 'UTF-8', $ins );
-                       if ( false === $outs ) {
-                               $outs = $ins;
-                       }
-               }
-               print $outs;
+               print $ins;
        }
 
        /**


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

Reply via email to