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

Revision: 97787
Author:   tstarling
Date:     2011-09-22 03:44:42 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
MFT r97785: fix fallback to client-side scaling occurring on 1.18 wikis such as 
mediawiki.org

Modified Paths:
--------------
    branches/wmf/1.18wmf1/includes/media/Bitmap.php

Property Changed:
----------------
    branches/wmf/1.18wmf1/includes/media/Bitmap.php

Modified: branches/wmf/1.18wmf1/includes/media/Bitmap.php
===================================================================
--- branches/wmf/1.18wmf1/includes/media/Bitmap.php     2011-09-22 03:42:14 UTC 
(rev 97786)
+++ branches/wmf/1.18wmf1/includes/media/Bitmap.php     2011-09-22 03:44:42 UTC 
(rev 97787)
@@ -223,13 +223,6 @@
                } else {
                        $scaler = 'client';
                }
-
-               if ( $scaler != 'client' && $dstPath ) {
-                       if ( !wfMkdirParents( dirname( $dstPath ) ) ) {
-                               # Unable to create a path for the thumbnail
-                               return 'client';
-                       }
-               }
                return $scaler;
        }
 


Property changes on: branches/wmf/1.18wmf1/includes/media/Bitmap.php
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/REL1_15/phase3/includes/media/Bitmap.php:51646
/branches/new-installer/phase3/includes/media/Bitmap.php:43664-66004
/branches/sqlite/includes/media/Bitmap.php:58211-58321
/branches/wmf-deployment/includes/media/Bitmap.php:53381
/trunk/phase3/includes/media/Bitmap.php:92580,92634,92713,92762,92765,92791,92854,92884,92886-92887,92894,92898,92907,92932,92958,93141,93149,93151,93233-93234,93258,93266,93303,93516-93518,93818-93822,93847,93858,93891,93935-93936,94058,94062,94068,94107,94155,94235,94277,94346,94372,94422,94425,94444,94448,94456,94498,94517,94601,94630,94728,94738,94825,94862,94995-94997,95023,95042,95072-95073,95155,95327,95332,95410,95422,95426,95442,95468,95601,95812,97785


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

Reply via email to