From: Aaron Schulz Date: Wed, 15 Aug 2007 17:54:28 +0000 (+0000) Subject: Use subtitles to make this consistent with delete/protect and the like X-Git-Tag: 1.31.0-rc.0~51758 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ecb18f82909f2ec5bd49d235d9ab756a7f71cab6;p=lhc%2Fweb%2Fwiklou.git Use subtitles to make this consistent with delete/protect and the like --- 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:',