r77568 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77567‎ | r77568 | r77569 >
Date:09:37, 2 December 2010
Author:ialex
Status:deferred
Tags:
Comment:
FileRepo stuff no longer uses WikiError since ages
Modified paths:
  • /trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php
@@ -1101,7 +1101,7 @@
11021102 $image = wfLocalFile( $imgTitle );
11031103
11041104 $archive = $image->publish( $local_file );
1105 - if ( WikiError :: isError( $archive ) ) {
 1105+ if ( !$archive->isGood() ) {
11061106 echo ( "failed.\n" );
11071107 continue;
11081108 }

Status & tagging log