Use subtitles to make this consistent with delete/protect and the like
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 15 Aug 2007 17:54:28 +0000 (17:54 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 15 Aug 2007 17:54:28 +0000 (17:54 +0000)
includes/FileRevertForm.php
languages/messages/MessagesEn.php

index d72654b..6cb8872 100644 (file)
@@ -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' );
        }
        
index 4957158..bf79d97 100644 (file)
@@ -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'          => "<span class=\"plainlinks\">You are reverting '''[[Media:$1|$1]]''' to the [$4 version as of $2, $3].</span>",
 'filerevert-comment'        => 'Comment:',