Regression originating from the UploadForm rewrite; going to mark for 1.16
* Brent G
* Brianna Laugher
* Carlin
* Brent G
* Brianna Laugher
* Carlin
* Conrad Irwin
* Dan Barrett
* Dan Nessett
* Conrad Irwin
* Dan Barrett
* Dan Nessett
* Show "skin does not exist error" only when the skin is inputted in the wrong
case.
* (bug 26164) Potential html injection when the database server isn't available
* Show "skin does not exist error" only when the skin is inputted in the wrong
case.
* (bug 26164) Potential html injection when the database server isn't available
+* (bug 26160) Upload description set by extensions are not propagated
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
'hideignorewarning' => $hideIgnoreWarning,
'destwarningack' => (bool)$this->mDestWarningAck,
'hideignorewarning' => $hideIgnoreWarning,
'destwarningack' => (bool)$this->mDestWarningAck,
+ 'description' => $this->mComment,
'texttop' => $this->uploadFormTextTop,
'textaftersummary' => $this->uploadFormTextAfterSummary,
'destfile' => $this->mDesiredDestName,
'texttop' => $this->uploadFormTextTop,
'textaftersummary' => $this->uploadFormTextAfterSummary,
'destfile' => $this->mDesiredDestName,
protected $mDestWarningAck;
protected $mDestFile;
protected $mDestWarningAck;
protected $mDestFile;
protected $mTextTop;
protected $mTextAfterSummary;
protected $mTextTop;
protected $mTextAfterSummary;
$this->mDestWarningAck = !empty( $options['destwarningack'] );
$this->mDestFile = isset( $options['destfile'] ) ? $options['destfile'] : '';
$this->mDestWarningAck = !empty( $options['destwarningack'] );
$this->mDestFile = isset( $options['destfile'] ) ? $options['destfile'] : '';
+ $this->mComment = isset( $options['description'] ) ?
+ $options['description'] : '';
+
$this->mTextTop = isset( $options['texttop'] )
? $options['texttop'] : '';
$this->mTextTop = isset( $options['texttop'] )
? $options['texttop'] : '';
'label-message' => $this->mForReUpload
? 'filereuploadsummary'
: 'fileuploadsummary',
'label-message' => $this->mForReUpload
? 'filereuploadsummary'
: 'fileuploadsummary',
+ 'default' => $this->mComment,
'cols' => intval( $wgUser->getOption( 'cols' ) ),
'rows' => 8,
)
'cols' => intval( $wgUser->getOption( 'cols' ) ),
'rows' => 8,
)