From: Huji Date: Wed, 20 Feb 2008 07:30:41 +0000 (+0000) Subject: (bug 13084) Increase size of source/destination filename fields in upload form X-Git-Tag: 1.31.0-rc.0~49427 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=f9b4e34ed3453ac1fcec6ce6d2e812b455ae9219;p=lhc%2Fweb%2Fwiklou.git (bug 13084) Increase size of source/destination filename fields in upload form --- 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' /> ");