http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90745
Revision: 90745
Author: nelson
Date: 2011-06-25 01:19:07 +0000 (Sat, 25 Jun 2011)
Log Message:
-----------
Had trouble distinguishing between these two error messages; the name was a
null string hence the quotes.
Modified Paths:
--------------
trunk/phase3/includes/filerepo/LocalFile.php
Modified: trunk/phase3/includes/filerepo/LocalFile.php
===================================================================
--- trunk/phase3/includes/filerepo/LocalFile.php 2011-06-25 00:09:24 UTC
(rev 90744)
+++ trunk/phase3/includes/filerepo/LocalFile.php 2011-06-25 01:19:07 UTC
(rev 90745)
@@ -2036,14 +2036,14 @@
$bits = explode( '!', $oldName, 2 );
if ( count( $bits ) != 2 ) {
- wfDebug( "Invalid old file name: $oldName \n" );
+ wfDebug( "Old file name missing !: '$oldName'
\n" );
continue;
}
list( $timestamp, $filename ) = $bits;
if ( $this->oldName != $filename ) {
- wfDebug( "Invalid old file name: $oldName \n" );
+ wfDebug( "Old file name doesn't match:
'$oldName' \n" );
continue;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs