Incomplete & kinda broken:
This is conflicting between the two forms on the page when transwiki import is available:
1. The transwiki form's comment field isn't filled out at all. Note this is the only one that most Wikipedia admins will see, since upload import is usually disabled...
2. Both forms submit the comment field as 'log-comment' and store it into $this->logcomment, so if it were filled out the same way you'd get the text from whichever one you submitted put into both.
Only the form that actually got submitted and errored out should have its comment field prefilled.
Xml::label( wfMsg( 'import-comment' ), 'mw-import-comment' ) .
"</td>
<td class='mw-input'>" .
- Xml::input( 'log-comment', 50, $this->logcomment,
+ Xml::input( 'log-comment', 50, '',
array( 'id' => 'mw-import-comment', 'type' => 'text' ) ) . ' ' .
"</td>
</tr>