Index: trunk/phase3/includes/SpecialMovepage.php |
— | — | @@ -88,7 +88,6 @@ |
89 | 89 | # Show the current title as a default |
90 | 90 | # when the form is first opened. |
91 | 91 | $newTitle = $oldTitle; |
92 | | - $encNewTitle = htmlspecialchars( $oldTitle ); |
93 | 92 | } else { |
94 | 93 | if( $err == '' ) { |
95 | 94 | $nt = Title::newFromURL( $this->newTitle ); |
— | — | @@ -103,7 +102,6 @@ |
104 | 103 | } |
105 | 104 | } |
106 | 105 | $newTitle = $this->newTitle; |
107 | | - $encNewTitle = htmlspecialchars( $newTitle ); |
108 | 106 | } |
109 | 107 | |
110 | 108 | if ( $err == 'articleexists' && $wgUser->isAllowed( 'delete' ) ) { |
— | — | @@ -166,7 +164,7 @@ |
167 | 165 | Xml::label( wfMsg( 'newtitle' ), 'wpNewTitle' ) . |
168 | 166 | "</td> |
169 | 167 | <td align='$start'>" . |
170 | | - Xml::input( 'wpNewTitle', 40, $this->newTitle, array( 'type' => 'text', 'id' => 'wpNewTitle' ) ) . |
| 168 | + Xml::input( 'wpNewTitle', 40, $newTitle, array( 'type' => 'text', 'id' => 'wpNewTitle' ) ) . |
171 | 169 | Xml::hidden( 'wpOldTitle', $oldTitle ) . |
172 | 170 | "</td> |
173 | 171 | </tr> |