Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -911,11 +911,6 @@ |
912 | 912 | protected function getDescriptionSection() { |
913 | 913 | global $wgUser, $wgOut; |
914 | 914 | |
915 | | - $cols = intval( $wgUser->getOption( 'cols' ) ); |
916 | | - if( $wgUser->getOption( 'editwidth' ) ) { |
917 | | - $wgOut->addInlineStyle( '#mw-htmlform-description { width: 100%; }' ); |
918 | | - } |
919 | | - |
920 | 915 | $descriptor = array( |
921 | 916 | 'DestFile' => array( |
922 | 917 | 'type' => 'text', |
— | — | @@ -934,7 +929,7 @@ |
935 | 930 | 'label-message' => $this->mForReUpload |
936 | 931 | ? 'filereuploadsummary' |
937 | 932 | : 'fileuploadsummary', |
938 | | - 'cols' => $cols, |
| 933 | + 'cols' => intval( $wgUser->getOption( 'cols' ) ), |
939 | 934 | 'rows' => 8, |
940 | 935 | ) |
941 | 936 | ); |