Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1035,7 +1035,10 @@ |
1036 | 1036 | $scriptVars = array( |
1037 | 1037 | 'wgAjaxUploadDestCheck' => $useAjaxDestCheck, |
1038 | 1038 | 'wgAjaxLicensePreview' => $useAjaxLicensePreview, |
1039 | | - 'wgUploadAutoFill' => !$this->mForReUpload, |
| 1039 | + 'wgUploadAutoFill' => !$this->mForReUpload && |
| 1040 | + // If we received mDestFile from the request, don't autofill |
| 1041 | + // the wpDestFile textbox |
| 1042 | + $this->mDestFile === '', |
1040 | 1043 | 'wgUploadSourceIds' => $this->mSourceIds, |
1041 | 1044 | ); |
1042 | 1045 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -200,6 +200,8 @@ |
201 | 201 | * (bug 16356) Repair dumpInterwiki.inc to use proper normalization. |
202 | 202 | * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws |
203 | 203 | a fatal error |
| 204 | +* (bug 23465) Don't ignore the predefined destination filename on |
| 205 | + Special:Upload after following a red link |
204 | 206 | |
205 | 207 | === API changes in 1.17 === |
206 | 208 | * (bug 22738) Allow filtering by action type on query=logevent. |