From a0cb7db00e6a8fc3c07505814cc114a40dcd4d61 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 11 Dec 2007 16:45:28 +0000 Subject: [PATCH] * Set proper page title for successful file deletion --- RELEASE-NOTES | 1 + includes/FileDeleteForm.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6c11ef2d7a..c585c9257d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -234,6 +234,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN apostrophes). * (bug 12145) Add localized names of kk-variants * (bug 12259) Localize the numbers in deleted pages on the sysop view +* Set proper page title for successful file deletion == Parser changes in 1.12 == diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 813d72b8f6..24586d4e89 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -85,6 +85,7 @@ class FileDeleteForm { if( !$status->isGood() ) $wgOut->addWikiText( $status->getWikiText( 'filedeleteerror-short', 'filedeleteerror-long' ) ); if( $status->ok ) { + $wgOut->setPagetitle( wfMsg( 'actioncomplete' ) ); $wgOut->addHtml( $this->prepareMessage( 'filedelete-success' ) ); // Return to the main page if we just deleted all versions of the // file, otherwise go back to the description page -- 2.20.1