* Rewrote Special:Upload to allow easier extension.
* Upload errors that can be solved by changing the filename now do not require
reuploading.
-* (bug 21047) Wrap "cannotdelete" message into a div with the generic 'error'
- class and a specific 'mw-error-cannotdelete' class
=== Bug fixes in 1.16 ===
$conds = $this->mTitle->pageCond();
$latest = $dbw->selectField( 'page', 'page_latest', $conds, __METHOD__ );
if( $latest === false ) {
- $wgOut->showFatalError(
- Html::rawElement( 'div', array( 'class' => 'error mw-error-cannotdelete' ), wfMsgExt( 'cannotdelete', array( 'parse' ) ) )
- );
+ $wgOut->showFatalError( wfMsgExt( 'cannotdelete', array( 'parse' ) ) );
$wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) );
LogEventsList::showLogExtract(
$wgOut,