r75880 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75879‎ | r75880 | r75881 >
Date:21:19, 2 November 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r65070, remove last instance of editwidth pref
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -911,11 +911,6 @@
912912 protected function getDescriptionSection() {
913913 global $wgUser, $wgOut;
914914
915 - $cols = intval( $wgUser->getOption( 'cols' ) );
916 - if( $wgUser->getOption( 'editwidth' ) ) {
917 - $wgOut->addInlineStyle( '#mw-htmlform-description { width: 100%; }' );
918 - }
919 -
920915 $descriptor = array(
921916 'DestFile' => array(
922917 'type' => 'text',
@@ -934,7 +929,7 @@
935930 'label-message' => $this->mForReUpload
936931 ? 'filereuploadsummary'
937932 : 'fileuploadsummary',
938 - 'cols' => $cols,
 933+ 'cols' => intval( $wgUser->getOption( 'cols' ) ),
939934 'rows' => 8,
940935 )
941936 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65070Remove the 'editwidth' preference and related code....siebrand18:11, 15 April 2010

Status & tagging log