$title = Title::makeTitleSafe( NS_FILE, $base );
if ( !is_object( $title ) ) {
$this->output(
- "{$base} could not be imported; a valid title cannot be produced\n" );
+ "{$base} could not be imported; a valid title cannot be produced\n"
+ );
continue;
}
if ( $dupes ) {
$this->output(
- "{$base} already exists as {$dupes[0]->getName()}, skipping\n" );
+ "{$base} already exists as {$dupes[0]->getName()}, skipping\n"
+ );
$skipped++;
continue;
}
if ( $wgUser === false ) {
# user does not exist in target wiki
$this->output(
- "failed: user '$real_user' does not exist in target wiki." );
+ "failed: user '$real_user' does not exist in target wiki."
+ );
continue;
}
}
$commentText = file_get_contents( $f );
if ( !$commentText ) {
$this->output(
- " Failed to load comment file {$f}, using default comment. " );
+ " Failed to load comment file {$f}, using default comment. "
+ );
}
}
}