From ecb18f82909f2ec5bd49d235d9ab756a7f71cab6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 15 Aug 2007 17:54:28 +0000 Subject: [PATCH] Use subtitles to make this consistent with delete/protect and the like --- includes/FileRevertForm.php | 3 ++- languages/messages/MessagesEn.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/FileRevertForm.php b/includes/FileRevertForm.php index d72654b05a..6cb88725bb 100644 --- a/includes/FileRevertForm.php +++ b/includes/FileRevertForm.php @@ -133,7 +133,8 @@ class FileRevertForm { */ private function setHeaders() { global $wgOut; - $wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) ); + $wgOut->setPageTitle( wfMsg( 'filerevert' ) ); + $wgOut->setSubtitle( wfMsg( 'filerevertsub', $this->title->getPrefixedText() ) ); $wgOut->setRobotPolicy( 'noindex,nofollow' ); } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 495715816e..bf79d97171 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1492,7 +1492,8 @@ If you have this image in full resolution upload this one, otherwise change the 'imagelist_search_for' => 'Search for image name:', # File reversion -'filerevert' => 'Revert $1', +'filerevert' => 'Confirm file revert', +'filerevertsub' => '(Reverting "$1" to previous revision)', 'filerevert-legend' => 'Revert file', 'filerevert-intro' => "You are reverting '''[[Media:$1|$1]]''' to the [$4 version as of $2, $3].", 'filerevert-comment' => 'Comment:', -- 2.20.1