Nothing clumsy about it in the first place; having the file name in the title is...
authorRob Church <robchurch@users.mediawiki.org>
Wed, 8 Aug 2007 19:52:02 +0000 (19:52 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Wed, 8 Aug 2007 19:52:02 +0000 (19:52 +0000)
includes/FileRevertForm.php
languages/messages/MessagesEn.php

index 24dfdad..d72654b 100644 (file)
@@ -133,7 +133,7 @@ class FileRevertForm {
         */
        private function setHeaders() {
                global $wgOut;
-               $wgOut->setPageTitle( wfMsg( 'filerevert' ) );
+               $wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) );
                $wgOut->setRobotPolicy( 'noindex,nofollow' );
        }
        
index bb4cf13..fa603e4 100644 (file)
@@ -1483,7 +1483,7 @@ If you have this image in full resolution upload this one, otherwise change the
 
 # File reversion
 'filerevert'                => 'Revert $1',
-'filerevert-legend'         => 'Confirm file revert',
+'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:',
 'filerevert-defaultcomment' => 'Reverted to version as of $1, $2',