dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3af1df
)
Followup r65070, remove last instance of editwidth pref
author
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 2 Nov 2010 21:19:05 +0000
(21:19 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 2 Nov 2010 21:19:05 +0000
(21:19 +0000)
includes/specials/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
cfc93a3
..
066c062
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-911,11
+911,6
@@
class UploadForm extends HTMLForm {
protected function getDescriptionSection() {
global $wgUser, $wgOut;
- $cols = intval( $wgUser->getOption( 'cols' ) );
- if( $wgUser->getOption( 'editwidth' ) ) {
- $wgOut->addInlineStyle( '#mw-htmlform-description { width: 100%; }' );
- }
-
$descriptor = array(
'DestFile' => array(
'type' => 'text',
@@
-934,7
+929,7
@@
class UploadForm extends HTMLForm {
'label-message' => $this->mForReUpload
? 'filereuploadsummary'
: 'fileuploadsummary',
- 'cols' =>
$cols
,
+ 'cols' =>
intval( $wgUser->getOption( 'cols' ) )
,
'rows' => 8,
)
);