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

Revision: 88100
Author:   siebrand
Date:     2011-05-14 16:01:15 +0000 (Sat, 14 May 2011)
Log Message:
-----------
Remove special case for IE on Mac. No longer supported. Also fixes bug 28937: 
The /* Empty */ comment inserted by RawPage::getArticleText should be 
localizable.

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

Modified: trunk/phase3/includes/RawPage.php
===================================================================
--- trunk/phase3/includes/RawPage.php   2011-05-14 15:49:57 UTC (rev 88099)
+++ trunk/phase3/includes/RawPage.php   2011-05-14 16:01:15 UTC (rev 88100)
@@ -220,20 +220,6 @@
                        header( 'HTTP/1.0 404 Not Found' );
                }
 
-               // Special-case for empty CSS/JS
-               //
-               // Internet Explorer for Mac handles empty files badly;
-               // particularly so when keep-alive is active. It can lead
-               // to long timeouts as it seems to sit there waiting for
-               // more data that never comes.
-               //
-               // Give it a comment...
-               if( strlen( $text ) == 0 &&
-                       ( $this->mContentType == 'text/css' ||
-                               $this->mContentType == 'text/javascript' ) ) {
-                       return '/* Empty */';
-               }
-
                return $this->parseArticleText( $text );
        }
 


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

Reply via email to