(bug 16793) text entered into the log entry should remain when an error is returned
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Jan 2009 20:25:46 +0000 (20:25 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Jan 2009 20:25:46 +0000 (20:25 +0000)
includes/specials/SpecialImport.php

index 5e1a653..d081214 100644 (file)
@@ -158,7 +158,7 @@ class SpecialImport extends SpecialPage {
                                                Xml::label( wfMsg( 'import-comment' ), 'mw-import-comment' ) .
                                        "</td>
                                        <td class='mw-input'>" .
-                                               Xml::input( 'log-comment', 50, '',
+                                               Xml::input( 'log-comment', 50, $this->logcomment,
                                                        array( 'id' => 'mw-import-comment', 'type' => 'text' ) ) . ' ' .
                                        "</td>
                                </tr>