From f9b4e34ed3453ac1fcec6ce6d2e812b455ae9219 Mon Sep 17 00:00:00 2001 From: Huji Date: Wed, 20 Feb 2008 07:30:41 +0000 Subject: [PATCH] (bug 13084) Increase size of source/destination filename fields in upload form --- RELEASE-NOTES | 1 + includes/SpecialUpload.php | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 800f8da7f8..f3b0e0d8a1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -397,6 +397,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13005) DISPLAYTITLE does not work on preview * (bug 13004) Fix error on Postgres searches that return too many results. * (bug 10677) Add link to the file description page on the shared repository +* (bug 13084) Increase size of source/destination filename fields in upload form == Parser changes in 1.12 == diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index bdcbc00e71..2f463f9c24 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -1028,7 +1028,7 @@ wgAjaxLicensePreview = {$alp}; "onfocus='" . "toggle_element_activation(\"wpUploadFileURL\",\"wpUploadFile\");" . "toggle_element_check(\"wpSourceTypeFile\",\"wpSourceTypeURL\")'" . - ($this->mDesiredDestName?"":"onchange='fillDestFilename(\"wpUploadFile\")' ") . "size='40' />" . + ($this->mDesiredDestName?"":"onchange='fillDestFilename(\"wpUploadFile\")' ") . "size='60' />" . wfMsgHTML( 'upload_source_file' ) . "
" . "" . @@ -1036,13 +1036,13 @@ wgAjaxLicensePreview = {$alp}; "onfocus='" . "toggle_element_activation(\"wpUploadFile\",\"wpUploadFileURL\");" . "toggle_element_check(\"wpSourceTypeURL\",\"wpSourceTypeFile\")'" . - ($this->mDesiredDestName?"":"onchange='fillDestFilename(\"wpUploadFileURL\")' ") . "size='40' DISABLED />" . + ($this->mDesiredDestName?"":"onchange='fillDestFilename(\"wpUploadFileURL\")' ") . "size='60' DISABLED />" . wfMsgHtml( 'upload_source_url' ) ; } else { $filename_form = "mDesiredDestName?"":"onchange='fillDestFilename(\"wpUploadFile\")' ") . - "size='40' />" . + "size='60' />" . "" ; } if ( $useAjaxDestCheck ) { @@ -1070,7 +1070,7 @@ wgAjaxLicensePreview = {$alp}; - @@ -1117,12 +1117,12 @@ EOT $wgOut->addHTML( " + value=\"$copystatus\" size='60' /> + value=\"$uploadsource\" size='60' /> "); -- 2.20.1