r45965 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45964‎ | r45965 | r45966 >
Date:15:50, 21 January 2009
Author:aaron
Status:ok
Tags:
Comment:
XHTML
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -1092,7 +1092,7 @@
10931093
10941094 $watchChecked = $this->watchCheck() ? 'checked="checked"' : '';
10951095 # Re-uploads should not need "file exist already" warnings
1096 - $warningChecked = ($this->mIgnoreWarning || $this->mReUpload) ? 'checked' : '';
 1096+ $warningChecked = ($this->mIgnoreWarning || $this->mReUpload) ? 'checked="checked"' : '';
10971097
10981098 // Prepare form for upload or upload/copy
10991099 if( $wgAllowCopyUploads && $wgUser->isAllowed( 'upload_by_url' ) ) {
@@ -1234,7 +1234,7 @@
12351235 <td>
12361236 <input tabindex='7' type='checkbox' name='wpWatchthis' id='wpWatchthis' $watchChecked value='true' />
12371237 <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 />
12391239 <label for='wpIgnoreWarning'>" . wfMsgHtml( 'ignorewarnings' ) . "</label>
12401240 </td>
12411241 </tr>

Status & tagging log