r61146 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61145‎ | r61146 | r61147 >
Date:18:20, 16 January 2010
Author:dale
Status:deferred
Tags:
Comment:
* use hash as file-name ( avoid too long of filename errors )
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/jsScriptLoader.php (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/jsScriptLoader.php
@@ -736,7 +736,7 @@
737737
738738 $hash1 = substr( $hash, 0, 1 );
739739 $hash2 = substr( $hash, 0, 2 );
740 - $this->filename = "{$wgScriptCacheDirectory}/{$hash1}/{$hash2}/{$this->requestKey}.js";
 740+ $this->filename = "{$wgScriptCacheDirectory}/{$hash1}/{$hash2}/{$hash}.js";
741741
742742 // Check for defined files::
743743 if( is_file( $this->filename ) )

Status & tagging log