From: Rob Church Date: Wed, 15 Aug 2007 19:15:41 +0000 (+0000) Subject: Reverting r24829; using subtitles leads to an unclear UI, and is a practice that... X-Git-Tag: 1.31.0-rc.0~51756 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=6e9b0a010300d8e0f266ace47b9a980a07562fe8;p=lhc%2Fweb%2Fwiklou.git Reverting r24829; using subtitles leads to an unclear UI, and is a practice that ought to be deprecated --- diff --git a/includes/FileRevertForm.php b/includes/FileRevertForm.php index 6cb88725bb..d72654b05a 100644 --- a/includes/FileRevertForm.php +++ b/includes/FileRevertForm.php @@ -133,8 +133,7 @@ class FileRevertForm { */ private function setHeaders() { global $wgOut; - $wgOut->setPageTitle( wfMsg( 'filerevert' ) ); - $wgOut->setSubtitle( wfMsg( 'filerevertsub', $this->title->getPrefixedText() ) ); + $wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) ); $wgOut->setRobotPolicy( 'noindex,nofollow' ); } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index bf79d97171..495715816e 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1492,8 +1492,7 @@ If you have this image in full resolution upload this one, otherwise change the 'imagelist_search_for' => 'Search for image name:', # File reversion -'filerevert' => 'Confirm file revert', -'filerevertsub' => '(Reverting "$1" to previous revision)', +'filerevert' => 'Revert $1', 'filerevert-legend' => 'Revert file', 'filerevert-intro' => "You are reverting '''[[Media:$1|$1]]''' to the [$4 version as of $2, $3].", 'filerevert-comment' => 'Comment:',