Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1092,7 +1092,7 @@ |
1093 | 1093 | |
1094 | 1094 | $watchChecked = $this->watchCheck() ? 'checked="checked"' : ''; |
1095 | 1095 | # Re-uploads should not need "file exist already" warnings |
1096 | | - $warningChecked = ($this->mIgnoreWarning || $this->mReUpload) ? 'checked' : ''; |
| 1096 | + $warningChecked = ($this->mIgnoreWarning || $this->mReUpload) ? 'checked="checked"' : ''; |
1097 | 1097 | |
1098 | 1098 | // Prepare form for upload or upload/copy |
1099 | 1099 | if( $wgAllowCopyUploads && $wgUser->isAllowed( 'upload_by_url' ) ) { |
— | — | @@ -1234,7 +1234,7 @@ |
1235 | 1235 | <td> |
1236 | 1236 | <input tabindex='7' type='checkbox' name='wpWatchthis' id='wpWatchthis' $watchChecked value='true' /> |
1237 | 1237 | <label for='wpWatchthis'>" . wfMsgHtml( 'watchthisupload' ) . "</label> |
1238 | | - <input tabindex='8' type='checkbox' name='wpIgnoreWarning' id='wpIgnoreWarning' value='true' $warningChecked/> |
| 1238 | + <input tabindex='8' type='checkbox' name='wpIgnoreWarning' id='wpIgnoreWarning' value='true' $warningChecked /> |
1239 | 1239 | <label for='wpIgnoreWarning'>" . wfMsgHtml( 'ignorewarnings' ) . "</label> |
1240 | 1240 | </td> |
1241 | 1241 | </tr> |