Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2213
bug3131-b.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:45 PM
2014-11-21 20:45:04 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
bug3131-b.patch
View Options
Index: includes/SpecialUpload.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialUpload.php,v
retrieving revision 1.75
diff -U5 -r1.75 SpecialUpload.php
--- includes/SpecialUpload.php 22 Jul 2005 00:06:13 -0000 1.75
+++ includes/SpecialUpload.php 13 Aug 2005 11:05:10 -0000
@@ -556,11 +556,11 @@
$wgOut->addHTML( "
<form id='upload' method='post' enctype='multipart/form-data' action=\"$action\">
<table border='0'><tr>
<td align='right'>{$sourcefilename}:</td><td align='left'>
- <input tabindex='1' type='file' name='wpUploadFile' id='wpUploadFile' onchange='fillDestFilename()' size='40' />
+ <input tabindex='1' type='file' name='wpUploadFile' id='wpUploadFile' " . ($this->mDestFile?"":"onchange='fillDestFilename()' ") . "size='40' />
</td></tr><tr>
<td align='right'>{$destfilename}:</td><td align='left'>
<input tabindex='1' type='text' name='wpDestFile' id='wpDestFile' size='40' value=\"$encDestFile\" />
</td></tr><tr>
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1790
Default Alt Text
bug3131-b.patch (1 KB)
Attached To
Mode
T5131: Automatically filling destination filename breaks "Upload new version"
Attached
Detach File
Event Timeline
Log In to Comment