Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6149
bug_21047_2.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:51 PM
2014-11-21 22:51:05 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
bug_21047_2.patch
View Options
Index: Article.php
===================================================================
--- Article.php (revision 57814)
+++ Article.php (working copy)
@@ -2557,7 +2557,7 @@
$conds = $this->mTitle->pageCond();
$latest = $dbw->selectField( 'page', 'page_latest', $conds, __METHOD__ );
if( $latest === false ) {
- $wgOut->showFatalError( wfMsgExt( 'cannotdelete', array( 'parse' ) ) );
+ $wgOut->showFatalError( '<div id="mw-error-cannotdelete">' . wfMsgExt( 'cannotdelete', array( 'parse' ), $this->mTitle->getPrefixedText() ) . "</div>" );
$wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) );
LogEventsList::showLogExtract(
$wgOut,
@@ -2801,7 +2801,7 @@
}
} else {
if( $error == '' ) {
- $wgOut->showFatalError( wfMsgExt( 'cannotdelete', array( 'parse' ) ) );
+ $wgOut->showFatalError( '<div id="mw-error-cannotdelete">' . wfMsgExt( 'cannotdelete', array( 'parse' ), $this->mTitle->getPrefixedText() ) . "</div>" );
$wgOut->addHTML( Xml::element( 'h2', null, LogPage::logName( 'delete' ) ) );
LogEventsList::showLogExtract(
$wgOut,
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5697
Default Alt Text
bug_21047_2.patch (1 KB)
Attached To
Mode
T23047: Wrap cannotdelete Msg
Attached
Detach File
Event Timeline
Log In to Comment